views:

209

answers:

3

Is there away to make a web page print without showing the URL at the bottom of the printed pages? Or if possible to hide the page numbers which shows at the top?

+5  A: 

This is a browser setting, configurable from the browser (the specifics depend on which browser) and is not under the control of page authors.

David Dorward
Can I at least control which URL is being printed?
MAK
Only by providing that content the user wants to print on that URL and that URL only.
David Dorward
Not the url, but you can set the fragment identifier with __window.location.hash__.
Alsciende
A: 

Yeap. Thats why printing PDF is better solution. :)

dario-g
PDF is over killing in my caseI hoped I could find a way aruond it!
MAK
A: 

n general, the page elements for the headers and footers are controled by the browser (IE, Firefox, and Opera, for example, all display somewhat different information).

For browsing, you can turn this off in the Page Setup. Using Internet Explorer as an example, go to File > Page Setup and removing the tags in the Header and Footer boxes. This will provide a clean print of the page without the noted headers and footers.

Hope this helps!

Sunny