Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

how to set window.print() property?

Question posted by: zhaoyun (Guest) on July 20th, 2005 10:15 AM
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! =)


Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Stuart Palmer's Avatar
Stuart Palmer
Guest
n/a Posts
July 20th, 2005
10:15 AM
#2

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's Avatar
zhao yun
Guest
n/a Posts
July 20th, 2005
10:15 AM
#3

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!

 
Not the answer you were looking for? Post your question . . .
183,814 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors