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

Moderator: Rathinagiri

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

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

Post by esgici » Wed Oct 03, 2012 1:09 am

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 :)

HPdfDemo02.PNG
Screen shoot of .pdf file produced by HPdfDemo02
HPdfDemo02.PNG (176.08 KiB) Viewed 2979 times
HPdfDemo02.zip
Source and test tables of HPdfDemo02
(198.02 KiB) Downloaded 296 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: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Wed Oct 03, 2012 4:01 am

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: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Wed Oct 03, 2012 4:03 am

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: 1074
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 196 times
Been thanked: 95 times

Post by bpd2000 » Wed Oct 03, 2012 5:04 am

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: 3195
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 214 times
Been thanked: 120 times
Contact:

Post by mol » Wed Oct 03, 2012 5:19 am

It's really looks amazing!
I'll adapt it in my billing system with e-mailing invoices.
Many thanks!

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

Post by esgici » Wed Oct 03, 2012 9:05 am

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 :( )
clickAble.PNG
URL is clickable !
clickAble.PNG (100.05 KiB) Viewed 2959 times
Regards
Viva INTERNATIONAL HMG :D

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

Post by esgici » Wed Oct 03, 2012 9:10 am

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: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Wed Oct 03, 2012 11:07 am

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 289 times
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

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

Post by esgici » Wed Oct 03, 2012 11:40 am

Thanks a lot Rathi :D

Best regards
Viva INTERNATIONAL HMG :D

User avatar
bpd2000
Posts: 1074
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 196 times
Been thanked: 95 times

Post by bpd2000 » Wed Oct 03, 2012 12:48 pm

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

Post Reply