View Full Version : Printing from HTML?

02-28-2005, 08:09 PM
My question has to do with printing from within a web form. Can it be done with HTML? Something like:

<P><INPUT TYPE=reset VALUE="Reset" name=reset><INPUT TYPE=submit NAME=print VALUE="Print Your Information"></P>

The "Reset" is there in case they make a mistake when filling out the form. I need to know what to substitute in place of "NAME=print"

Gino J. Piazza

02-28-2005, 08:21 PM
Do you mean can you send a page to the printer when you click on a certain button? Or do you mean can you send text to the screen?

I am assuming you mean printing a page. I don't know how you can do it from a input button, but you can do it from a link, like this:

<a href="javascript:window.print()">Print this page</a>

HTH, Dan