< Back

Document Subject: Print button from web browser
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#WebPrint or http://A555F9/nn.nsf/ByAlias/WebPrint

A button with @command([FilePrint]) doesn't work on the web. Here is some code that will display a button which will print.




To print out a particular frame put this code:

<input type="button" value="Print Frame called 'Main' " onclick="parent.Main.focus(); parent.Main.print(); return false;">

To print out a non-frame window or all frames in Netscape use this:

<input type="button" value="Print All" onclick="print(); return false;">