I have a Dell B1260dn Mono Laser Printer connected to cups. It is used for receipts.
Especially the first page in the morning takes almost a minute to print, because the printer have to warm up, it seems.
Also during the day, the startup time varies depending on how long since the last print.
I'd like to send an "Hey printer, wake up, be ready to print" command.
I have tried this:
require_once ('printipp/CupsPrintIPP.php'); $ipp = new PrintIPP(); $ipp->setHost("cupshost"); $ipp->setPort(613); $ipp->setPrinterURI("/printers/printer2"); $ipp->setLog("/tmp/phpIPP", 'file', 3); $ipp->setData(" "); $ipp->printJob();
But that sends an empty page.
But then nothing happens; there is not a job in the cups log.