evince can't print certain pdf files - GnomePrintCupsPlugin, iconv issues

Bug #27015 reported by Rudi von Staden on 2005-12-13
12
Affects Status Importance Assigned to Milestone
Evince
Fix Released
Medium
evince (Ubuntu)
Medium
Sebastien Bacher

Bug Description

trying to print some PDF files from evince fails - it seems to garble the print
job. only one page is printed instead of 11, and only some text (which seems to
be formatted in a different font). Evince was started using the terminal, and
these were the errors reported when printing to .ps file:

rudi@ndlovu:~/shares/common/UNGANA/Resources/Project
Management/The_Art_of_Project_Management$ evince
ch1_a_brief_history_of_project_management.PDF
Model not found, discarding config

(evince:10223): GnomePrint-WARNING **: Could not create filter from description
'frgba': filter 'frgba' is unknown

(evince:10223): GnomePrintCupsPlugin-WARNING **: iconv does not support ppd
character encoding: ISOLatin1, trying CSISOLatin1

When loading the .ps file in evince, these errors were then generated:

rudi@ndlovu:~$ evince output.ps
Error: /ioerror in --%image_file_continue--
Operand stack:

Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3
%oparray_pop 1 3 %oparray_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2
  %stopped_push --nostringval-- --nostringval-- 1 10 %oparray_pop 1
 --nostringval-- 1 0 1 (gs_image_enum) --nostringval-- --nostringval--
Dictionary stack:
   --dict:1053/1417(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)--
--dict:67/75(L)-- --dict:12/15(L)-- --dict:0/15(L)-- --dict:0/15(L)--
--dict:5/15(L)-- --dict:0/15(L)-- --dict:0/15(L)--
Current allocation mode is local
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1

http://bugzilla.gnome.org/show_bug.cgi?id=325993: http://bugzilla.gnome.org/show_bug.cgi?id=325993

Daniel Holbach (dholbach) wrote :

Thanks for your bug report. Which version of Ubuntu and evince do you use? Could
you run 'file <file>' on both of these files (in the terminal) and maybe attach
them to this bug report?

Rudi von Staden (rudi) wrote :

Ubuntu version: 5.10
Evince version: 0.4.0

file information:
source file (PDF): ch1_a_brief_history_of_project_management.PDF: PDF document,
version 1.4
output file (PS): output.ps: PostScript document text conforming at level 3.0

Unfortunately the files involved are downloaded chapters from O'Reilly's online
technical book resource (safari.oreilly.com) and are copyrighted and watermarked
with my account information. It would probably be an infringement to post them
here. What I can confirm is that the same error is generated from other
downloaded chapters (from other books also).

Daniel Holbach (dholbach) wrote :

Hm. Do you have other files generating the same or similar output, you *could*
share with us?

Rudi von Staden (rudi) wrote :

Created an attachment (id=5323)
PDF file that generates errors when printed

Rudi von Staden (rudi) wrote :

The same chapter is shared as a sample
(http://www.scottberkun.com/books/artofpm/) so there shouldn't be any issues.
That one doesn't generate the same error though. The generated PS file is 1.7
MB, which is apparently too big to attach.

Sebastien Bacher (seb128) wrote :

I've forwarded your issue upstream: http://bugzilla.gnome.org/show_bug.cgi?id=325993

Hi,

I confirm this issue on Ubuntu Dapper "up-to-date" (evince 0.5.2-0ubuntu2). Printing on a Minolta DI3510PS, with GhostScript driver.

Errors reported on the terminal :
-----------------------------------------------------------
Model not found, discarding config

(evince:8099): GnomePrint-WARNING **: Could not create filter from description ' frgba': filter 'frgba' is unknown
(evince:8099): Gtk-CRITICAL **: gtk_tree_model_foreach: assertion `GTK_IS_TREE_MODEL (model)' failed
(evince:8099): Gtk-CRITICAL **: gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed
-----------------------------------------------------------
The file does not print, cups says «print file sent, waiting for printer to finish», and nothing more, nothing gets printed.

On Breezy (up-to-date, evince v. 0.4.0-0ubuntu4.1), same problem, but different message on the terminal :

--------------------------------------------------------
Model not found, discarding config

(evince:17958): GnomePrint-WARNING **: Could not create filter from description 'frgba': filter 'frgba' is unknown

(evince:17958): GnomePrintCupsPlugin-WARNING **: iconv does not support ppd character encoding: ISOLatin1, trying CSISOLatin1
(evince:17958): GnomePrintCupsPlugin-WARNING **: iconv does not support ppd character encoding: UTF8, trying CSISOLatin1
---------------------------------------------------------
same message from CUPS.
the file gets printed OK with KPDF (v 3.4.3-0ubuntu2.5) on Breezy !!

Olivier Cortès (olive) wrote :

Confirmed on "up-to-date" Dapper and Breezy (use "another confirmation" attachment to test).

Changed in evince:
status: Unconfirmed → Confirmed
Olivier Cortès (olive) wrote :

For information, this happens on Breezy and Dapper, both of which are French UTF-8 systems.

Daniel Holbach (dholbach) wrote :

Prints nicely for me.

Changed in evince:
status: Confirmed → Fix Released
Sebastien Bacher (seb128) wrote :

fixed with GTK printing (which is available with edgy) according to upstream

Changed in evince:
status: Confirmed → Fix Released
Changed in evince:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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