how to set window.print() property?

Z

zhaoyun

Hi All
I wanna to remove all the header and footer of the print out of my webpage.
How can I set the property of the print function in IE automatically using
JavaScript?

Thank you! =)
 
S

Stuart Palmer

Think you have to rewrite the page without the footer/header and then
window.print. Window.print just prints the page, you can tell it what to
add/remove when printing.

This is a far as I understand.

Stu
 
Z

zhao yun

Thanks for your advice.
I think it is only possible to do this using ActiveX through script.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,218
Latest member
GracieDebo

Latest Threads

Top