Connecting Tech Pros Worldwide Help | Site Map

how to set window.print() property?

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 20th, 2005, 10:15 AM
zhaoyun
Guest
 
Posts: n/a
Default how to set window.print() property?

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! =)



  #2  
Old July 20th, 2005, 10:15 AM
Stuart Palmer
Guest
 
Posts: n/a
Default 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]


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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.