[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

Possible to create press-ready PDF from PHP

Is is possible to create a press-ready PDF from PHP (i.e. is there a library or something that supports this?)

Thank you,
Adam
0
ajschw
Asked:
ajschw
  • 2
3 Solutions
 
shobinsunCommented:
Hello,

You can do it with PDFLib class.

For more about that go through:

http://blog.thinkphp.de/archives/122-Creating-press-ready-PDF-documents-on-the-fly-including-individual-barcodes.html

Hope this will help you.

Regards.
0
 
NeoDiffusionCommented:

Hello Adam,

I suggest you also got a look at FPDF (http://www.fpdf.org/?lang=en), library used by many OpenSource solution (like vtiger, joomla, if I correctly remember).

You may have some difficulties on the first minutes, but the learning curve is rather fast, and there are plenty of tutorials and extensions (for excel, etc...) available.

Rgds,

Werner.
0
 
shobinsunCommented:
Hi,

You can use FPDF:

It is a cool library for generating .pdf documents from .PHP scripts.
Here we go: http://www.fpdf.org/

Tutorial:

http://www.builderau.com.au/program/php/soa/Generating-PDF-files-with-PHP-and-FPDF/0,339028448,339286044,00.htm

or

 DOMPDF

http://www.digitaljunkies.ca/dompdf/

or

 TCPDF

Here is a nice and open-source library for generating PDF output:
http://www.tcpdf.org/

http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf

examples:

http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf_examples

or

EZPDF

ezpdf http://www.ros.co.nz/pdf/ is also an easy alternative to this.  It suffices for most pdf tasks and is quick to pick up

a modified version of ezpdf that supports rotated text: http://www.morelightmorelight.com/projects/walletpdf/


Regards.

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now