Page 4 of 16
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Fri Oct 05, 2012 3:39 am
by bpd2000
esgici wrote:Hi Dave
bpd2000 wrote:...following commands...
Apparently you are a good researcher
So you can build a good documentation ( user guide ) for HMG_HPDF, I think
Regards
Wait, I will do it after completion of pdf lib
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Fri Oct 05, 2012 5:29 am
by mol
esgici wrote:Hi
IMHO it's time to introduce
national characters subject
Regards
You're right.
Polish national characters work bad in the sample

Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Fri Oct 05, 2012 6:37 am
by esgici
bpd2000 wrote:... I will do it after completion of pdf lib
Thanks Dave
Regards
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Fri Oct 05, 2012 6:40 am
by esgici
mol wrote:...Polish national characters work bad in the sample

Ours too
Regards
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Fri Oct 05, 2012 11:30 am
by bpd2000
Instead of viewing PDF file, you can print PDF file directly to default printer
Replace following command
"execute file 'sample.pdf'"
with
"SHELLEXECUTE( 0, "print" ,'sample.pdf')"
Enjoy
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Fri Oct 05, 2012 12:04 pm
by Rathinagiri
Thanks for the help!
Will it print to the default printer?
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Fri Oct 05, 2012 1:57 pm
by Rathinagiri
Hi,
I am uploading with the new version:
- pdf.zip
- (1.61 MiB) Downloaded 406 times
In this version we can encode the pdf with different character encodings:
The command is:
SET HPDFDOC ENCODING TO <cEncoding>
Example: SET HPDFDOC ENCODING TO "CP1254"
These are all the possible encoding options: (from the LibHaru Documentation)

- encode.jpg (108.75 KiB) Viewed 7188 times
Kindly check and tell as I am not well versed with these encodings.
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Fri Oct 05, 2012 5:11 pm
by esgici
rathinagiri wrote:...Kindly check and tell as I am not well versed with these encodings.
Checked for my own language; result is perfect as always

- Test result of HPDFDOC SET ENCODING command
- HPdfEncodingResult.PNG (9.57 KiB) Viewed 7171 times
My test code is:

- Test code for HPDFDOC SET ENCODING command
- HPdfEncodingCode.PNG (10.77 KiB) Viewed 7171 times
Thanks a lot Mr. Diamond
By the way, my friend Rathi, if you offended by my 3 Oct dated post ( about exception error ), please excuse me, at that time I was in a deep panic
Thanks again for your invaluable efforts for us
Best regards
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Fri Oct 05, 2012 7:36 pm
by mol
It's really super news!
Thanks Rathi for your excellent work!
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Sat Oct 06, 2012 1:55 am
by Rathinagiri
By the way, my friend Rathi, if you offended by my 3 Oct dated post ( about exception error ), please excuse me, at that time I was in a deep panic

No way I will get offended Esgici. It is all for the betterment of the code. Isn't it?
