HPDFPRINT UNICODE
Moderator: Rathinagiri
HPDFPRINT UNICODE
Hi,
again i have a problem. I am using unicode version of HMG and when i use HPDFPRINT UNICODE statement, printout is not sharp. I enclose a sample.
What am I doing wrong?
Best regards,
Drago
again i have a problem. I am using unicode version of HMG and when i use HPDFPRINT UNICODE statement, printout is not sharp. I enclose a sample.
What am I doing wrong?
Best regards,
Drago
- Attachments
-
- Racun.PNG (124.53 KiB) Viewed 4405 times
Re: HPDFPRINT UNICODE
Hi Drago,
Nothing wrong, just look at: http://www.hmgforum.com/viewtopic.php?f=24&t=5393
Re: HPDFPRINT UNICODE
I tried
_HMG_HPDF_MULTILINE_PRINT_UNICODE ( _vr-1, _co+119, _vr+35, _co+196, 'Verdana', 7, , UPPER(ls_firma), , , , , , , , )
instead commented line and output is the same.
//@_vr, _co+120 HPDFPRINT UNICODE UPPER(ls_firma) TO _vr+4,_co+194 font 'Verdana' size 7
_HMG_HPDF_MULTILINE_PRINT_UNICODE ( _vr-1, _co+119, _vr+35, _co+196, 'Verdana', 7, , UPPER(ls_firma), , , , , , , , )
instead commented line and output is the same.
//@_vr, _co+120 HPDFPRINT UNICODE UPPER(ls_firma) TO _vr+4,_co+194 font 'Verdana' size 7
Re: HPDFPRINT UNICODE
In fact, the UNICODE text in HPDF is a graphic.
See function _HMG_HPDF_MULTILINE_PRINT_UNICODE() in the source "h_HMG_HPDF_UNICODE.PRG"
See function _HMG_HPDF_MULTILINE_PRINT_UNICODE() in the source "h_HMG_HPDF_UNICODE.PRG"
Re: HPDFPRINT UNICODE
Thank you very much fot your help edk. As I understand there is no solution print output is as it is.
Re: HPDFPRINT UNICODE
Maybe by better DPI of bitmap with Unicode text
Can't You convert yours strings from Unicode to Ansi windows-1250 for hpdf?
Can't You convert yours strings from Unicode to Ansi windows-1250 for hpdf?
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HPDFPRINT UNICODE
Many complex language scripts can't be converted to ANSI.
When I have tried, unicode HaruPDF was not working. I think we can give another try!
When I have tried, unicode HaruPDF was not working. I think we can give another try!
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: HPDFPRINT UNICODE
This looks good to you, I did not manage to make a display of letters with the accents of ŠĐŽĆČ, so I gave up
but creating a print and using some print-to-pdf program works great
but creating a print and using some print-to-pdf program works great
Re: HPDFPRINT UNICODE
You're right, but Drago probably creates a PDF in Slovenian. Can easily use ANSI encoding.Rathinagiri wrote: ↑Fri Dec 08, 2017 4:17 am Many complex language scripts can't be converted to ANSI.
I checked the PDF in Serbian and in fact there is a problem with ANSI in this language. But what I noticed, Serbian has a similar alphabet to Slovenian and using Slovenian coding I managed to correctly create a PDF with the Serbian alphabet.dragancesu wrote: ↑Fri Dec 08, 2017 7:24 am This looks good to you, I did not manage to make a display of letters with the accents of ŠĐŽĆČ, so I gave up
but creating a print and using some print-to-pdf program works great
- Attachments
-
- Serbian_and_Slovenian.7z
- (1.06 MiB) Downloaded 232 times
Re: HPDFPRINT UNICODE
I can convert my application to WIN-1250 CODEPAGE and then i can use HPDFPRINT without UNICODE. But that means also correcting all strings in the code (like msginfo) and also all the data. I think this is the only solution since all dosc states that haru pdf is fixed to 72 dots per inch.
Many thanks to all of you for your participation. Maybe this is the thing to consider if HMG is still uder development.
Refards to all,
Drago
Many thanks to all of you for your participation. Maybe this is the thing to consider if HMG is still uder development.
Refards to all,
Drago