Ubuntu USB printers have stopped working

Linux distribution specific questions
Post Reply
DirkKoopman
Posts: 2
Joined: Sun Nov 26, 2006 12:08 pm

Ubuntu USB printers have stopped working

Post by DirkKoopman » Sun Nov 26, 2006 12:14 pm

Recently I have added a network laser printer with a custom ppd (a dell 3110cn) this works, but all my turboprinter installed printers have stopped working. The only immediate clue that I can see is the contents of the the log file:-

#######################################################
New print job Sun Nov 26 12:02:27 GMT 2006 (pstoturboprint 1.94-2)
job-id 439
user root
title tp13927_6.tmp
copies 1
options cpi=10 lpi=6 PageSize=A3 Resolution=600x600dpi job-uuid=urn:uuid:477dcbd8-4d3d-3f9d-7580-28e2014e43e6
file
test directory access:
drwxr-xr-x 2 root root 8192 Nov 26 11:58 /usr/share/turboprint/printers
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7eb7000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d83000)
/lib/ld-linux.so.2 (0xb7ef9000)
/usr/bin/tpprint -v2 -l/var/log/turboprint_cups.log --ppdfile=/etc/cups/ppd/HP1220C.ppd --psfeatures /tmp/pstoturboprint14621.chunk /tmp/pstoturboprint14621.var
----------- Start of var file -----------
----------- End of var file -----------
GSCOMMANDLINE=gs -sDEVICE=pcx24b -rx -gx -dSAFER -dNOPAUSE -dBATCH
TPCOMMANDLINE=/usr/bin/tpprint -a0 -e1 -sx -v2 -l/var/log/turboprint_cups.log ---cpi=10 ---lpi=6 ---PageSize=A3 ---Resolution=600x600dpi ---job-uuid=urn:uuid:477dcbd8-4d3d-3f9d-7580-28e2014e43e6 --ppdfile=/etc/cups/ppd/HP1220C.ppd --psheader=/tmp/pstoturboprint14621.chunk
COMPLETEPIPE=/usr/share/turboprint/lib/tpstdin --paste /tmp/pstoturboprint14621.chunk | gs -sDEVICE=pcx24b -rx -gx -dSAFER -dNOPAUSE -dBATCH -sOutputFile=/tmp/pstoturboprint14621.fifo - >> /var/log/turboprint_cups.log
----------- Start of print job -----------
-r must be followed by <res> or <xres>x<yres>
------------ End of print job ------------

What does this mean? (BTW don't get hung up on the A3 printer as my Canon IP4000 does exactly the same thing, but with A4)

zedonet
Site Admin
Posts: 1808
Joined: Fri Oct 06, 2006 8:02 am

Post by zedonet » Mon Nov 27, 2006 3:29 pm

Sometimes printer entries get "confused" within CUPS.

Please try to remove and add the printer again from TurboPrint Setup / command line "xtpsetup".

DirkKoopman
Posts: 2
Joined: Sun Nov 26, 2006 12:08 pm

Post by DirkKoopman » Mon Nov 27, 2006 9:35 pm

I have done that. I deleted both printers. I have added back the HP 1220C using the CUPS recommended settings via the web interface and that now works again. I added back the Canon printer and that still does not work.

It appears that turboprint has stopped working. I am using ubuntu edgy, fully updated.

anoopjohn
Posts: 4
Joined: Mon Dec 18, 2006 6:21 pm

Post by anoopjohn » Mon Dec 18, 2006 6:39 pm

I seem to have the same problem with Canon pixma iP1200 on Ubuntu 6.10. The printer seems to get data as is indicated by the flashing light but then it feeds in the paper and feeds it out very fast without printing anything. I have no idea why it is happening
Anybody knows?

mini
Posts: 6
Joined: Wed Jan 10, 2007 9:16 pm

Post by mini » Thu Feb 01, 2007 12:23 pm

I have a similar problem on an MP600.

I solved it by checking the permissions of /dev/usb*

Turned out that cupsys runs as user "cupsys", which needs to be in group plugdev. This is on Ubuntu Feisty. So check

ls -l /dev/usb*
ps aux |grep cups
grep plugdev /etc/group

If that is the case for you, you need to

adduser cupsys plugdev

zedonet
Site Admin
Posts: 1808
Joined: Fri Oct 06, 2006 8:02 am

Post by zedonet » Wed Feb 07, 2007 10:13 am

Hello,

No general problem is known - printing with Ubuntu 6.10 is very reliable on our installations.

To anoopjohn:

There is a known problem with the Canon PIXMA iP1200. Both black & color cartridge must be present, otherwise an empty page is fed through the printer.

To clint1010:

Please post the logfile "/var/log/turboprint_cups.log" (section of the last print is sufficient).

flash78
Posts: 1
Joined: Mon Feb 12, 2007 6:56 am

Post by flash78 » Mon Feb 12, 2007 6:58 am

mini wrote:I have a similar problem on an MP600.

I solved it by checking the permissions of /dev/usb*

Turned out that cupsys runs as user "cupsys", which needs to be in group plugdev. This is on Ubuntu Feisty. So check

ls -l /dev/usb*
ps aux |grep cups
grep plugdev /etc/group

If that is the case for you, you need to

adduser cupsys plugdev
Thx, this solved my printing problem. :)

mini
Posts: 6
Joined: Wed Jan 10, 2007 9:16 pm

Post by mini » Mon Feb 12, 2007 9:22 am

Here's the feisty bug, by the way:

https://launchpad.net/ubuntu/+source/udev/+bug/82187

bbeck4x4
Posts: 5
Joined: Tue Jun 05, 2007 4:07 am

Post by bbeck4x4 » Wed Jul 11, 2007 10:05 pm

I made the changes suggested in the links, both printers are now showing up under hardware information, where before they were not, (thanks) in tpsetup, when I try to add the second printer with the r220 already installed, I get to where the program asks for the printer(i select the r260) and then, I am getting dropped back to the tpsetup screen, nothing more happens from there.

I also rebooted in hopes that it may help.

bbeck4x4
Posts: 5
Joined: Tue Jun 05, 2007 4:07 am

Post by bbeck4x4 » Thu Jul 19, 2007 10:43 pm

downloaded the newest version, printer is working great now.

Thank you for a great product :D :D :D :D

Post Reply