Page 8 of 16
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Tue Oct 09, 2012 5:12 pm
by IMATECH
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...
.
.
.
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Tue Oct 09, 2012 6:43 pm
by Rathinagiri
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.
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Tue Oct 09, 2012 7:03 pm
by esgici
rathinagiri wrote:I have created a small documentation for HMG_HPDF using HMG_HPDF.
Super
Thanks
TIA
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Tue Oct 09, 2012 7:13 pm
by Rathinagiri
Oh, you have replied so soon! I have changed the file to a newer version. Please download the latest one.
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Tue Oct 09, 2012 7:23 pm
by Rathinagiri
Thank you. I think it will be very useful.
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Tue Oct 09, 2012 8:41 pm
by esgici
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'm confused
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
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Tue Oct 09, 2012 9:18 pm
by IMATECH
Thanks Rathi...

Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Wed Oct 10, 2012 3:46 am
by bpd2000
rathinagiri wrote:HMG_HPDF with a small feature once again.
I have created a small documentation for HMG_HPDF using HMG_HPDF
[/attachment]
Thank you Rathi for providing HMG_HPDF Manual using HMG_HPDF library, Excellant
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Wed Oct 10, 2012 5:30 am
by mol
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.
Is it possible to set liespacing in normal printing?
Marek
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Posted: Wed Oct 10, 2012 6:02 am
by Rathinagiri
Is it possible to set liespacing in normal printing?
IMHO, it is. Since all the printing is done using @ row, col we can fix the line spacing as we require. Isn't it?
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
.....
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
Hi Esgici,
I can't fully understand your proposition. Can you please explain using a small sample/template program as to how do you want?