Printer won't print although Ubuntu says that job is completed, also driver won't update

Bug #375763 reported by spiral
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

Hi,
I have canon LBP3000 laser printer. I have downloaded both versions of driver from canon, version 1.6 and 1.8, and followed step by step instructions. I also checked all over the net for the solution, but found none.
My printer is identified, and status is fine, just it wont print. This is in detail what happens, and the steps I followed.
First I made sure that I have removed printer's spooler:

/usr/sbin/lpadmin -x LBP5000

Then, I installed these provided packages:

# dpkg -i cndrvcups-common_1.80-1_i386.deb

# dpkg -i cndrvcups-capt_1.80-1_i386.deb

I checked for driver version by:

# dpkg -l | grep cndrvcups

and it was fine, 1.80

Then I restarted cups and registered:
/usr/sbin/lpadmin -p LBP3000 -m CNCUPSLBP3000CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
/usr/sbin/ccpdadmin -p LBP3000 -o /dev/usb/lp0

And started daemon:

# /etc/init.d/ccpd start

In system/preferences/default printer my printer is set as default

In system/administration/printing there is LBP3000 with green check

I click on properties and I noticed that for driver it says 1.5 version. That was odd, but I tried nonetheless. I did print page, it said completed, but no printing occurred. I then tried to changeMake and Model by clicking on the button to the right and chosing the right ppt file, since from select from database was only that 1.5 version driver that probably came with Ubuntu. I am using 9.04, so its a bit odd that it has driver so old.

In previous steps you noticed that in fifo0 I registered my ppt, and fifo0 is chosen, but still that 1.5 version, and printer wont print anything although status says everything is fine and printing jobs compleated.

It took me hours and hours working on this, but still no solution.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/yelp
NonfreeKernelModules: fglrx
Package: yelp 2.25.1-0ubuntu5
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: yelp
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
spiral (spiralciric) wrote :
affects: ubuntu → cups (Ubuntu)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you run

sudo aa-complain cupsd

and then try to print again? Does it work now?

Revision history for this message
spiral (spiralciric) wrote :

No, still nothing. It says that printer is online, and job is completed.

Revision history for this message
spiral (spiralciric) wrote :
Revision history for this message
Stephan Gauch (stephan-gauch) wrote :

Does your printer have the option to report PS-Errors when using PS drivers? If yes, could you enable this option, try to print and if you get an error message post it for this or the other bug.

ths

Revision history for this message
spiral (spiralciric) wrote :

Just tell me how can I see if my printer has the option to report PS-errors and how to enable this option, and I'll give you the response as soon as possible?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

This is an option inside the printer, controllable by the printer's front panel or web interface.

If the printer has a display you can usually enter menus there, by pressing a "Menu" button or the "OK" button. Then go through the menus and look for a "Print PS errors" option or similar.

If the printer is connected via the network, it has usually also a web interface which appears if you enter the printer's IP in the URL field of a web browser. Look through the configuration settings there if your printer has no front panel display/menus.

Revision history for this message
spiral (spiralciric) wrote :

Printer has only two buttons - power button and paper button. It does not have a display nor is connected via network. I will try to find something in the manual.
I have dual boot, and in Windows XP, printer works just fine.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you try the following: Replace the file /usr/lib/cups/filter/pdftops by the attached file and make the new file executable ("sudo chmod 755 /usr/lib/cups/filter/pdftops"). Then try to print again. Does it work now?

