PDF Print from PHP software application

E Efkan YILMAZ 2 years 1 month ago
83 2 0

Hello!
I'm trying to print pdf file directly from a custom software made in php.
Have you got any example of code that could help me with the implementation?
Thanks in advance.

Please Register or Login to post a reply

2 Replies

h hugo morais

Hi Joan,
You should look at FPDF library. http://www.fpdf.org/
Hope it helps.

J Joan Ginjaume

Hey Hugo,
Thanks for your reply. This FPDF library is to create pdf's, but i just want to print them.
¿Do you have any information about printing pdf documents in a printer connected to the network with php?
Thanks in advance.

h hugo morais

Hi Joan,
Never did directly. What I did was setting up CUPS print server (https://www.cups.org) and my php generated pdf files were sent to cups through php shell exec.

CONTACT
Can’t find what you’re looking for?