Enabling Printing from a page

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
 
K

Kevin Spencer

<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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top