Enabling Printing from a page

  • Thread starter Thread starter DS
  • Start date Start date
D

DS

Hi,

I have a series of pages that are spawned in javascript boxes, that by
design have not browser buttons or toolbars etc. Just a simple box.
However I want to be able to allow the users to print the page without
having to know about 'right click Print' or CTRL-P.

So, I would like to create a PRINT button on the HTML page that would
bring up the Explorer Print window. I would also like to be able to
spawn to "Page Setup" window too.

This is all for IE... Perhaps Netscape too if known and/or different
to enable.

/Doug

http://footballinsider.com
 
<input type="button" value="Click to Print this Page"
onclick="window.print()">

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Complex things are made up of
lots of simple things.
 
Back
Top