Connecting Tech Pros Worldwide Help | Site Map

how to set window.print() property?

  #1  
Old July 20th, 2005, 11:15 AM
zhaoyun
Guest
 
Posts: n/a
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, 11:15 AM
Stuart Palmer
Guest
 
Posts: n/a

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, 11:15 AM
zhao yun
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Reports XI .NET Print Window Not Found Kbalz answers 1 February 16th, 2007 01:55 PM
How to earmark certain tables, differentiating them from others? MLH answers 14 November 15th, 2006 04:15 AM
A97 trying to set shortcutmenu=false for all forms MLH answers 4 November 13th, 2005 03:07 PM
Access expoert reports to PDF using PDF writer 6.0 issues Grasshopper answers 11 November 13th, 2005 07:08 AM