Printing from Web Pages and Html Dialogs
Keywords: Printing from web pages and html dialogs.txt
Replace all the brackets "[]" in this message with wedges "<>".
Each of these examples will invoke the Print dialog. There is no way (that I know if)
to automagically send a print job without user intervention using JS.
* Print from a text link...
[A HREF="javascript:window.print()"]Click to Print This Page[/A]
* Print from a Form Button...
[FORM]
[INPUT Value="Print" TYPE="button" onClick="window.print()"]
[/FORM]
* Print from an image...
[A HREF="javascript:window.print()"]
[IMG SRC="print_image.gif" BORDER="0"[/A]
* Print when the page loads...
onLoad="window.print()"
Article ID: W14944