Page 2 of 16

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

Posted: Wed Oct 03, 2012 1:09 am
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 6876 times
HPdfDemo02.zip
Source and test tables of HPdfDemo02
(198.02 KiB) Downloaded 508 times
Viva HMG, viva Roberto Lopez, viva Sri Rathinagiri !

Happy HMG'ing :D

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

Posted: Wed Oct 03, 2012 4:01 am
by Rathinagiri
Super Esgici. It is a nice demo for tabulation. I wondered about the web site link being clickable in PDF. :)

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

Posted: Wed Oct 03, 2012 4:03 am
by Rathinagiri
Now, if the commands are stable, we can further extend with many options.

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

Posted: Wed Oct 03, 2012 5:04 am
by bpd2000
rathinagiri wrote:Now, if the commands are stable, we can further extend with many options.
I have tested right now go further

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

Posted: Wed Oct 03, 2012 5:19 am
by mol
It's really looks amazing!
I'll adapt it in my billing system with e-mailing invoices.
Many thanks!

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

Posted: Wed Oct 03, 2012 9:05 am
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 6856 times
Regards

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

Posted: Wed Oct 03, 2012 9:10 am
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

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

Posted: Wed Oct 03, 2012 11:07 am
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 513 times

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

Posted: Wed Oct 03, 2012 11:40 am
by esgici
Thanks a lot Rathi :D

Best regards

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

Posted: Wed Oct 03, 2012 12:48 pm
by bpd2000
Working fine
Move this to "Recent popular topics"