Closed
Bug 93243
Opened 23 years ago
Closed 23 years ago
Make margin values for header and footer preferences
Categories
(Core :: Printing: Output, enhancement)
Tracking
()
VERIFIED
WORKSFORME
Future
People
(Reporter: MichaelWright9, Assigned: rods)
References
Details
Add methods to nsIPrintOptions for setting and getting the header and footer margins.
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•23 years ago
|
||
This will not happen for a while.
Comment 3•23 years ago
|
||
I am not sure what you want here.. do you want to set these margins at print time, or do you want to have a application prefrence that has these values you can change before the application starts up.
Reporter | ||
Comment 4•23 years ago
|
||
In may case, I have an embedded browser, so I am not interested in a UI fix. I just want to be able to change the margins on the header/footer. Currently they are hard coded in nsPageFrame.cpp to 0.25 inches. It would be nice if I could change them before printing, using the nsIPrintOptions. I have run across some printers that cannot print 0.25 inch from the page edges.
Reporter | ||
Comment 5•23 years ago
|
||
An engineer at HP just informed me that the HP DeskJet printers have a hardware limitation of 0.49 inches on the bottom margin. So hard coding the footer to 0.25 does work for this printer. Looks like we need at least 0.50 inches. Don, should we re-open bug#91321 and change the patch/fix to use different values for the footer?
Reporter | ||
Comment 6•23 years ago
|
||
Don- Please ignore the last message. I am not exactly sure where my head is today, but it is not here. The top/bottom margins for the header/footer are controlled by the top/bottom margins of the page. (DUH!) The right/left margins of the header/footer are hard coded to 0.25. Sorry for all the mail.
Comment 7•23 years ago
|
||
so is this bug invalid.. or do you have a specific request for?
Reporter | ||
Comment 8•23 years ago
|
||
Yes, I still think this is valid, but only as an enhancement. There should be no rush to do this.
Comment 10•23 years ago
|
||
Rod, I think this is part of the nsIPrintSettings API work. Reassigning to Rod.
Assignee: dcone → rods
Comment 11•23 years ago
|
||
This feature is really missing. Whenever I print a Web-Page, the header and foot is not print out, because it is outside the physical margins of my printer (HP laserjet 4). Printing a Web-Page without having the page-location in the header and the date of print in the footer makes this printout nearly worthless. It's like a photocopy of a page in a book without notice of the book..... You can choose the margins of the page-context in the printpanel, but the header and footer always stick to the border of the page. So there are two ways: a) Make a header and footer section in the print panel, where one can choose the fontsize and space between header <-> context <->footer areas. b) For a quick work-around you could make the footer and header stick to the margins instead to the page border. So making the borders wider and higher the footer and header will come into the physical printable area.
Comment 12•23 years ago
|
||
This one looks like it could be related to bug 123151.
Assignee | ||
Comment 13•23 years ago
|
||
Michael, this is fixed. On linux you can now specify the "gap" between the edge of the paper the headers and footer. Bring up the Print Dialog and click on "Properties". This is required because different printers have different "gaps" and postscript and XPrint behave differently.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•