PDF conversions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

PDF conversions

Post by itsmani1 »

hi every one!

i need some help regarding PDF conversions, i m generating reports using php and my clint want these reports to available in PDF of EXCEL formate?
is there any function for that in php?
if there is no function for that can any one help me by telling some useful link for this?

Regards!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

could install Acrobat Distiller and ask Excel to print through it...
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

yeah:

this is a simple sollution man but my clint need a button on reports page
by clicking on it report will be converted to a PDF file.
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

is there any php guro that can help me?????
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

i think u can use the PHP 's PDF lib for that matter

Bye 4 now!
:P:P:P
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

can u tell me from where i can get that lib and also tell me if PHP4 is supporting it or not?
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

PDFlib is available for download at http://www.pdflib.com/products/pdflib/index.html
but requires that you purchase a license for commercial use. The JPEG and TIFF libraries are required to compile this extension.

There are also a few alternatives written in PHP such as
http://www.ros.co.nz/pdf/, http://www.fpdf.org/,
http://www.gnuvox.com/pdf4php/, and
http://www.potentialtech.com/ppl.php.

Hope that helps ya!
Bye
:D :wink:
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

thanks man for this much support.
let me check it.

Bye Bye
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

any time, yaar!
after all we aal r here to learn and to help others learn

Bye 4 now
:P :P :P
Post Reply