FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour PDFlib
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
PDFlib
Posted: Thu Aug 07, 2008 03:41 AM

Has anyone used PDFlib to create PDF documents within FWH? Are reference documentation or source code samples available? I need to create a PDF document with embedded FDF data. Can anyone help?

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
PDFlib
Posted: Mon Oct 06, 2008 06:19 PM
http://forums.fivetechsoft.com/viewtopic.php?t=8137
function creapdf() 
local opdf := tpdf():new('mipdf.pdf') 
opdf:Pdfnewpage("A4","P") 
opdf:Pdfatsay("HOLA MUNDO!!!!!!!!!!!",800,10,.t.) 
opdf:Pdfclosepage() 
opdf:pdfclose() 
return .t.

function filesize(cfile) 
LOCAL nfiles := directory(cfile) 
return nfiles[1,2]
You have to link pdflib.lib and zlib.lib, both from xHarbour.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
PDFlib
Posted: Tue Oct 07, 2008 09:25 AM

Hello Mr.Antonio,

Can I get a link to "PDFLIB.LIB" and "ZLIB.LIB" please ?

Thanks,

  • Ramesh Babu P
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
PDFlib
Posted: Tue Oct 07, 2008 09:48 AM

Dear Ramesh

Link to download PDF LIB

http://www.fivetechsoft.com/files/utilities/pdflib.zip

Zlib will be available in the Folder c:\xHarbour\Lib\

or you may downlaod from the following link

http://rapidshare.com/files/151683290/zlib.zip.html

Regards

Anser

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
PDFlib
Posted: Tue Oct 07, 2008 10:46 AM
RAMESHBABU wrote:Hello Mr.Antonio,

Can I get a link to "PDFLIB.LIB" and "ZLIB.LIB" please ?

Thanks,

- Ramesh Babu P


You shouldn't mix new libs and older xHarbour distribution. If those libs are missing from your xHarbour LIB folder then reinstall xHarbour package or install the most recent one (eventually the one from the CVS).

EMG
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
PDFlib
Posted: Wed Oct 08, 2008 12:55 PM

Thank you Anser and thank you Enrico for your advise.

  • Ramesh Babu P

Continue the discussion