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

Moderator: Rathinagiri

User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

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

Post by esgici »

Hi All

An exercise to build a bill as a .pdf file by using new feature of HMG : HMG_HPDF

Thanks to our Diamond for providing us such great possibility :)

Screen shoot of .pdf file produced by HPdfDemo02
Screen shoot of .pdf file produced by HPdfDemo02
HPdfDemo02.PNG (176.08 KiB) Viewed 6794 times
HPdfDemo02.zip
Source and test tables of HPdfDemo02
(198.02 KiB) Downloaded 503 times
Viva HMG, viva Roberto Lopez, viva Sri Rathinagiri !

Happy HMG'ing :D
Last edited by esgici on Thu Oct 25, 2012 1:20 pm, edited 2 times in total.
Viva INTERNATIONAL HMG :D
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post by Rathinagiri »

Super Esgici. It is a nice demo for tabulation. I wondered about the web site link being clickable in PDF. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post by Rathinagiri »

Now, if the commands are stable, we can further extend with many options.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

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

Post by bpd2000 »

rathinagiri wrote:Now, if the commands are stable, we can further extend with many options.
I have tested right now go further
BPD
Convert Dream into Reality through HMG
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

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

Post by mol »

It's really looks amazing!
I'll adapt it in my billing system with e-mailing invoices.
Many thanks!
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

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

Post by esgici »

Hi Rathi
rathinagiri wrote:...I wondered about the web site link being clickable in PDF. :)
Already it is : :shock:

( Adobe Reader X Version : 10.1.4 )

( Everything is automatic now :( )
URL is clickable !
URL is clickable !
clickAble.PNG (100.05 KiB) Viewed 6774 times
Regards
Viva INTERNATIONAL HMG :D
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

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

Post by esgici »

Hi Rathi
rathinagiri wrote:Now, if the commands are stable, we can further extend with many options.
IMO yes, commands are stable :)

( Of course all variations not tested; used only necessaries. )

Have you a list of new options ?

Regards
Viva INTERNATIONAL HMG :D
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post by Rathinagiri »

Here I am uploading again a NEW version of HMG_HPDF:

This version includes the following new commands/enhancements:

1. SET HPDFDOC COMPRESS ALL|NONE|IMAGE|TEXT|METADATA

2. SET HPDFDOC PASSWORD OWNER cOwnerPassword [USER cUserPassword ] // Note: If you invoke this command, the owner password can not be Nil, 0 length string.

3. @ <Row> , <Col> HPDFPRINT CIRCLE RADIUS <nRadius> [ PENWIDTH <Width> ] [ COLOR <aColor> ] [ FILLED ]

4. @ <Row> , <Col> HPDFPRINT ELLIPSE HORIZONTAL RADIUS <nHRadius> VERTICAL RADIUS <nVRadius> [ PENWIDTH <Width> ] [ COLOR <aColor> ] [ FILLED ]

5. @ <Row> , <Col> HPDFPRINT ARC RADIUS <nRadius> ANGLE FROM <nFromAngle> TO <nToAngle> [ PENWIDTH <Width> ] [ COLOR <aColor> ]

6. @ <Row> , <Col> HPDFPRINT CURVE FROM <nFromRow>, <nFromCol> TO <ToRow> , <ToCol> [ PENWIDTH <Width> ] [ COLOR <aColor> ]


In the sample, I have tried to draw a Rounded Rectangle using Lines and Curves. So, my next enhancement will be RoundedRectangle of user given parameters.

Enjoy!
pdf.zip
(268.37 KiB) Downloaded 505 times
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

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

Post by esgici »

Thanks a lot Rathi :D

Best regards
Viva INTERNATIONAL HMG :D
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

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

Post by bpd2000 »

Working fine
Move this to "Recent popular topics"
BPD
Convert Dream into Reality through HMG
Post Reply