print

fun print()(source)

Opens the print dialog to print the current document.

MDN Reference