PDFlib

PDFlib

Postby cdmmaui » Thu Aug 07, 2008 3: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
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Postby Antonio Linares » Mon Oct 06, 2008 6:19 pm

http://forums.fivetechsoft.com/viewtopic.php?t=8137

Code: Select all  Expand view
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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby RAMESHBABU » Tue Oct 07, 2008 9:25 am

Hello Mr.Antonio,

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

Thanks,

- Ramesh Babu P
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Postby anserkk » Tue Oct 07, 2008 9: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
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Postby Enrico Maria Giordano » 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
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby RAMESHBABU » Wed Oct 08, 2008 12:55 pm

Thank you Anser and thank you Enrico for your advise.

- Ramesh Babu P
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 66 guests