Could not print with net printer Canon iR2020i

Bug #306392 reported by foDDYY
4
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Our LAN printer is Canon iR2020i (URI:socket://10.140.30.250:9100), I can install driver easily but could not print. It always tell me "/usr/lib/cups/filter/pstopdf failed when I want to print, then task stopped.

tks.

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

There were several bug fixes already applied to Intrepid. Can you please apply all updates and when you have done so, do

cupsctl LogLevel=debug
cancel -a

and then send a print job. When the print job disappears or goes into "Stopped" state, take the /var/log/cups/error_log file and attach it to this bug report.

Changed in cups:
status: New → Incomplete
Revision history for this message
Paul Dufresne (paulduf) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
foDDYY (foddyy) wrote :

Very sorry for late answer. Now I'm testing 9.04 and the error still appear. I don't know if the driver in 9.04 is same with 8.10's, I post log file first. I will test 8.10 if it doesn't helps.

Revision history for this message
Paul Dufresne (paulduf) wrote :

Thanks for these new informations, they should help resolve this bug.

To me, it looks like it could be caused by the fact that the 'Helvetica' font is not found on your computer.
Follow is an extract from the given error_log:
D [23/Mar/2009:10:58:57 +0800] [Job 1] Error: /invalidfont in /findfont
D [23/Mar/2009:10:58:57 +0800] [Job 1] Operand stack:
D [23/Mar/2009:10:58:57 +0800] [Job 1] Helvetica
D [23/Mar/2009:10:58:57 +0800] [Job 1] Execution stack:
D [23/Mar/2009:10:58:57 +0800] [Job 1] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop 1739 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1820 1 3 %oparray_pop
D [23/Mar/2009:10:58:57 +0800] [Job 1] Dictionary stack:
D [23/Mar/2009:10:58:57 +0800] [Job 1] --dict:1158/1684(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)--
D [23/Mar/2009:10:58:57 +0800] [Job 1] Current allocation mode is local
D [23/Mar/2009:10:58:57 +0800] [Job 1] Last OS error: 2
D [23/Mar/2009:10:58:57 +0800] [Job 1] GPL Ghostscript 8.64: Unrecoverable error, exit code 1
D [23/Mar/2009:10:58:57 +0800] [Job 1] cat: 写入错误: Broken pipe
D [23/Mar/2009:10:58:57 +0800] [Job 1] cat: 写入错误: Broken pipe
D [23/Mar/2009:10:58:57 +0800] PID 3296 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [23/Mar/2009:10:58:57 +0800] [Job 1] Filetype: PDF
D [23/Mar/2009:10:58:57 +0800] [Job 1] Storing temporary files in /var/spool/cups/tmp
E [23/Mar/2009:10:58:57 +0800] PID 3295 (/usr/lib/cups/filter/pstopdf) stopped with status 1!
D [23/Mar/2009:10:58:57 +0800] [Job 1] File contains 1 pages

In http://ubuntuforums.org/showthread.php?t=56583 one can read:
"Helvetica is a Microsft font. Whilst it can be 'freely' distributed, it's not published under a free license, hence does not satisfy the Debian policy on licenses and not really Ubuntu's either."

But https://bugs.launchpad.net/bugs/193913 suggest that it may not be so simple.

Well, could you just try to print a document written with an other font?

I am far from being an expert on fonts.
I just looked in OpenOffice, and see, to my surprise in fact, that it use: Liberation Serif
Maybe you can try a "Dejavu ..." font, I think it was the default in the past.

Revision history for this message
foDDYY (foddyy) wrote :

I'm sure I did not use font of Helvetica and printed document is only a test page. So, I think it is not about font.

Revision history for this message
Paul Dufresne (paulduf) wrote :

Ah, OK, on the test page.

Well, this bug looks to me very much like bug #321932.

But I'd rather not have you try everything that was tested there (at least not until Till ask you).

So let's try to collect infos that Till have asked there.

Please give the results here of:
dpkg -l ghostscript defoma gsfonts ttf-mscorefonts-installer

Also the output of:
gs -c 'loadallfonts quit'

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.