I'm working on an App that needs to take a file, specifically a PDF in its case, and send it to the printer to print. I've looked around to find out how this is accomplished with little luck.
Specifically what I need is the ability to bypass the need to open the PDF file, click the print option in the PDF and then confirm the print. I need them to be able to click print and it handles the rest, as they made the decision by clicking on the link.
I ran upon a method that I believe purports to accomplish this using printer_open() and sending it the printer name on a server, however, I soon came to find it required a PECL extension which I cannot seem to find. The page about the extension on PECL's site seems to not have the extension available and when I go back to find the information on php.net about the printer_open() function it no longer seems present (I may have stumbled on a previous version/language page though a search).
Either way our Zend Server 6 does not seem to have the PECL Printer extension installed and I'd like to find a way to get it if possible, or if someone knows of an alternative that would be great. Any help is appreciated.
PHP Full Stack Developer
SHOE SHOW, Inc.