[cups-devel] [UNKN] STR #4734: Ubuntu 14 LTS Cups will not print to local printer

Johannes Meixner noreply at cups.org
Mon Oct 26 01:57:36 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Unresolved]

Only FYI a possible workaround:

When "echo /path/to/raw/doc >/dev/usb/lp1" works
you could use a selfmade backend that implememts
this way of sending data to the printer device, see
"A careless backend for a single USB printer" at
https://en.opensuse.org/SDB:Using_Your_Own_Backends_to_Print_with_CUPS

Because in your case it is /dev/usb/lp1 it seems
you have two USB printers connected (one at /dev/usb/lp0
and the other one at /dev/usb/lp1).
In this case a careless backend that sends data
hardcoded to /dev/usb/lp1 could lead to problems
because there is no guarantee what printer device
will become /dev/usb/lp0 versus /dev/usb/lp1
so that a careless backend could sent its data
to the wrong printer device.
To avoid that you need to implement printer device detection
in your backend so that your backend sends its data to the
USB device node that matches the intended printer device.

Only a blind guess regarding the root cause
why CUPS cannot send data to your USB printer device:
Since some time the 'usb' backend in CUPS does no longer
use the kernel USB driver "usblp" but instead it uses "libusb".
Perhaps the libusb-based CUPS backend 'usb' cannot detect your
printer device (see what /usr/lib/cups/backend/usb reports)
and when it cannot detect it, it cannot send data to it
or something else fails via libusb.

Furthermore you may have a look at the
  Debugging "Unable to send data to printer."
mail thread on Sep 2015 at cups at cups.org
http://cups.org/pipermail/cups/2015-September/thread.html

Link: https://www.cups.org/str.php?L4734
Version: 1.7.2
Fix Version: Third-party
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJWLesAAAoJENujp6sI12IjZwUP/38K5X4COa9WWJX6kFy2LI4s
mroPAXyyyYE/OHO6H+pzsziuamE+wxQNUc6wd3i9HE++gLGM7oxqMHAWnCyu+Aci
a6GKZ7a9OcIoIWSX1Ds18DZa6sCeFNd81x7Wxu4ZOd7hTOopdF6nJiPjLTY3bysm
vCXRxQ2imJzo7wS4gW5gGjYnDx11CJRlDdI3ockWGdXie4TQaXJjUd7huFO5dbK4
1Dw3JGqKIHn8XGFDcYvIsHgAWxysXCEhiS3Z3YdHA7rXVRQhxWTb/BvxfLWSyW8n
2tgkZxaBjDG+z09dPB5N+ywnNSHiTE/mf3/B50NyauQFFzhyIhjcY4nJKwuc4rCD
Kk4zqpB5XdVELMWpMxRpLPG87gz9LK52Mo89ikxH6b6B0kCXczs/0Br9+V0cMzBC
YbN6qZfDCsM/9tgD9St9SkfdN2pY8K5ZpazUWGekeu5faBCO76TxRG8QK2TBlHjr
S/0TGtWqjxFZO5iB1uPHc9VxWrl36JvVuwkCGnAMbmFtp4pow8+pNFRft0t7KDj4
JvO4n61M2w1rPO8RfuTuwNswkz1wQ0vHUgtaJU1NOzt+/nE0KBIYQmSLi3ubUcEd
pEEpSKUT7sOnfsE1FiU8sOhg9GuiNZ1P3mnH0M91gbIH4y1C/2xaFGoDZnJmqFQ7
uM4nVppomrCQTs/nIBee
=cb9y
-----END PGP SIGNATURE-----




More information about the cups mailing list