Bug 9853

Summary: Evince does not print a particular PDF properly
Product: poppler Reporter: Sebastien Bacher <seb128>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: corrupt pdf file that prints on xpdf and acroread but not evince

Description Sebastien Bacher 2007-02-02 07:09:09 UTC
That bug has been opened on
https://launchpad.net/ubuntu/+source/evince/+bug/78369

"Binary package hint: evince

evince cannot print the following PDF:

http://www.networkwestmidlands.com/DirectDebit/Direct%20Debit%20form%2007.pdf

It does print properly using GNOME PDF Viewer and Adobe Acrobat.

No output on the console, but this appears in /var/log/syslog:

Jan 7 22:39:18 localhost hpiod: unable to write data
hp:/usb/DeskJet_895C?serial=MX92C1W0N7FB: Resource temporarily unavailable
io/hpiod/channel.cpp 63
Jan 7 22:39:18 localhost DeskJet_895C?serial=MX92C1W0N7FB: INFO: check device;
will retry in 30 seconds...

The printer then halts, and I have to power cycle it to get the paper out. The
output consists of a few centimetres of barely recognizable garbage.

On my HP Photosmart 8150 the results are similar, but the printer never
actually prints anything... it just seems to hang.
Comment 1 Jonathan Ernst 2007-11-19 21:56:23 UTC
This PDF now prints but I still have a lot of customers who sometimes complain about impossibility to print from evince. Everytime this happens, the workaround is to print to PDF from evince (sic!) and then print the PDF generated from the PDF.

Most of the times the PDF has some issues (reported by pdf2ps), but not everytime.

I have here two PDF files (that I unfortunately cannot attach or upload publicly) that show this problem.

If a developer is wanting to look at them, I might send them to him or follow his instructions in order to determine the problem.
Comment 2 Albert Astals Cid 2009-06-17 14:23:02 UTC
Closing this one as the user says they work now.

Jonathan all you can do is create bugs with public files, if you can't share them, we can't fix them.
Comment 3 Tobias 2009-11-24 08:25:53 UTC
Created attachment 31445 [details]
corrupt pdf file that prints on xpdf and acroread but not evince

Ubuntu 9.10 Linux 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686 GNU/Linux
evince: 2.28.1-ubuntu1.2 (karmic-updates)

I still have this bug with the attached file using evince. It prints fine with acroread or xpdf.
The workaround printing to a pdf using evince and then printing that pdf file from evince mentioned in comment #16 works for me.
With evince I get a printout saying;
ERROR: undefined
OFFENDING COMMAND: 0a "0a" COMMAND TYPE: nametype
and more...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.