New Forum | Previous | Next | (P-PDF) Developers
Topic: Printing PDFs thru' PHP/Ghostscript
Conf: (P-PDF) Developers, Msg: 112843
Date: 6/7/2004 08:42 PM
I automatically generate PDF's on the fly using PHP and PDFlib, pulling data from an Informix database, however I need to be able to print these PDF's. Basically the process is a remittance run where the user enters a batch number and the script loops through the remittances and selects one of three options for each remittance,ie fax, email or print, faxing and emailing is all sorted but how can I print?
I know it is possible to ftp a pcl file directly to a printers IP address but how can I integrate this into PHP? Can I use Ghostscript to convert PDF's to PCL? If so how? I've been to the website but can't find any useful documentation on how to achieve this? I will be running this on an IIS server with PHP installed.
Thanks for any help.