var win = window.open('', '_blank', '');
to create a new window
to build the new window's HTML. It contains a button with an "onClick" attribute of "window.print();".
When the new window's print button is clicked with IE6 (I haven't tested with other browsers), nothing happens - no error, but no Windows print dialog either.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!