[cups.general] Printing doesn't work at all (CUPS-1.6.1)

alex lupu alupu01 at gmail.com
Wed Dec 5 13:21:07 PST 2012


INTRODUCTION
~~~~~~~~~~~~
Printer:  Samsung ML-2510, local, USB

I have an "old" machine,
 ASUS P5E-VM HDMI, intel E8400, G35/ICH9R,
 Linux kernel 3.6.7, CUPS 1.5.0
Printing works OK.

I've just built a "new" machine,
 ASUS P8H77-I, intel i7 Ivy Bridge
 Linux kernel 3.6.7, CUPS 1.6.1
Printing does NOT show any signs of life.

To set up the new machine I connected a hard disk "clone"
of the "old" to the new one (with a few CONFIG "tweaks"
to make it boot at all - nothing related to printing)
with the above printer "shared" between the two
machines by moving the USB cable from one to the other.

Since the printing wouldn't work at all from the beginning,
for troubleshooting I decided to start "clean" by upgrading
CUPS to 1.6.1 and, for good measure, cups-filters-1.0.24.
On the new machine I also have ghostscript-9.06 and
foomatic-filters-4.0.17 (if needed - just in case).

PRINTING SET-UP
~~~~~~~~~~~~~~~
lpadmin -p ML-2510P8usb -L Local -E -v usb:/dev/usb/lp0 -m ML-2510spl2.ppd

[]$ lpstat -t
scheduler is running
system default destination: ML-2510P8usb
device for ML-2510P8usb: usb:/dev/usb/lp0
ML-2510P8usb accepting requests since Wed 05 Dec 2012 02:03:52 PM EST
printer ML-2510P8usb is idle.  enabled since Wed 05 Dec 2012 02:03:52 PM EST

PROBLEMS
~~~~~~~~
After unsuccessfully trying numerous configurations,
udev-182 tests, etc., based on personal guesses and/or
 /var/log/cups/error_log
"suggestions", like "E" messages,

Unable to queue job for destination
"ipp://AlexP8/printers/Samsung_ML-2510_Series".
  or
ML-2510P8usb: File "/usr/lib/cups/filter/rastertosamsungspl" has insecure
permissions (0100754/uid=9/gid=9),

------
Now I am at this "stable" (and deadlock) point:

[]$ ls -l /usr/lib/cups/filter/rastertosamsungspl
-rwxr--r-- 1 root lp 54508 2008-03-24 17:50
 /usr/lib/cups/filter/rastertosamsungspl

[]$ ls -l /dev/usb/lp0
crw-rw---- 1 root lp 180, 0 2012-12-05 15:00 /dev/usb/lp0

[]$ ls -l /usr/share/cups/model
-rw-r--r-- 1 root lp 12387 2007-04-20 03:52 ML-2510spl2.ppd

[]$ lsmod | grep lp
usblp                   7518  0
usbcore                85336  3 usblp,ehci_hcd,usbmouse

When trying to print a short text file, I get
[]$ lp temp.txt
request id is ML-2510P8usb-1458 (1 file(s))

usblp0: removed
usblp 2-1.8:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2
vid 0x04E8 pid 0x327E
usblp0: removed

[with the above message repeating every second or so  until I hit 'cancel -a']
------
An excerpt of /etc/cups/cupsd.conf:

LogLevel debug2
SystemGroup lpadmin
Listen localhost:631
Listen /var/run/cups/cups.sock
Browsing On
BrowseLocalProtocols
DefaultAuthType Basic
WebInterface Yes
<Location />
  Order allow,deny
</Location>
<Location /admin>
  Order allow,deny
  Allow 127.0.0.1
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>
<Policy default>
  JobPrivateAccess default
 ...

Please help,
-- Alex





More information about the cups mailing list