Connecting Tech Pros Worldwide Forums | Help | Site Map

how to set window.print() property?

zhaoyun
Guest
 
Posts: n/a
#1: Jul 20 '05
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! =)



Stuart Palmer
Guest
 
Posts: n/a
#2: Jul 20 '05

re: how to set window.print() property?


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

"zhaoyun" <zhaoyun@sangokumusou.com> wrote in message
news:bj91br$45749@imsp212.netvigator.com...[color=blue]
> Hi All
> I wanna to remove all the header and footer of the print out of my[/color]
webpage.[color=blue]
> How can I set the property of the print function in IE automatically using
> JavaScript?
>
> Thank you! =)
>
>[/color]


zhao yun
Guest
 
Posts: n/a
#3: Jul 20 '05

re: how to set window.print() property?


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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Closed Thread