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

Moderator: Rathinagiri

Post Reply
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post by Rathinagiri »

For the latest version please download from here.

Dear friends,

I have fixed some major bugs ( especially in LandScape mode and Center/Right alignment )

I have added Grid Printing sample in a separate file. Hope it will be useful.

Now, I am ready to add a GridToolBar (which can be attached to any grid) with four functionalities: :)

1. Grid to Text file
2. Grid to CSV file
3. Grid to Print Directly
4. Grid to PDF export.
pdf.zip
(264.32 KiB) Downloaded 1645 times
GridPDF.zip
(111.13 KiB) Downloaded 1631 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 »

Very good news,

Thanks a lot Diamond :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 »

esgici wrote:Very good news,

Thanks a lot Diamond :D

Best regards
Dear Rathi,

You are really Diamond
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 »

Excellent job!

But when creating a sample, paragraph which has to be center aligned was not in the middle of page, and paragraph right aligned was on the left side...
What's going on?
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 »

Hi Marek,

Can you please give the exact command you have entered?
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 »

It is really not a mistake/bug. :)

Please see the commands for these output.

@ 10, 60 HPDFPRINT 'This is sample Left Aligned'
@ 20, 60 HPDFPRINT 'This is sample Center Aligned' CENTER
@ 25, 60 HPDFPRINT 'This is sample Right Aligned' RIGHT

Note the column coordinate. It starts at 60. So, the text is left/center/right aligned to 60 MM. See this image:
60mm.jpg
60mm.jpg (58.45 KiB) Viewed 15334 times
For true alignment, You can check,

@ 10, 10 HPDFPRINT 'This is sample Left Aligned'
@ 20, 105 HPDFPRINT 'This is sample Center Aligned' CENTER
@ 25, 210 HPDFPRINT 'This is sample Right Aligned' RIGHT
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 »

You can check differently

@ 10, 105 HPDFPRINT 'This is sample Left Aligned'
@ 20, 105 HPDFPRINT 'This is sample Center Aligned' CENTER
@ 25, 105 HPDFPRINT 'This is sample Right Aligned' RIGHT
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 »

rathinagiri wrote:It is really not a mistake/bug. :)

Please see the commands for these output.

@ 10, 60 HPDFPRINT 'This is sample Left Aligned'
@ 20, 60 HPDFPRINT 'This is sample Center Aligned' CENTER
@ 25, 60 HPDFPRINT 'This is sample Right Aligned' RIGHT

Note the column coordinate. It starts at 60. So, the text is left/center/right aligned to 60 MM. See this image:
60mm.jpg
For true alignment, You can check,

@ 10, 10 HPDFPRINT 'This is sample Left Aligned'
@ 20, 105 HPDFPRINT 'This is sample Center Aligned' CENTER
@ 25, 210 HPDFPRINT 'This is sample Right Aligned' RIGHT
:lol: :lol: :lol:

I apologize for my carelessness

regards, Marek
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 »

Oh. No need to apologize Marek. It helped me to double check.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply