[cups] New printer difficulties

Alan McConnell alan at his.com
Wed Apr 27 12:55:00 PDT 2016


On Fri, Apr 15, 2016 at 04:05:29PM +0200, Johannes Meixner wrote:
> 
> It is the so called CUPS backends that send the final
> printer specific data to the printer device and those backends also
> implement printer device autodetection,
> cf. "The Backends" at
> https://en.opensuse.org/SDB:CUPS_in_a_Nutshell
> 
> The available backends and autodetected printer devices
> are displayed by the "lpinfo -v" command (as root).
> 
> Every backend can also be run directly (as root).
> In this case the backend autodetects printer devices
> that match the backend and outputs the resuts.
> 
> For example the backend to send the final printer
> specific data to USB printers is usually
> /usr/lib/cups/backend/usb
	I have that file.

> # /usr/lib/cups/backend/usb
> 
> DEBUG: Loading USB quirks from "/usr/share/cups/usb".
> DEBUG: Loaded 129 quirks.
> DEBUG: list_devices
> DEBUG: libusb_get_device_list=9
> DEBUG2: Printer found with device ID:
> MFG:Brother;CMD:PJL,PCL,PCLXL,POSTSCRIPT;
> MDL:HL-5150D series;CLS:PRINTER; Device URI:
> usb://Brother/HL-5150D%20series?serial=F5J889574
	But when I run  /usr/lib/cups/backend/usb, I get
	only:
DEBUG: Loading USB quirks from "/usr/share/cups/usb".
DEBUG: Loaded 113 quirks.
DEBUG: list_devices
DEBUG: libusb_get_device_list=8

> In particular note the Device URI therein:
> usb://Brother/HL-5150D%20series?serial=F5J889574
	 Alas;  would I could!

Again:  I have tried using the settings that made my Canon mF4770n
work fine under Debian wheezy, but they don't work at all under
Debian jessie.


> The details about USB stuff change from time to time
> so that regarding low-level USB issues you should ask
> directly at your particular Linux distributor.
  	   My USB stuff works fine for all my other stuff!

> A PPD file and a Device URI is all you need to set up
> a print queue in CUPS with the "lpadmin" command, cf.
> "How to set up a print queue in full compliance with CUPS"
> in the "Command-line Tools" section in
> https://en.opensuse.org/SDB:CUPS_in_a_Nutshell
  	Right.  I have an entry in my printers.conf:
DeviceURI usb://Canon/MF4700%20Series?serial=0147O24E997F&interface=1
        Could you tell me how to use this with lpadmin?  I don't have
	the necessary brain-power to understand the very copious
	opensuse article you point me at above!

	Again: this all worked fine under wheezy!

TIA,

Alan

-- 
Alan McConnell :  http://globaltap.com/~alan/
     What is the difference between terrible and interesting?
     Answer:  Whether it happens to you or not. (Jane Flanders)



More information about the cups mailing list