Note that currently bug 310575 still applies with it, but this will soon be solved by a Poppler fix (https://bugs.freedesktop.org/show_bug.cgi?id=19777, bug 382379).

Revision history for this message
Martin Eriksson (m-eriksson) wrote :

Till Kamppeter,

I can confirm that your fix also works for the KONICA-MINLOTA-C250-P bizhub printer!

Thanks alot!

Changed in cups (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
spiral (spiralciric) wrote :

Nope, still nothing. When I try to print something it just says that it is processing the job, but nothing gets printed. Tomorrow I will try on my eee with 8.04 Ubuntu to see if it works there.

summary: - printer wont print although ubuntu says that job is compleated, also
- driver wont update
+ Printer won't print although Ubuntu says that job is completed, also
+ driver won't update
Revision history for this message
Stephan Gauch (stephan-gauch) wrote :

I can also confirm that the fix works for KONICA-MINLOTA-C250-P

thx for the fix,

stephan

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

spiral, can you provide an error_log as described on

https://wiki.ubuntu.com/DebuggingPrintingProblems

in the "CUPS error_log" section?

Can you also try the pdftops filter attached to this comment?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Sorry, I attached the wrong file. Please use the one attached to this comment.

Revision history for this message
spiral (spiralciric) wrote :

It still does not work, even with that new file. I followed steps on that wiki page, and here is the error_log.

Following the steps in wiki, I noticed that there was no file cupsys. I then went to synaptic and installed it (cups was there, just not cupsys), but it did not appear in the location mentioned in wiki page. Thus instead of cupsys restart I had to do cups restart.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Your error_log contains the following lines:

D [11/Jun/2009:10:21:12 +0200] [Job 25] argv[5]="CNHalftone=pattern1 PageSize=Letter CNTonerDensity=3 MediaType=PlainPaper InputSlot=0 CNSuperSmooth number-up=1 noCNTonerSaving job-uuid=urn:uuid:29cf388f-66f6-3657-4ded-76a57c55da15"
[...]
D [11/Jun/2009:10:21:12 +0200] [Job 25] envp[12]="TZ=Europe/Belgrade"

So your print job is called with PageSize=Letter and your time zone is Europe/Belgrade. Are you actually using Letter-sized paper? I would assume that A4-sized paper is loaded into your printer. Perhaps the printer refuses printing due to the paper size mismatch. So check your /etc/papersize file (it should contain "a4" and nothing more), your printer's default settings (System -> Administration -> Printing, right-click printer icon, Properties, Printer Options, Page Size or Media Size), the settings in the application (the page size setting can be also under "File"/"Page Setup", "File"/"Print Setup", or "Format"/"Page").

Revision history for this message
spiral (spiralciric) wrote :

I changed everything as you said, but still nothing.
Still, even if that worked, it would not explain why drivers wont update.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The problem is most probably in the Canon driver and not in Ubuntu's printing infrastructure. This is NOT a duplicate of bug 372166 nor of bug 382379.

Can you print a job and when the job has disappeared from the print queue attach /var/log/syslog?

Can you also attach your /etc/cups/ppd/LBP3000.ppd?

Can you also post the output of

lpinfo -m | grep -i LBP
lpinfo -v
dpkg -L cndrvcups-common | grep -i ppd
dpkg -L cndrvcups-capt | grep -i ppd

Changed in cups (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
spiral (spiralciric) wrote :

Job does not disappear from the print queue. It is processing all the time, all until I cancel it. In printer properties I have "Processing - printer is now on-line"
I canceled printing of test page, and /var/log/syslog is attached right after.

Revision history for this message
spiral (spiralciric) wrote :
Revision history for this message
spiral (spiralciric) wrote :

lpinfo -m | grep -i LBP

Output is in attachment

Revision history for this message
spiral (spiralciric) wrote :

lpinfo -v

network socket
network beh
direct hal:///org/freedesktop/Hal/devices/usb_device_4a9_266a_0000A381092c_if0_printer_noserial
direct ccp:/var/ccpd/fifo0
direct ccp:/var/ccpd/fifo1
direct ccp:/var/ccpd/fifo2
direct ccp:/var/ccpd/fifo3
direct ccp:/var/ccpd/fifo4
direct ccp:/var/ccpd/fifo5
direct ccp:/var/ccpd/fifo6
direct ccp:/var/ccpd/fifo7
direct hpfax
direct hp
network http
network ipp
network lpd
direct scsi
network smb

Revision history for this message
spiral (spiralciric) wrote :

This line produced no output:
dpkg -L cndrvcups-common | grep -i ppd

But this one produced this output:
dpkg -L cndrvcups-capt | grep -i ppd

/usr/share/cups/model/CNCUPSLBP1120CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP1120CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP1210CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP1210CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP2900CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP3000CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP3000CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP3200CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP3200CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP3210CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP3210CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP3300CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP3300CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP3310CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP3310CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP3500CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP3500CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP3600CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP5000CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP5000CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP5100CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP5100CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP5300CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP5300CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP3250CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP3050CAPTK.ppd
/usr/share/cups/model/CNCUPSLBP3100CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP3150CAPTK.ppd

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The PPD files from Canon's package

/usr/share/cups/model/CNCUPSLBP3000CAPTJ.ppd
/usr/share/cups/model/CNCUPSLBP3000CAPTK.ppd

contain the version number 1.5 according to the "lpinfo -m" command:

CNCUPSLBP3000CAPTJ.ppd Canon LBP3000 CAPT ver.1.5
CNCUPSLBP3000CAPTK.ppd Canon LBP3000 CAPT ver.1.5

So there is no update failure. You have the correct PPD file.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you post the output of

ps auxwww | grep ccpd
ls -l /dev/usb/lp*

Revision history for this message
spiral (spiralciric) wrote :

spiral@spiral:~$ ps auxwww | grep ccpd
root 3044 0.0 0.0 4636 1436 ? Ss 14:47 0:00 /usr/sbin/ccpd
spiral 5078 0.0 0.0 3340 812 pts/0 S+ 15:16 0:00 grep ccpd
spiral@spiral:~$ ls -l /dev/usb/lp*
crw-rw----+ 1 root lp 180, 0 2009-06-12 15:16 /dev/usb/lp0

Revision history for this message
spiral (spiralciric) wrote :

Ok, that is strange, I tried to chmod the /dev/usb/lp0, but there is no usb directory in /dev folder. There are just usbdev* files.
I searched through whole filesystem for lp0 file, but there is none.

Revision history for this message
spiral (spiralciric) wrote :

Ok, sorry. I did not realize that that file appears only when printer is connected.

Revision history for this message
spiral (spiralciric) wrote :

I did chmod 777 and chown spiral to that file, but that did not solve the problem.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you post the output of

ls -l /var/ccpd/fifo*

Revision history for this message
spiral (spiralciric) wrote :

prwxrwxrwx 1 lp lp 0 2009-05-13 00:41 /var/ccpd/fifo0
prwxrwxrwx 1 lp lp 0 2009-05-13 00:41 /var/ccpd/fifo1
prwxrwxrwx 1 lp lp 0 2009-05-13 00:41 /var/ccpd/fifo2
prwxrwxrwx 1 lp lp 0 2009-05-13 00:41 /var/ccpd/fifo3
prwxrwxrwx 1 lp lp 0 2009-05-13 00:41 /var/ccpd/fifo4
prwxrwxrwx 1 lp lp 0 2009-05-13 00:41 /var/ccpd/fifo5
prwxrwxrwx 1 lp lp 0 2009-05-13 00:41 /var/ccpd/fifo6
prwxrwxrwx 1 lp lp 0 2009-05-13 00:41 /var/ccpd/fifo7

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The problem seems to be Canon's ccp backend. The pipes with which the backend takes in the data have 777 permissions, so jobs get accepted independent with which user rights the backend is executed. The error_log shows that all filters close successfully, only the backend keeps running without issuing any messages until you cancel the job. For me it looks like the backend is broken, so from the Ubuntu side we cannot do anything.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Reported upstream to the Canon guys in Japan ...

Revision history for this message
iheartubuntu (iheartubuntu) wrote :

I too have this problem since upgrading to 9.10. I have a Canon ip2600 inket at home and an HP M2727 laserjet at work. Both dont print when trying to print PDF files. I can print OO files fine and anything else just fine.

Ive noticed that I **CAN** print PDF files if I use Okular.

Revision history for this message
pinzia (pinzia) wrote :
Revision history for this message
Michael Holland (michael-chiengfa) wrote :

I have almost the same problem printing to an Epson T11. It worked fine in 9.10 but then after upgrading to 10.04 nothing comes out. The printer configures fine, and when printing a test page, the light blinks as if it's getting the print data, but then nothing happens. I can't find any errors in any logs, and none of the other suggestions above have any effect.

Revision history for this message
Martin Sandgren (carlmartus) wrote :

I can confirm this bug for my printer which is a Brother HL-2030.

I've tried from my laptop and my desktop, both run LUbuntu 10.10. Before when I ran normal Ubuntu the printer worked as is was supposed to on both laptop and desktop. Now when I changed to LUbuntu it doesn't work.

If I look in the log-files CUPS says it was a success (/var/log/cups/access_log):
localhost - - [20/Dec/2010:13:32:16 +0100] "POST /printers/Brother-HL-2030-series HTTP/1.1" 200 119845 Print-Job successful-ok

The error file is empty so I assume there was no problem.

Interesting note: When I press "print" sometimes the printer spins up. But it never actually prints anything.
I was thinking that it might be a problem with the hardware since the software says 'OK' but the printer shows a green light which it does when everything is working.

Revision history for this message
cmcanulty (cmcanulty) wrote :

same problem here job runs put stays processing forever

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

cmcanulty, this bug report is very old, if you suffer any similar problem it is easily caused by something else. Please report a new bug following the instructions on https://wiki.ubuntu.com/DebuggingPrintingProblems.

Revision history for this message
Behnam (b-azizi-g) wrote :

Hi there,

I had the exact same problem until I realized doing the following fixed my problem:
    - Go to 'Image Quality' tab, or click on 'Properties' then go to 'Image Quality' tab
     - Try different resolutions then click 'Print'
In my case, changing 'HQ1200' to '600dpi' fixed the problem. Of course I had to print the document using lower quality, but 600dpi was good enough.

Revision history for this message
Ginevra Buratti (ginevra.buratti) wrote :

@b-azazi-g I had the same problem and this fixed it

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.