Print without header and footer
Moderator: Camino Developers
-
- Posts: 3
- Joined: February 10th, 2005, 4:16 pm
Print without header and footer
This should be so easy to do but I can't find the setting at all. When I print a page I get a header and footer which means the print goes to 2 pages instead of one. If I print with Safari I don't get a top and tail and it all fits nicely on one page. Can I switch the header and footer off and on?
Regards
Robin
Regards
Robin
- cflawson
- Posts: 4721
- Joined: December 26th, 2004, 2:54 pm
- Location: Flying over your house in a red, white, and blue jet
- Contact:
https://bugzilla.mozilla.org/show_bug.cgi?id=202014
No. Well, not yet. Not sure what the status is; I haven't talked to Conrad in about a month.
cl
No. Well, not yet. Not sure what the status is; I haven't talked to Conrad in about a month.
cl
- Uncle Asad
- Camino Developer
- Posts: 3957
- Joined: July 24th, 2004, 1:38 pm
- Location: بين العالمين
- Contact:
- cflawson
- Posts: 4721
- Joined: December 26th, 2004, 2:54 pm
- Location: Flying over your house in a red, white, and blue jet
- Contact:
-
- Posts: 3
- Joined: February 10th, 2005, 4:16 pm
-
- Posts: 4
- Joined: February 11th, 2005, 10:53 am
robinmoz wrote:Are you sure because I have just tried this and I get the header and footer?
Just checked and I'd also added the following to my user.js file:
user_pref("print.print_footercenter","");
user_pref("print.print_footerleft","");
user_pref("print.print_footerright","");
user_pref("print.print_headerleft","");
user_pref("print.print_headercenter","");
user_pref("print.print_headerright","");
I'm pretty sure window.print() respects this, and "Menu>File>Print…" doesn't.
Cheers,
Tim.
- Etnier
- Posts: 234
- Joined: November 19th, 2002, 8:05 am
- Location: Cape Elizabeth ME
- Contact:
- eccoana
- Posts: 813
- Joined: February 27th, 2004, 1:43 pm
- Location: bavaria
- Etnier
- Posts: 234
- Joined: November 19th, 2002, 8:05 am
- Location: Cape Elizabeth ME
- Contact:
My point is this:
If the margins and page layout are the same, this fix doesn't increase the amount of page view that prints to a given sheet.
When I print a page I get a header and footer which means the print goes to 2 pages instead of one. If I print with Safari I don't get a top and tail and it all fits nicely on one page.
If the margins and page layout are the same, this fix doesn't increase the amount of page view that prints to a given sheet.
-
- Posts: 4
- Joined: February 11th, 2005, 10:53 am
Etnier wrote:Are you sure it does? I just ran a test of that, and found the java-printed page left large margins, as if it were laying out the page the same way but just deleting the header/footer text.
You may be right – I think this replaces the headers and footers with blank strings, but leaves the layout the same. It's just a work-around I stumbled across.
Before discovering this hack though, I was having to guillotine the headers and footers off my print-outs. I couldn't always 'just print it from Safari' because Camino deals with tables with headers split across pages rather nicely compared to Safari. Camino repeats the <th> headers on each page, which Safari doesn't (although both need better support for CSS print features!).
Cheers,
Tim.