You are here: irt.org | FAQ | JavaScript | Print | Q1654 [ previous next ]
Try:
<script language="JavaScript"><!-- var windowReference = window.open('popup.htm','windowName','width=400,height=400'); //--></script> <form> <input type="button" value="Print contents of popup" onclick="if (window.print) windowReference.print()"> </form>