Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can i remove the header and footer?

Status
Not open for further replies.

yenping

MIS
Joined
Aug 16, 2005
Messages
17
Location
MY
hi! i am trying to use window.print() to print a page, it's work. however, it show the window title and page number on the top, file location and date at the bottom of the printed out paper.

How can i remove both top and bottom extra things? or this has no solution?

thanks,
yenping
 
or this has no solution?
There is no way you can do this using Javascript. The user can change these settings in the browser themselves -- you cannot do it using scripts or code.

CHeers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top