Bug 407601 - When printing or previewing some web-pages, the right margin is cut of.
When printing or previewing some web-pages, the right margin is cut of.
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: firefox (Show other bugs)
8
ia64 Linux
low Severity medium
: ---
: ---
Assigned To: Gecko Maintainer
Fedora Extras Quality Assurance
http://www.ibm.com/developerworks/jav...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-01 20:13 EST by Juha Anon
Modified: 2007-12-06 09:47 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-12-06 09:47:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Mozilla Foundation 259186 None None None Never

  None (edit)
Description Juha Anon 2007-12-01 20:13:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.10) Gecko/20071126 Fedora/2.0.0.10-1.fc8 Firefox/2.0.0.10 pango-text

Description of problem:
This is probably a generic printing problem for those who prints on the A4 page format. 

When printing some web-pages (example given) the last few characters at the right margin is cut of. Changing the margin in the page setup keeps cutting of exactly the same width of the text at the right margin. The amount that's cut off is about the difference between the width of US Letter and A4. It's exactly the same both with what's shown in the page preview and what's printed.

My printer is CUPS (Laserjet 4L on an USB port) with A4 page size. It's the default printer and has option media=A4. It also prints a testpage with correct margins.

I suspect that Firefox base it's calculation of the page width and wraps lines assuming that the page width is US Letter. But it prints the result with the width of an A4 page.

I have tried changing the printer options between A4 and US Letter with no difference.

There's no way to get all the text on the long lines printed. I have had similar problems with Firefox in a Windows environment. But there is was possible to get all the text by changing the margins. I therfore think this is an old Firefox problem. But it's exreamly annoying.


Version-Release number of selected component (if applicable):
firefox-2.0.0.10-1.fc8

How reproducible:
Always


Steps to Reproduce:
1. Print or preview certain web-pages.
2.
3.

Actual Results:
As described above.

Expected Results:


Additional info:

lpoptions
media=A4 finishings=3 copies=1 job-hold-until=no-hold job-priority=50 number-up=1 auth-info-required=none job-sheets=none,none printer-info='Hewlett-Packard LaserJet 4L' printer-is-accepting-jobs=1 printer-is-shared=1 printer-location printer-make-and-model='HP LaserJet 4L Foomatic/ljet4 (recommended)' printer-state=3 printer-state-change-time=1196554993 printer-state-reasons=none printer-type=143364
Comment 1 Matěj Cepl 2007-12-06 09:47:32 EST
We found that this bug has been already registered in the upstream database
(https://bugzilla.mozilla.org/show_bug.cgi?id=259186) and believe that it is
more appropriate to let it be resolved upstream.

Red Hat will continue to track the issue in the centralized upstream bug
tracker, and will review any bug fixes that become available for consideration
in future updates.

Thank you for the bug report.

Note You need to log in before you can comment on or make changes to this bug.