firefox prints only one page, even there are 10 ...

Bug #459013 reported by brazz
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
firefox-3.5 (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.5

firefox 3.5./3 prints only one page even if there are several, even if something is printed in a pdf file!

ProblemType: Bug
Architecture: i386
Date: Fri Oct 23 13:50:57 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: fglrx
Package: firefox-3.5 3.5.3+build1+nobinonly-0ubuntu6
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: firefox-3.5
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
brazz (brazz-ardent) wrote :
Revision history for this message
James Pandavan (james-pandavan) wrote :

Can you please confirm that you used "All Pages" option?

Revision history for this message
brazz (brazz-ardent) wrote : Re: [Bug 459013] Re: firefox prints only one page, even there are 10 ...

James Pandavan wrote:
> Can you please confirm that you used "All Pages" option?
>
>
Oh yes, of course. But I se that some websites are OK with this (i.e
http://planet.ubuntu-fr.org/) and others no (i.e
http://www.dslvalley.com/dossiers/9box4/neufbox-nat-emule.php) .. Its
crazy ! I have now installed AddOn Compatibility Reporter and
desactivated all no compatibles addons.

Revision history for this message
James Pandavan (james-pandavan) wrote :

I tried to repeat the test for the site http://www.dslvalley.com/dossiers/9box4/neufbox-nat-emule.php

Found the same issue.

print to pdf file attached (part-print.pdf).

Changed in firefox-3.5 (Ubuntu):
status: New → Confirmed
Revision history for this message
James Pandavan (james-pandavan) wrote :

@brazz

As a workaround you may try screengrab addon. Please see if it helps.
https://addons.mozilla.org/en-US/firefox/addon/1146

Revision history for this message
GaryW (gnubyexample) wrote : blank pages problem and firefox - more examples

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The backend that generates the pdf is I think libcairo2 which is at
version 1.8.8
in Karmic:
  http://packages.ubuntu.com/karmic/libcairo2

However the problem is not I think in libcairo2 but perhaps
in the interaction between Firefox 3.5 (Shiretoko) and libcairo2
which maybe is not working properly.

The libcairo2 1.8.8 library does not seem to have the same issue
when Epiphany 2.28 attempts to 'Print to file' .pdf
as hopefully the attached examples hopefully show.

Next attachment examples are working well so no problems I think:

  cheesyKarmicAthlonEpiphany228cairo188output5filledPages.ps

  cheesyKarmicAthlonEpiphany228cairo188output5filledPages.pdf

Both of the above have all pages filled so I think no problems there.

Now what comes next are Firefox 3.5 not working so well as the .ps and
.pdf have
matching page counts but the .pdf versions are incomplete as
described in the original bug report description #459013 by brazz

  cheesyKarmicSempronFF35cairo188latestShiretoko7filledPages.ps

  cheesyKarmicSempronFF35cairo188latestShiretoko1filled6blank.pdf

Now I attempt to go back to older Firefox3.0 which uses cairo 1.8.6 to try
and explore if it is an issue with just 1.8.8 version of cairo but similar
behaviour observed with 1.8.6 from Firefox 3.0.14

  cheesyJauntyFF3014cairo186output7filledPages.ps

  cheesyJauntyFF3014cairo186output1filled6blank.pdf

In understanding this comment entry please think less of the number of
total pages, but see the presence of blank pages in the .pdf (compared
with .ps generated by same Web Browser version) as being the issue
to support the original bug report.

Checking which version of cairo generated a .pdf from within
Document Viewer (Evince) I used File/Properties menu option
and read off the 'Creator' field.

To reproduce the examples here firstly do 'Print to File' and
'Postscript' (.ps) and then repeat but using
'Print to File' and PDF (.pdf)

All examples based on viewing in Firefox the recipe at:
http://www.dazzledish.com/blog/recipes/appetizer/cheesy-broccoli-and-potato-soup/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr3fNcACgkQzgIi0OuM/w5I8ACdF2ovzCMXVSpjvYMMu6KbV+qY
ZA4AnRqLkW3VLGWSJjID5avmRf8DpuW8
=/hvR
-----END PGP SIGNATURE-----

Revision history for this message
GaryW (gnubyexample) wrote : Firefox 3.5.5 update and pdf truncation - some improvement noted.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The update of Firefox to 3.5.5 has solved the recipe printing problem,
so the postscript and pdf files both give out 7 complete and filled pages :)

   cheesyKarmicFF355cairo188in7pages.ps

   cheesyKarmicFF355cairo188in7pages.pdf

for the recipe page at dazzledish referred to in my comment #6

The version of libcairo2 has not changed - as show in the supporting
information (given at the end)

There is still a problem with truncation of some .pdf output for
the dslvalley test address as provided by brazz in comment #3

retesting with Epiphany 2.28.0 and Firefox 3.5.5 gives the attached files:

   neufboxEpiphany228cairo188in4pages.ps

   neufboxEpiphany228cairo188in4pages.pdf

which are complete and seem a good representation of the webpage
in the browser.

however using Firefox gives poor results:

   neufboxKarmicFF355cairo188in2pages.ps

   neufboxKarmicFF355cairo188in2pages.pdf

Both of the above files (postscript and pdf) are not a good
representation of the page at:
  http://www.dslvalley.com/dossiers/9box4/neufbox-nat-emule.php

...and seem to still demonstrate the truncation previously report in
comment #3 and #4

gnubyexample@amd754n:~$ date;cat /etc/*elease;uname -a;apt-cache policy
libcairo2 firefox-3.5;date
Fri Nov 13 22:10:42 GMT 2009
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"
Linux amd754n 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC
2009 i686 GNU/Linux
libcairo2:
  Installed: 1.8.8-2ubuntu1
  Candidate: 1.8.8-2ubuntu1
  Version table:
 *** 1.8.8-2ubuntu1 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status
firefox-3.5:
  Installed: 3.5.5+nobinonly-0ubuntu0.9.10.1
  Candidate: 3.5.5+nobinonly-0ubuntu0.9.10.1
  Version table:
 *** 3.5.5+nobinonly-0ubuntu0.9.10.1 0
        500 http://archive.ubuntu.com karmic-updates/main Packages
        500 http://archive.ubuntu.com karmic-security/main Packages
        100 /var/lib/dpkg/status
     3.5.3+build1+nobinonly-0ubuntu6 0
        500 http://archive.ubuntu.com karmic/main Packages
Fri Nov 13 22:10:42 GMT 2009

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr93aoACgkQzgIi0OuM/w7O4QCeLiI7CPMxEY6cqvqJC8PwcfYJ
yewAnivY/RewKgy121w2B16Yy7gcjYn6
=dU6w
-----END PGP SIGNATURE-----

Revision history for this message
Wolfgang Kufner (wolfgangkufner) wrote :

I just was hit by this problem while trying to print:
http://www.ris.bka.gv.at/GeltendeFassung.wxe?Abfrage=Bundesnormen&Gesetzesnummer=10003860

with:
firefox:
  Installiert: 3.5.5+nobinonly-0ubuntu0.9.10.1
  Kandidat: 3.5.5+nobinonly-0ubuntu0.9.10.1
It prints only 1 of 88 pages to pdf.

chromium-browser (from ppa) printed all 88 pages to pdf.

Revision history for this message
Evan Carroll (evancarroll) wrote :

I think this post should help:
http://jafferhaider.wordpress.com/2007/12/29/fix-for-the-firefoxcss-one-page-printing-bug/

I had the same bug, "* { overflow: visible !important }"

Revision history for this message
Ric Flomag (ricflomag) wrote :

This bug is now fixed. I have tested Firefox 4 beta 7 on the following page: http://www.penombre.org/Flou-controle
See https://bugzilla.mozilla.org/show_bug.cgi?id=104040#c22 for more details.

Changed in firefox-3.5 (Ubuntu):
status: Confirmed → Fix Committed
To post a comment you must log in.