Skip to content Skip to sidebar Skip to footer

Javascript Print() Without Url And Date

I made a little 'CMS' for writing, managing and printing bills for a company. The bills are saved on the server as HTML-files. The javascript code is document.billFrame.print();. I

Solution 1:

In Firefox:

Print -> Page Setup -> Margins & Headers/Footers

In Chrome:

Print -> Uncheck Headers and Footers under Options

Solution 2:

The header you're seeing is coming from your browser, not the page you're print()ing, so opening up new window and stying it with JS/CSS won't work.

Manage these settings via your browser preferences. Howto here for each major browser.

Post a Comment for "Javascript Print() Without Url And Date"