PDF Imposition in PHP

I am looking for a library PHPthat will allow me to create print-ready PDF. Overlay should include 1-up, 4-up, 24-up, etc. Layouts and crop marks.

FPDF, TCPDFand the PHP'sincluded libraries PDFallow me to create an image and transfer it to PDF, but more advanced layouts and crop marks are slightly superior to me.

Thanks in advance!

+3
source share
6 answers

We used DOMPDF http://www.digitaljunkies.ca/dompdf/ successfully - just determine what you want to print in plain HTML format, then transfer the DOMPDF document and it will create a PDF file from it.

, , , , (, FPDF). HTML ! .

+4

DOMPDF PDFLib, .

DOMPDF XHTML CSS2.1 PDF- HTML.

PDFlib + PDI PDF- , , ..

+2
+1
+1

PDFLib PHP ( C, #, Perl ..) ) .

0

FPDF . , , .

ImageEPS , , ( .ai .eps , , .)

.

, . (http://www.fpdf.org/en/tutorial/tuto2.htm)

. (http://www.fpdf.org/en/doc/fpdf.htm)

Multicell is a VERY useful feature for dynamically generated content, although there is no way to handle overflow. You will need to have some way to do the number of characters and pass data into blocks for complex layouts.

I believe that there is an extension on the forums for pagination. ( http://www.fpdf.org/en/script/script86.php )

plus I'm cheap :)

0
source

Source: https://habr.com/ru/post/1697087/


All Articles