You are not logged in.

#1 2012-09-09 22:47:07

Deusdies
Member
Registered: 2010-09-13
Posts: 116

Can't print on any printer!

Cups 1.6.1, kernel 3.5.3

I have 2 printers that I tried and neither of them work. I just came back home from Europe after 9 months and reinstalled arch (update broke everything), and the printer worked before. I have a Lexmark X2600.

I can add it on cups webinterface just fine, but printing the test page results in this error:

D [09/Sep/2012:17:27:32 -0500] [Job 53] Set job-printer-state-message to "Start rendering...", current level=INFO
D [09/Sep/2012:17:27:32 -0500] [Job 53] Processing page 1...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [09/Sep/2012:17:27:32 -0500] [Job 53] STATE: +connecting-to-device
D [09/Sep/2012:17:27:32 -0500] [Job 53] STATE: -connecting-to-device
D [09/Sep/2012:17:27:32 -0500] [Job 53] Printer found with device ID: MFG:Lexmark;CMD:CPDNPA004;MODEL: 2600 Series;CLASS:Printer;DES:Lexmark 2600 Series; Device URI: usb://Lexmark/2600%20Series?serial=3053730D6218311&interface=1
D [09/Sep/2012:17:27:32 -0500] [Job 53] Device protocol: 2
D [09/Sep/2012:17:27:32 -0500] [Job 53] Sending data to printer.
D [09/Sep/2012:17:27:32 -0500] [Job 53] Set job-printer-state-message to "Sending data to printer.", current level=INFO
D [09/Sep/2012:17:27:32 -0500] [Job 53] Read 8 bytes of print data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Wrote 8 bytes of print data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Read 512 bytes of back-channel data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Read 37 bytes of back-channel data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Set job-printer-state-message to "(null)", current level=ERROR
D [09/Sep/2012:17:27:32 -0500] [Job 53] Read 8 bytes of print data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Wrote 8 bytes of print data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Read 8 bytes of back-channel data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Read 9 bytes of print data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Wrote 9 bytes of print data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Read 9 bytes of back-channel data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Read 8 bytes of print data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Wrote 8 bytes of print data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Read 8 bytes of back-channel data...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Sent 33 bytes...
D [09/Sep/2012:17:27:32 -0500] [Job 53] PID 5853 (/usr/local/lexmark/v3/bin/printfilter) exited with no errors.
D [09/Sep/2012:17:27:32 -0500] [Job 53] PID 5852 (/usr/lib/cups/filter/gstoraster) stopped with status 13. <<<<<<<<<<<<<<<<<<<<<<<<< THIS is what I'm talking about
D [09/Sep/2012:17:27:32 -0500] [Job 53] Hint: Try setting the LogLevel to "debug" to find out more.
D [09/Sep/2012:17:27:32 -0500] [Job 53] Waiting for read thread to exit...
D [09/Sep/2012:17:27:32 -0500] [Job 53] Read thread still active, aborting the pending read...
D [09/Sep/2012:17:27:32 -0500] [Job 53] PID 5854 (/usr/lib/cups/backend/usb) exited with no errors.
D [09/Sep/2012:17:27:32 -0500] [Job 53] End of messages
D [09/Sep/2012:17:27:32 -0500] [Job 53] printer-state=3(idle)
D [09/Sep/2012:17:27:32 -0500] [Job 53] printer-state-message="(null)"
D [09/Sep/2012:17:27:32 -0500] [Job 53] printer-state-reasons=none
E [09/Sep/2012:17:27:38 -0500] [cups-deviced] PID 5999 (dnssd) stopped with status 1!
E [09/Sep/2012:17:32:14 -0500] [Job 52] Stopping unresponsive job.
E [09/Sep/2012:17:32:33 -0500] [Job 53] Stopping unresponsive job.
W [09/Sep/2012:17:34:46 -0500] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_2600_Series
W [09/Sep/2012:17:34:46 -0500] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_2600_Series
W [09/Sep/2012:17:34:46 -0500] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_Lexmark_2600_Series
W [09/Sep/2012:17:34:46 -0500] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_Lexmark_2600_Series
W [09/Sep/2012:17:34:46 -0500] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_Virtual_PDF_Printer
W [09/Sep/2012:17:34:46 -0500] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_Virtual_PDF_Printer

I've tried the following:

- 2 different drivers from Lexmark's website (gutenberg doesn't support this model out of the box)
- rmmoding and modprobing usblp
- restarted cupsd a zillion times
- rebooted many times as well
- different USB ports, cables
- even a different printer. I went to the store and bought an Epson NX230. It gave me exactly the same message, with the Epson's drivers from the website.
- downgrading cups to 1.5.4, libcups, and ghostscript to 9.05

Sometimes the "state" on the localhost:631 for the printer would say "(null)" and sometimes "filter failed".

I'm really baffled. Can anyone please help?


My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there

Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux

Offline

#2 2012-09-10 01:00:41

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,140

Re: Can't print on any printer!

Not sure this will help but just for kicks, try setting pdftops-renderer=pdftops.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2012-09-10 01:10:06

Deusdies
Member
Registered: 2010-09-13
Posts: 116

