Created at 13:17 May 10, 2008 by tharding, last modified at 18:27 May 10, 2008
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
?>
The addition of PhpPrintIPP is good one. I liked it. It good addition for PHP web Developers Reply