HMG_HPDF - Export to PDF made easy... (New Version)

Moderator: Rathinagiri

User avatar
bpd2000
Posts: 1144
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 243 times
Been thanked: 139 times

Re: HMG_HPDF - Export to PDF made easy... (New Version)

Post by bpd2000 »

esgici wrote:Hi Dave
bpd2000 wrote:...following commands...
Apparently you are a good researcher :arrow:

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
BPD
Convert Dream into Reality through HMG

User avatar
mol
Posts: 3359
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 256 times
Been thanked: 163 times
Contact:

Post 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 :(

User avatar
esgici
Posts: 4529
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 406 times
Been thanked: 115 times
Contact:

Post by esgici »

bpd2000 wrote:... I will do it after completion of pdf lib
Thanks Dave :)

Regards
Viva INTERNATIONAL HMG :D

User avatar
esgici
Posts: 4529
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 406 times
Been thanked: 115 times
Contact:

Post by esgici »

mol wrote:...Polish national characters work bad in the sample :(
Ours too :(

Regards
Viva INTERNATIONAL HMG :D

User avatar
bpd2000
Posts: 1144
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 243 times
Been thanked: 139 times

Post 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
Last edited by bpd2000 on Fri Oct 05, 2012 12:14 pm, edited 1 time in total.
BPD
Convert Dream into Reality through HMG

User avatar
Rathinagiri
Posts: 5300
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 184 times
Been thanked: 202 times
Contact:

Post by Rathinagiri »

Thanks for the help!

Will it print to the default printer?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Rathinagiri
Posts: 5300
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 184 times
Been thanked: 202 times
Contact:

Post by Rathinagiri »

Hi,

I am uploading with the new version:
pdf.zip
(1.61 MiB) Downloaded 211 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
encode.jpg (108.75 KiB) Viewed 2938 times
Kindly check and tell as I am not well versed with these encodings.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
esgici
Posts: 4529
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 406 times
Been thanked: 115 times
Contact:

Post 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
Test result of HPDFDOC SET ENCODING command
HPdfEncodingResult.PNG (9.57 KiB) Viewed 2921 times
My test code is:
Test code for HPDFDOC SET ENCODING command
Test code for HPDFDOC SET ENCODING command
HPdfEncodingCode.PNG (10.77 KiB) Viewed 2921 times
Thanks a lot Mr. Diamond :D

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
Viva INTERNATIONAL HMG :D

User avatar
mol
Posts: 3359
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 256 times
Been thanked: 163 times
Contact:

Post by mol »

It's really super news!
Thanks Rathi for your excellent work!

User avatar
Rathinagiri
Posts: 5300
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 184 times
Been thanked: 202 times
Contact:

Post 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? :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply