Hello,
I just spent a day trying to work out, why is my (a year ago installed USB printer) missing.
For anyone with USB printer not being listed under [ Find new printers ], make sure:
1. net-print/cups has 'usb' use flag set to OFF!
With the 'usb' flag enabled my Lexmark B2338dw disappears, though usb backend lists it fine (net-print/cups-2.3.3_p2-r3)
Code: Select all
$ /usr/libexec/cups/backends/usb
direct usb://Lexmark/B2300%20Series "Lexmark B2300 Series" \
"Lexmark B2300 Series" "MANUFACTURER:Lexmark;COMMAND \
SET:PCL 6 Emulation, PostScript Level 3 Emulation, PDF, URF, PWG, NPAP, \
PJL;MODEL:Lexmark B2300 Series;CLS:PRINTER;DES:Lexmark \
B2338dw;CID:LexmarkPrinterMonoA;COMMENT:ECP1.0, LV_043D, LP_029B, LF_00B3;" ""
// backslashes added to make it more readable...
but
Code: Select all
$ lpinfo -v
network beh
network ipp
network lpd
network http
network ipps
network https
file cups-brf:/
so no USB printer here... Weird logic, must say.
2. Make sure /var/spool/cups and underlying tmp dir have correct permissions.
Code: Select all
$ ls -ld /var/spool/cups /var/spool/cups/tmp
drwx--x--- 3 root lp 72 02-18 21:17 /var/spool/cups
drwxrwxrwt 2 root lp 88 02-18 21:17 /var/spool/cups/tmp
Without the permissions, I was able to click-through the [ Add Printer ] wizard, but in final the printer wasn't there...
I added the printer from CLI:
Code: Select all
$ lpadmin -i my_lexmark_ppd_file.ppd -p B2338dw -E -u allow:all -v usb://Lexmark/B2300%20Series
the printer was finally there, but prints were not going out.
gave me the clue about file permissions mentioned above.