Bug#1013437: cups: Nothing prints from driverless IPP queues unless added via lpadmin
On Thu 30 Jun 2022, at 14:57, Brian Potkin <claremont102@gmail.com> wrote:
[...]
> 1. Set up queues
> lpadmin -p testq-ippeve -v ipp://192.168.0.14/ipp/print -E -m everywhere
> lpadmin -p testq-drvless -v ipp://192.168.0.14/ipp/print -E -m
> driverless:ipp://192.168.0.14/ipp/print
OK
> 2. As root, do
> cupsfilter -p /etc/cups/ppd/testq-ippeve.ppd -m printer/foo -e /etc/nsswitch.conf > ippeve.urf
> cupsfilter -p /etc/cups/ppd/testq-drvless.ppd -m printer/foo -e /etc/nsswitch.conf > drvless.urf
OK
> 3. Open ippeve.urf and drvless.urf with less and check for UNIRAST at
> the top left corner.
Present in both files
> Give the file sizes.
$ ls -l *.urf
-rw-r--r-- 1 user user 195639 Jun 30 22:58 drvless.urf
-rw-r--r-- 1 user user 48332 Jun 30 22:57 ippeve.urf
> View the files with
> rasterview.
Both look fine
> 4. Check the printer has an open port 9100.
$ nmap 192.168.0.14
Starting Nmap 7.80 ( https://nmap.org ) at 2022-06-30 23:01 BST
Nmap scan report for 192.168.0.14
Host is up (0.030s latency).
Not shown: 993 closed ports
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
80/tcp open http
443/tcp open https
515/tcp open printer
631/tcp open ipp
9100/tcp open jetdirect
> 5. Send both files directly to the printer with
> netcat 192.168.0.14 9100 < ippeve.urf
Command seemed to hang or await job completion.
Printer printed a good 30-odd pages, either blank or containing a line or two of binary/gibberish.
Device job cancel button did not respond. Opened paper tray, pressed cancel button, job stopped. Re-inserted tray, job continued. Opened tray, cancelled job, ^C to stop netcat, power cycled printer, order restored.
> netcat 192.168.0.14 9100 < drvless.urf
Same, though this time I stopped it after a few pages
Thanks,
Gareth
Reply to: