Hello.
Here is a misc routine to create a convenient 'print' button on a page where there is none in the browser window due to the attributes assigned in e.g. 'window.open()'. When Javascript is not enabled, the browser toolbars are automatically visible so this print routine would be ignored.
Code:
<script type="text/javascript">
<!--
function print_page()
// Create a print button only if Javascript is enabled e.g. for a new window created via 'window.open(...)' with no browser window features.
{
if (window.name == "new_window")
{
document.write("<form><input type='button' value='print' onclick='print()';> </form>")
}
}
print_page()
//-->
</script>
Have fun!