Name

Window.print( ) — print the document

Availability

Netscape 4, Internet Explorer 5

Synopsis

                  window.print(  )

Description

Calling print( ) prints the current document, exactly as if the user had clicked the browser’s Print button.

Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.