Results 1 to 2 of 2

Thread: Suppress Headers When Printing a Web Page

  1. #1
    Join Date
    Jan 2005
    Location
    India
    Beans
    385
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Suppress Headers When Printing a Web Page

    Whenever I print a webpage from a web browser, it always insists on printing the webpage URL in the header. I've figured out how to disable printing headers in Firefox via about:config. However, I need to create a web page that will eventually be printed by several people using different operating systems and browsers. I don't want the webpage header to be printed out each time someone prints a page, and it's impossible for me to manually configure everyone's computers. Since I might or might not directly interact with these people, I can't really write a HOWTO or documentation.

    Is there any way to NOT print headers while printing a web page? Any JavaScript hacks? I'd like it to be cross-browser, but browser-specific hacks are okay, too.
    I am the turnip. No, not a turnip, the turnip. Visit my blog here.

    I need help with my Code Dojo. If you're interested, please drop me a line.

  2. #2
    Join Date
    Jul 2008
    Location
    on a farm
    Beans
    41

    Re: Suppress Headers When Printing a Web Page

    HTML wasn't designed for printing. HTML documents can print in all kinds of ways, splitting items between pages and messing it up, and the user has most of the little control that there is. PDF was designed for printing, and is used for Web documents that may be printed.
    I.like(OS.Linux,"Freedom");

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •