After several years from v0.74, The V.075 version of PhpPrintIPP is out.
Homepage: http://www.nongnu.org/phpprintipp/
PrintIPP is a PHP5 class which implements an IPP client (Internet Printing Protocol) on the web-server side.
PrintIPP, in it’s current state, do all RFC2911 operations, as well as some CUPS specific ones.
PrintIPP is distributed under GNU LGPL. Thus, it is a Free Software.
<?php require_once(PrintIPP.php); $ipp = new PrintIPP(); $ipp->setHost(“localhost”); $ipp->setPrinterURI(“/printers/epson”); $ipp->setData(“./testfiles/test-utf8.txt”); // Path to file or string. $ipp->printJob(); // trees saving $job = $ipp->last_job; // getting job uri $ipp->cancelJob($job); // cancelling job ?>