printing PDFs (and other complex documents) from GTK applications fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Expired
|
Medium
|
|||
cups (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
cups-filters (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
firefox (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
thunderbird (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Hello,
I'm discovering a bug when printing complex PDFs or other complex documents from GTK applications. Printing complex PDFs from evince, or sometimes even printing comples webpages from firefox result in one error page being printed instead of the document content:
+------
| ERROR NAME; |
| undefined |
| COMMAND; |
| Q |
| OPERAND STACK; |
+------
My printer is a Brother HL 5270DN. It doesn't matter whether the printer is connected via USB or as network printer. In both cases the described bug does happen. The PPD I use is "Brother HL-5270DN BR-Script3", similar to the one at http://
I discovered this bug in up-to-date Debian unstable for several years already. Now I switched one of my laptops to Ubuntu Natty (fresh installation), and unfortunately discovered the same bug there as well.
I'm pretty sure that this bug is related to bug #419143, and not really in CUPS, but rather in some library (poppler or cairo) used by GTK applications. The same PDFs that produce the described error in evince, print fine in okular.
I attach an example PDF that doesn't print in evince, but prints fine in okular. It's sufficient to (try to) print page 1 of the document.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: cups 1.4.6-5ubuntu1.2
ProcVersionSign
Uname: Linux 2.6.39-0-generic x86_64
Architecture: amd64
CupsErrorLog:
Date: Tue Jun 28 13:13:29 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
Lpstat: device for Brother-HL-5270DN: lpd://192.
MachineType: LENOVO 4180W1H
Papersize: a4
PpdFiles: Brother-HL-5270DN: Brother HL-5270DN BR-Script3
ProcEnviron:
LANGUAGE=de:en
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/13/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 83ET56WW (1.26 )
dmi.board.
dmi.board.name: 4180W1H
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 4180W1H
dmi.product.
dmi.sys.vendor: LENOVO
Changed in cups (Ubuntu): | |
status: | New → Confirmed |
Changed in cups (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in firefox: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in firefox: | |
status: | New → Unknown |
Changed in firefox: | |
status: | Unknown → New |
Changed in firefox: | |
status: | New → Expired |
I've got a Brother HL-5350DN and I have been able to reproduce the same error when using firefox to print webpages with images. This has now been fixed in poppler git. However I am unable to reproduce the problem using the PDF attached to this bug.
Could you try the following:
1. Print Magister- Studienordnung. pdf from evince to a PDF file.
2. Use poppler to convert the PDF to PS:
pdftops -level3 file.pdf
3. Print the PS file with CUPS filtering disabled:
lpr -o raw file.ps
If that fails to print please attach the PS file.
You could also try the same using PS level 2 (pdftops -level2)