Window.print() (Method)

This duplicates the behavior of the Print button on the Netscape Navigator or MSIE button bar.

Availability:

JavaScript - 1.2
JScript - 5.0
Internet Explorer - 5.0
Netscape - 4.0
Property/method value type:undefined
JavaScript syntax:-myWindow.print()
-print()

This is supposed to behave as if the user had clicked on the Print button or selected the Print item from the pull-down menu.

Warnings:

See also:Frame object, Window object, Window.find(), Window.home(), Window.stop()