How to create PDF X3 through php

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
billubandooq
Forum Newbie
Posts: 2
Joined: Fri Nov 22, 2013 4:35 am

How to create PDF X3 through php

Post by billubandooq »

Hi,

In my php project, I am using PDFlib (http://www.pdflib.com) to create PDF in X3 format, but PDFlib is not free. Is there any free API or library to create PDF in X3 format through my PHP code.

Thanks,

Bill
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: How to create PDF X3 through php

Post by Eric! »

All I can suggest is to try TCPDF. There aren't that many free options. They have worked towards PDF/X compliance, but I don't know how it is going. FPDF is dead unfortuantely. HTML2PDF based on FPDF is dead. Here's a list from stackexchange to try.

If you don't care if it is embedded or not and can use an API to convert a html link to pdf, then there might be more options:
http://en.pdf24.org/php-pdf-api.html

By the way in looking for this info for you I noticed you did a good job at posting this question all over the internet. Maybe all that fishing will turn up better info than what I found.
billubandooq
Forum Newbie
Posts: 2
Joined: Fri Nov 22, 2013 4:35 am

Re: How to create PDF X3 through php

Post by billubandooq »

Thank you, that is helpful. Actually i should have been precise, i also want to apply a PDF preset through code as well. Is that do-able through programming or i will have to rely on the softwares like Adobe indesign or Scribus etc?
Post Reply