HMG_HPDF - Export to PDF made easy... (New Version)
Moderator: Rathinagiri
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Hi All !
.
.
.
Project to use hbHPdf and hbZebra in any Harbour app ( Lib/OS agnostic )...
.
Sources at:
.
http://www.pctoledo.com.br/forum/viewto ... =4&t=13571
.
.
.
Best regards...
.
.
.
.
.
.
Project to use hbHPdf and hbZebra in any Harbour app ( Lib/OS agnostic )...
.
Sources at:
.
http://www.pctoledo.com.br/forum/viewto ... =4&t=13571
.
.
.
Best regards...
.
.
.
- Attachments
-
- A real documment using hbHPdf and hbZebra...
- Capturar.PNG (115.88 KiB) Viewed 5834 times
M., Ronaldo
By: IMATECH
Imation Tecnologia
By: IMATECH
Imation Tecnologia
- Rathinagiri
- Posts: 5482
- 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)
HMG_HPDF with a small feature once again.
This time it is SET HPDFPAGE LINESPACING TO nSpacing.
This is useful to alter the linespacing between the lines printed using @..HPDFPRINT..TO command.
I have created a small documentation for HMG_HPDF using HMG_HPDF.
It will be acting as a better sample for HMG_HPDF since it almost uses all the commands of HMG_HPDF.
Hope this will be useful.
This time it is SET HPDFPAGE LINESPACING TO nSpacing.
This is useful to alter the linespacing between the lines printed using @..HPDFPRINT..TO command.
I have created a small documentation for HMG_HPDF using HMG_HPDF.
It will be acting as a better sample for HMG_HPDF since it almost uses all the commands of HMG_HPDF.
Hope this will be useful.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- 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)
Superrathinagiri wrote:I have created a small documentation for HMG_HPDF using HMG_HPDF.
Thanks
TIA
Viva INTERNATIONAL HMG 
- Rathinagiri
- Posts: 5482
- 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)
Oh, you have replied so soon! I have changed the file to a newer version. Please download the latest one.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Rathinagiri
- Posts: 5482
- 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)
Thank you. I think it will be very useful.Chacal.GO wrote:Hi All !
.
.
.
Project to use hbHPdf and hbZebra in any Harbour app ( Lib/OS agnostic )...
.
Sources at:
.
http://www.pctoledo.com.br/forum/viewto ... =4&t=13571
.
.
.
Best regards...
.
.
.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- 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)
I'm confusedrathinagiri wrote:HMG_HPDF with a small feature once again.
This time it is SET HPDFPAGE LINESPACING TO nSpacing.
This is useful to alter the linespacing between the lines printed using @..HPDFPRINT..TO command.
Does line-spacing determined by <nRow> value of @ ... command ?
If we have 'print' without @ ... command; between such commands :
HPDF_PRINT BEGIN TEXT
.
HPDF_PRINT PRINT ...
.
HPDF_PRINT END TEXT
this will be super
Best regards
Viva INTERNATIONAL HMG 
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Thanks Rathi... 
M., Ronaldo
By: IMATECH
Imation Tecnologia
By: IMATECH
Imation Tecnologia
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Thank you Rathi for providing HMG_HPDF Manual using HMG_HPDF library, Excellantrathinagiri wrote:HMG_HPDF with a small feature once again.
I have created a small documentation for HMG_HPDF using HMG_HPDF
[/attachment]
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Is it possible to set liespacing in normal printing?rathinagiri wrote:HMG_HPDF with a small feature once again.
This time it is SET HPDFPAGE LINESPACING TO nSpacing.
This is useful to alter the linespacing between the lines printed using @..HPDFPRINT..TO command.
I have created a small documentation for HMG_HPDF using HMG_HPDF.
It will be acting as a better sample for HMG_HPDF since it almost uses all the commands of HMG_HPDF.
Hope this will be useful.
Marek
- Rathinagiri
- Posts: 5482
- 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)
IMHO, it is. Since all the printing is done using @ row, col we can fix the line spacing as we require. Isn't it?Is it possible to set liespacing in normal printing?
Please consider this:
Code: Select all
....
nLineSpacing := 5 // line spacing is 5 mm
nFirstRow := 10 // first row starts at 10 mm
nLastRow := 280 // last row is set at 280 mm
nCurrentRow := nFirstRow
lReportContinue := .t.
do while lReportContinue
@ nCurrentRow, 10 HPDFPRINT cData
nCurrentRow := nCurrentRow + nLineSpacing
cData := CurrentRecord()
if LastRecord()
lReportContinue := .f.
endif
if nCurrentRow > nLastRow
END HPDFPAGE
START HPDFPAGE
nCurrentRow := nFirstRow
endif
enddo
.....
Hi Esgici,Does line-spacing determined by <nRow> value of @ ... command ?
If we have 'print' without @ ... command; between such commands :
HPDF_PRINT BEGIN TEXT
.
HPDF_PRINT PRINT ...
.
HPDF_PRINT END TEXT
I can't fully understand your proposition. Can you please explain using a small sample/template program as to how do you want?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.