JavaScript » Window » print

Syntax:
window.print( )

This method is used to print the contents of the specified window.