Launchpad has imported 9 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1204551.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2015-09-14T16:01:27+00:00 Thomas Mayer wrote:

Created attachment 8660794
PDFs-FF40.tar.gz

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 
Firefox/40.0
Build ID: 20150826185918

Steps to reproduce:

Environment:
I have FF 40.0.3 and TB 38.2.0, ubuntu 14.04.3, Kernel 3.19, standard CUPS 
setup with Kyocera FS-1020d printer, PPD installed from various places (tried 
PPD provided by ubuntu, by Kyocera and by openprinting project .deb file), 
Printer with Paper Feeder option, 128M option, Kyocera Printserver (builtin).

All user specific settings for printing were reset in about:config
(variables which contain 'print' in the name).

Reproduce with:
Case 1 (test1.pdf taken from cups):
- Open web page https://boerse.dab-bank.de/maerkte-kurse/aktien.html
- Print page

Case 2 (test2.pdf taken from cups): 
- Open web page https://www.dab-bank.de/Service/Kontakt/
- Print page

Case 3 (print-to-file.pdf/print-to-file-cups.pdf):
- Open web page https://www.dab-bank.de/Service/Kontakt/
- Print to PDF File via printer dialog (cups_pdf), store to print-to-file.pdf
- Print the exported file with lpr (print-to-file-cups.pdf from /var/spool/cups)

Case 4 (print-to-file-cups-from-evince.pdf):
- Open web page https://www.dab-bank.de/Service/Kontakt/
- Print to PDF File via printer dialog (cups_pdf), store to print-to-file.pdf
- Print with evince (print-to-file-cups-from-evince.pdf from /var/spool/cups)


Actual results:

Case 1:
- Similar web page prints just perfectly

Case 2 + 3:
- Printer heats up, but does not print. Print job is lost, even cups thinks it 
was printed.

Case 4:
- Evince (which has Cairo 1.13) can print FF's ouput pdf file perfectly


Expected results:

Expected result: All 4 test cases should be printed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/802942/comments/16

------------------------------------------------------------------------
On 2015-09-14T16:23:53+00:00 Thomas Mayer wrote:

I experience similar problems with Thunderbird 38.2.0. Note that >90% of
all web pages and emails print out just fine, so in general everything
works (printer configuration and printer hardware work in general, and
there are no problems with other applications. Using chromium (Version
44.0.2403.89 Ubuntu 14.04, 64-bit) I don't have the problem.

The difference with evince is that it uses Cairo 1.13 (~2014) while
Gecko uses a patched version of Cairo 1.9.5 (~2010).

In the meantime there have been a lot of improvements to Cairo in
respect to PDF: http://cgit.freedesktop.org/cairo/log/?qt=grep&q=pdf

Ubuntu printing maintainer and leader of the OpenPrinting project, Till
Kamppeter sees a high likelyhood that this issue is fixed as soon as
gecko/FF/TB is updated to a recent Cairo version (or Gecko's Cairo
version gets patched respectively).

This issue affects multiple ubuntu users on launchpad, and I experience
it myself for years (since at least ~2011).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/802942/comments/17

------------------------------------------------------------------------
On 2015-09-15T04:59:48+00:00 Thomas Mayer wrote:

There is also a tracking bug 739096 for the Cairo version. This bug
deals with other issues (e.g. performance of graphics), so it is not a
duplicate. However, bug 739096 might fix this issue (bug 1204551) as
well in case you don't want to go for patching Cairo 1.9.5 again.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/802942/comments/20

------------------------------------------------------------------------
On 2016-06-17T09:37:57+00:00 Thomas Mayer wrote:

As of FF 47.0, ubuntu 16.04, one of the test scenarios (Case 2) still
does not print (with the other scenarios not tested again):

- Open web page https://www.dab-bank.de/Service/Kontakt/
- Print page

=> Printer Kyocera fs-1020d shows some action (fan blows, led indicates
to get data), but then nothing prints out, and the printer goes idle
again. As if nothing had happened. The print job is not visible to
ubuntu any more which can be considered as a data loss (no print job, no
printed page, no error visible to user).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/802942/comments/21

------------------------------------------------------------------------
On 2016-06-18T07:55:17+00:00 Thomas Mayer wrote:

In ubuntu 16.04, I tried out the libcairo which ubuntu comes shipped
with and compiled FF47.0 myself, using the build-option --enable-system-
cairo.

After the change, it works: I can finally print https://www.dab-
bank.de/Service/Kontakt/ on my old Kyocera fs-1020d. Same for
https://boerse.dab-bank.de/maerkte-kurse/aktien.html.

This is the version of libcairo I used (and which also worked!):

apt-cache show libcairo2
Source: cairo
Version: 1.14.6-1

I made the build with:

sudo apt-get install packaging-dev libcairo2 libcairo2-dev
<= install all the dependencies for the build

pull-lp-source firefox xenial
cd firefox-47.0+build3/
echo "ac_add_options --enable-system-cairo" >> debian/config/mozconfig.in
dpkg-buildpackage -rfakeroot -uc -b
sudo dpkg -i firefox_47.0+build3-0ubuntu0.16.04.1_amd64.deb

I can't wait to see FF and TB to come shipped with a new version of
libcairo.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/802942/comments/24

------------------------------------------------------------------------
On 2016-06-18T16:41:33+00:00 Thomas-mayer wrote:

Reproduced against current nightly build 50.0a1 (2016-06-18)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/802942/comments/27

------------------------------------------------------------------------
On 2016-07-18T22:06:45+00:00 Thomas-mayer wrote:

Similar issues with brother printers:
https://bugs.launchpad.net/ubuntu/+source/foomatic-db/+bug/1306849

Not sure if this is also libcairo related.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/802942/comments/32

------------------------------------------------------------------------
On 2021-08-15T21:31:11+00:00 Mathew Hodson wrote:

>From comments in bug 739096, this should depend on bug 739096. Do you
still see the issue in Firefox 90 or later?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/802942/comments/35

------------------------------------------------------------------------
On 2021-08-16T10:35:28+00:00 Thomas Mayer wrote:

Hi Mathew, just a few weeks ago, I got rid of my Kyocera-FS1020d (which
was built in 2004, almost two decades ago and still running).

That said, I cannot test anything with this printer any more. Maybe
someone else is still affected and can test what happens?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/802942/comments/36

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/802942

Title:
  printing PDFs (and other complex documents) from GTK applications
  fails

Status in Mozilla Firefox:
  New
Status in cups package in Ubuntu:
  Invalid
Status in cups-filters package in Ubuntu:
  Invalid
Status in firefox package in Ubuntu:
  Confirmed
Status in thunderbird package in Ubuntu:
  Confirmed

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://www.openprinting.org/download/PPD/Brother/BR5270_2_GPL.ppd

  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
  ProcVersionSignature: Ubuntu 2.6.39-0.5~20110427-generic 2.6.39-rc5
  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.168.1.75/PASSTHRU
  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=/vmlinuz-2.6.39-0-generic 
root=/dev/mapper/vgsys-root ro quiet splash vt.handoff=7
  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.asset.tag: Not Available
  dmi.board.name: 4180W1H
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvr83ET56WW(1.26):bd05/13/2011:svnLENOVO:pn4180W1H:pvrThinkPadT420:rvnLENOVO:rn4180W1H:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 4180W1H
  dmi.product.version: ThinkPad T420
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/802942/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to