CUPS - Printer message - "Unable to send data to printer." No printing

Jaisen Nedumpala jaisuvyas at gmail.com
Tue Apr 16 22:15:31 PDT 2013


Hi,
    I have installed Debian wheezy RC in a computer in my office. We need to print the mails so, was configuring the printer we have. It is Sharp AR-M205 printer cum copier. It is connected through USB and configured using CUPS as follows:
-------------------------
Description:    Sharp AR-M205
Location:    Office
Driver:    Sharp AR-M205 PS Foomatic/Postscript (grayscale, 2-sided printing)
Connection:    usb://Unknown/Printer?interface=1
Defaults:    job-sheets=none, none media=iso_a4_210x297mm sides=one-sided
-------------------------
But when I send the test page to the printer in returns a message: "Unable to send data to printer." No printing occurs. I searched for the solution, but didn't find any one. It was printing with Windows XP earlier without any problem. Why it went wrong in Debian?
I checked as follows:
-------------------------
user at terminal0:~$ lpstat -r
scheduler is running
user at terminal0:~$ lpstat -d
no system default destination
user at terminal0:~$ lpq
lpq: Error - no default destination available.
-------------------------
When I checked /var/log/syslog
It shows:
-------------------------
SerialNumber=3
Apr 10 11:45:28 terminal0 kernel: [ 6453.353240] usb 3-1: Product: AR-M205
Apr 10 11:45:28 terminal0 kernel: [ 6453.353245] usb 3-1: Manufacturer: SHARP
Apr 10 11:45:28 terminal0 kernel: [ 6453.353250] usb 3-1: SerialNumber: 0502091110084808
Apr 10 11:45:28 terminal0 kernel: [ 6453.397518] usblp0: USB Bidirectional printer dev 18 if 1 alt 0 proto 2 vid 0x04DD pid 0x9004
Apr 10 11:45:28 terminal0 mtp-probe: checking bus 3, device 18: "/sys/devices/pci0000:00/0000:00:12.0/usb3/3-1"
Apr 10 11:45:29 terminal0 mtp-probe: bus: 3, device: 18 was not an MTP device
Apr 10 11:50:14 terminal0 kernel: [ 6739.490520] usb 3-1: USB disconnect, device number 18
Apr 10 11:50:14 terminal0 kernel: [ 6739.491067] usblp0: removed
-------------------------
access_log shows:
-------------------------
localhost - - [17/Apr/2013:09:48:35 +0530] "POST / HTTP/1.1" 200 360 Create-Printer-Subscription successful-ok
localhost - - [17/Apr/2013:09:51:46 +0530] "POST / HTTP/1.1" 200 152 Cancel-Subscription successful-ok
localhost - - [17/Apr/2013:09:55:51 +0530] "POST / HTTP/1.1" 200 360 Create-Printer-Subscription successful-ok
localhost - - [17/Apr/2013:10:41:22 +0530] "POST /admin/ HTTP/1.1" 200 62 - -
localhost - - [17/Apr/2013:10:41:22 +0530] "POST /admin/ HTTP/1.1" 200 12094 - -
localhost - - [17/Apr/2013:10:41:26 +0530] "GET /admin/log/access_log HTTP/1.1" 200 484 - -
localhost - - [17/Apr/2013:10:41:37 +0530] "GET /admin/log/error_log HTTP/1.1" 200 382 - -
-------------------------
error_log shows:
-------------------------
W [17/Apr/2013:09:35:28 +0530] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'SharpAR-M205-Gray..' already exists
W [17/Apr/2013:09:35:28 +0530] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-SharpAR-M205' already exists
E [17/Apr/2013:09:52:15 +0530] Avahi client failed, closing client to allow a clean restart
-------------------------
I can't figure out where lies the problem. Can anybody help me?




More information about the cups mailing list