[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpprintipp] Printing to Epson SX440W network printer
From: |
address@hidden |
Subject: |
[Phpprintipp] Printing to Epson SX440W network printer |
Date: |
Sun, 30 Sep 2012 23:01:50 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
Dear list,
I'd like to print (even if it's just text files) from a PHP script to a
standalone network printer (Epson Stylus SX440W EPSON14E42A) configured
with static IP address 192.168.0.13.
I'm using XAMPP webserver on localhost (localhost is 192.168.0.40).
I placed BasicIPP.php CupsPrintIPP.php ExtendedPrintIPP.php
http_class.php PrintIPP.php in the "printipp" directory.
This is the code:
require_once('printipp/PrintIPP.php');
$ipp = new PrintIPP();
$ipp->setHost("192.168.0.13");
$ipp->setPrinterURI("ipp://192.168.0.13:631/printer");
$ipp->setData("testdata.txt");
$ipp->printJob();
Tested printer uri:
ipp://192.168.0.13:631/epson
ipp://192.168.0.13:631/printer/epson
ipp://192.168.0.13:631/printer/ipp
ipp://192.168.0.13:631/ipp
ipp://192.168.0.13:631/printers/EPSON1AE42A_(Epson_Stylus_SX440)
/printers/EPSON1AE42A
/printers/epson
...
I always get "Warning: server responds http/1.1 404 not found"
Can I make this work somehow?
Thanks
- [Phpprintipp] Printing to Epson SX440W network printer,
address@hidden <=