Closed
Bug 221706
Opened 21 years ago
Closed 7 years ago
Margins on printout are larger than defined.
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: Volker.Seibt, Assigned: bdahl)
References
(Depends on 2 open bugs, Blocks 2 open bugs)
Details
Attachments
(1 file)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.4) Gecko/20030624
All margins specified to be 10 mm (Millimeters):
Left and right margins are 20 and 22 mm. Top and botton margin seem OK.
All margins specified to be 40 mm:
Left and right margins are 56 mm. Top and botton margin are 47 mm (space between
header line and content).
This happened with a Postscript printer.
(With version 1.3 this was OK.)
Reproducible: Always
Steps to Reproduce:
1. Set the print margins.
2. Print a web page.
3. See the margins on printed output.
Actual Results:
The margins are too large, especially left and right margins.
Expected Results:
Set the margins to the values specified.
Reporter | ||
Updated•21 years ago
|
Version: Trunk → 1.4 Branch
Comment 1•21 years ago
|
||
Is this a problem with a current (1.6a trunk) build? I believe this was fixed a
short time back...
Reporter | ||
Comment 2•21 years ago
|
||
No - it's version 1.4 like specified. When it's fixed now it's fine!
Comment 3•21 years ago
|
||
even when i zero all borders, i still see a 15-20mm margin all around in 1.6a
Updated•20 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•20 years ago
|
||
*** Bug 245023 has been marked as a duplicate of this bug. ***
Comment 5•20 years ago
|
||
*** Bug 274460 has been marked as a duplicate of this bug. ***
Comment 6•20 years ago
|
||
*** Bug 289720 has been marked as a duplicate of this bug. ***
I too have noticed issues with the left and right hand margins, particularly the
right. If I have a page FULL of text (i.e. 100% width on a table), the right
margin of the text is cutoff. I try using CSS to change the padding and/or
margins, but that only cuts off more text. If I set my margins to 0 in the Page
setup, then I'll get all my text, but the printed page now has smaller margins
than what is really necessary and barely a margin at all. Furthermore,a 0
margin should mean 0, period, when it's really more like .5" on all sides
(printed that is).
Comment 8•19 years ago
|
||
*** Bug 324171 has been marked as a duplicate of this bug. ***
Comment 9•17 years ago
|
||
What this looks like to me is the preview and output is adding 0.25" to all sides. If you enter a margin of 0.5" in the you'll end up with 0.75" margins. It appears that the preview window is accurately showing what the printer prints. We just have in accurate numbers in the dialog box.
Reporter | ||
Comment 10•17 years ago
|
||
Now I'm using Gecko/20070914 Firefox/2.0.0.7.
The problem still persists but has become a little bit better.
With margins of 10, 40, and 0 the margins to the edges are always 5-7 mm to large (left: 7, right 6, top and bottom 5; 4-5 mm are outside the printable area).
When I specify a margin of 20 mm I expect to have 20 mm, not 20 mm plus the width of the unprintable area.
(In print preview, the margins left, right, and top are even 3 mm more than on paper - 3 mm are calculated with respect to the real paper width of 210 mm.)
Updated•15 years ago
|
Assignee: printing → nobody
QA Contact: printing
Comment hidden (mozreview-request) |
Assignee | ||
Comment 13•7 years ago
|
||
Unfortunately this is somewhat difficult to test as a real printer (unwritable margin) is needed. I did test the following:
- The pdf from bug 1448395. PDF.js sets @page margins to 0 so now this printout lines up perfectly with output from Acrobat.
- A modified example from bug 963557. I set the page margins to various inch widths and and measured everything on real paper.
One thing we may want to change is the various references in the windows printing code to printable(Width|Height)InInches. This would now be more accurate if it were something like physicalWidthInInches or pageWidthInInches. I'll defer to the reviewer if we should change this.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 16•7 years ago
|
||
sorry I'm taking so long to get to this review. The changes look complex, need to find some time to dig through this. If you're3 pressed to get this landed please ping me, I'll try to find someone else to do the review.
Comment 17•7 years ago
|
||
mozreview-review |
Comment on attachment 8963640 [details]
Bug 221706 - Use unwritable region when printing on Windows.
https://reviewboard.mozilla.org/r/232526/#review248718
That was simpler thatn I originally thought. Apologies for taking so long.
Attachment #8963640 -
Flags: review?(jmathies) → review+
Comment 18•7 years ago
|
||
Pushed by bdahl@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/29e58ed3f991
Use unwritable region when printing on Windows. r=jimm
Comment 19•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Updated•7 years ago
|
Assignee: nobody → bdahl
OS: Windows 2000 → Windows
Updated•6 years ago
|
Version: 1.4 Branch → unspecified
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•