Bug 407601 - When printing or previewing some web-pages, the right margin is cut of.
Summary: When printing or previewing some web-pages, the right margin is cut of.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 8
Hardware: ia64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL: http://www.ibm.com/developerworks/jav...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-02 01:13 UTC by Juha Anon
Modified: 2018-04-11 09:23 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-12-06 14:47:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 259186 0 None None None Never

Description Juha Anon 2007-12-02 01:13:00 UTC
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 14:47:32 UTC
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.