Re: Can't print on any printer!

Is this the correct command?

sudo lpadmin -p Lexmark_2600_Series -o pdftops-renderer=pdftops

My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there

Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux

Offline

#4 2012-09-10 02:01:00

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,140

Re: Can't print on any printer!

I used:

sudo lpadmin -p HP1320 -o pdftops-renderer-default=pdftops

according to my notes. Obviously the printer name depends on the name of your printer.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2012-09-10 02:02:03

Deusdies
Member
Registered: 2010-09-13
Posts: 116

Re: Can't print on any printer!

Okay, tried that, no luck sad


My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there

Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux

Offline

#6 2012-09-10 16:09:35

bws
Member
Registered: 2011-12-05
Posts: 33

Re: Can't print on any printer!

Seems to be a common issue.  See this thread and my post (#9) https://bbs.archlinux.org/viewtopic.php?id=148496

As stated there, I had to install avahi and include the "avahi-deamon" in my rc.conf to get cups working again.  Now everything works as before.


All the best people in life seem to like Linux.
  ~ Steve Wozniak

Offline

#7 2012-09-10 19:31:51

Deusdies
Member
Registered: 2010-09-13
Posts: 116

Re: Can't print on any printer!

Thanks for taking the time to reply, but that didn't help. I already had avahi-daemon service running.


My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there

Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux

Offline

#8 2012-09-10 22:15:20

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,140

Re: Can't print on any printer!

Try enabling debugging for cups and see if you get anything useful in the logs for cups.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#9 2012-09-10 22:17:25

Deusdies
Member
Registered: 2010-09-13
Posts: 116

Re: Can't print on any printer!

Done that too, nothing of any help really.


My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there

Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux

Offline

#10 2012-09-11 01:15:24

afulm
Member
Registered: 2012-01-31
Posts: 20

Re: Can't print on any printer!

I seem to have the very same problem so I'm waiting eagerly for a solution.

Offline

#11 2012-09-12 15:23:29

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Can't print on any printer!

Me too please, seems to affect Colour Printers only, which may be obvious from the error messages I guess.

Andrew

Offline

#12 2012-09-13 09:36:03

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Can't print on any printer!

The answer seems to be to delete and reinstall the affected printers

Andrew

Offline

#13 2012-09-13 09:36:48

Deusdies
Member
Registered: 2010-09-13
Posts: 116

Re: Can't print on any printer!

Not for me, did that at least 10 times.


My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there

Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux

Offline

#14 2012-09-13 09:38:14

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Can't print on any printer!

OK, it worked for me though, what printers are affected?

Offline

#15 2012-09-13 09:38:52

Deusdies
Member
Registered: 2010-09-13
Posts: 116

Re: Can't print on any printer!

Lexmark x2600 and Epson NX230 - as mentioned in the OP.


My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there

Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux

Offline

#16 2012-09-13 10:04:31

Deusdies
Member
Registered: 2010-09-13
Posts: 116

Re: Can't print on any printer!

Okay FWIW, I've just bought a brand new computer (obviously not because of this), and it still gives the same error. So definitely not hardware related, unless both of the printers are dead, which I doubt.


My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there

Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux

Offline

#17 2012-09-13 12:51:15

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Can't print on any printer!

I can't say anything about the Lexmark, but my Epson is no longer even recognised as a printer by CUPS. I can still scan from it though. Weird!

Offline

#18 2012-09-13 13:44:39

afulm
Member
Registered: 2012-01-31
Posts: 20

Re: Can't print on any printer!

I have it too on a samsung ML-1670. Printing works fine in my virtualbox windows.

Offline

#19 2012-09-14 02:31:34

Deusdies
Member
Registered: 2010-09-13
Posts: 116

Re: Can't print on any printer!

Confirmed, printing works fine in VirtualBox running Windows 7 as a guest OS.


My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there

Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux

Offline

#20 2012-09-14 14:40:36

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Can't print on any printer!

My mistake, I overwrote to cupsd.conf on one of the updates and forgot to make my amendments.

Everything works fine now

Andrew

Offline

#21 2012-09-15 01:43:04

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: Can't print on any printer!

It appears that dnssd is not working (for me) with the latest updates.
Even though the following command worked...

[root@myhost ~]# lpinfo -v
network socket
network https
network ipps
network lpd
network ipp
network http
network smb
network beh
network dnssd://Brother%20HL-2270DW%20series._pdl-datastream._tcp.local/
network dnssd://Brother%20HL-2270DW%20series._ipp._tcp.local/
network lpd://BRW002258191E50/BINARY_P1
network cnijnet:/00-1E-8F-A6-5A-72

Neither of the above two dnssd URI's would work with my Brother printer - although the first one used to before the updates.  I suspect the problem is with cups 1.6.1 as it includes the file usr/lib/cups/backend/dnssd.  I did get the following URI to work though: lpd://192.168.0.10/BINARY_P1
[192.168.0.10 is the ip address of my network printer].  The cnijnet:/00-1E-8F-A6-5A-72 URI still works with my Canon printer.

I suggest googling for URI's that have been known to work with your brand (and perhaps model) of printer.

Offline

Board footer

Powered by FluxBB