--- Em dom, 2/12/12, alex lupu escreveu:
> De: alex lupu
> Assunto: [blfs-support] CUPS-1.6.1 Fails to Print
> Para: blfs-support
> Data: Domingo, 2 de Dezembro de 2012, 2:01
> I'm absolutely dead, so if I make
> even less sense than usual
> that will make a lot of sense.
>
> 4. Everything looks and feels OK now except the
> printer (I just switch
> the USB cable between the two machines) is still absolutely
> dead.
> All I can say, on a simple attempt to print a two-character
> text/test
> file, I get
>
> D ... cupsdSetBusyState: newbusy="Not busy", busy="Not
> busy"
>
> as the last line in '/var/log/cups/errors.log'
>
> The resulting output is huge (LogLevel debug), but no "E"s,
> just "D"s
> so I think the new Cups-1.6.1, greatly improved over 1.5.0,
> with its strong Administrative/Security notions works
> wonders but
> is way over my small and currently weary head.
I have had problems with CUPS in two machines. Discovered it was due to
permissions not properly set.
Found which device corresponded to the printer (this changes after
printer is switched on/off/on):
$ lsusb | grep Epson
Bus 002 Device 004: ID 04b8:0838 Seiko Epson Corp. CX7300/CX7400/DX7400
Permission of device:
ls -l /dev/bus/usb/002/004
crw-rw-r-- 1 root lp 189, 131 Dez 2 07:54 /dev/bus/usb/002/004
In my case, it was not "root lp".
Using ID from lsusb above, changed udev rules, by adding:
$ ls -l /etc/udev/rules.d/10-usbprinter.rules
-rw-r--r-- 1 root root 104 Nov 8 12:32 /etc/udev/rules.d/10-usbprinter.rules
$ cat /etc/udev/rules.d/10-usbprinter.rules
ATTR{idVendor}=="04b8", ATTR{idProduct}=="0838", MODE:="0664", GROUP:="lp",
ENV{libsane_matched}:="yes"
and it worked. If you do not have sane installed, only need the part up
to "lp".
[]s,
Fernando
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page