({{, (RefLink[NotebookPrint, paclet:ref/NotebookPrint])[expr]
sends a notebook containing expr to your default printer.}, {, (RefLink[NotebookPrint, paclet:ref/NotebookPrint])[notebook]
sends the specified notebook to your default printer. }, {, (RefLink[NotebookPrint, paclet:ref/NotebookPrint])[notebook,"file.ext"]
saves a print-ready form of the notebook to a file in the format indicated by the file extension ext. }, {, (RefLink[NotebookPrint, paclet:ref/NotebookPrint])[] 
sends the current evaluation notebook to your default printer.}})

OpenersNotesSection(Spacer1)Details and Options

If notebook is a (RefLink[NotebookObject, paclet:ref/NotebookObject]), then (RefLink[NotebookPrint, paclet:ref/NotebookPrint]) will print the complete notebook. If it is a (RefLink[NotebookSelection, paclet:ref/NotebookSelection]), then (RefLink[NotebookPrint, paclet:ref/NotebookPrint]) will print just the selection.

(RefLink[NotebookPrint, paclet:ref/NotebookPrint])[expr] is equivalent to (RefLink[NotebookPrint, paclet:ref/NotebookPrint])[(RefLink[CreateDocument, paclet:ref/CreateDocument])[expr]].

(RefLink[NotebookPrint, paclet:ref/NotebookPrint]) uses the printing options set for the specified notebook, taking defaults from the global options set for the whole front end.

(RefLink[NotebookPrint, paclet:ref/NotebookPrint])[notebook,"file.ps"] saves the PostScript form of the notebook in a file.

(RefLink[NotebookPrint, paclet:ref/NotebookPrint])[notebook,"file.pdf"] saves the PDF form.

(RefLink[NotebookPrint, paclet:ref/NotebookPrint])[notebook,(RefLink[File, paclet:ref/File])["file.ext"]] is also supported.

(RefLink[NotebookPrint, paclet:ref/NotebookPrint])[notebook,stream,"format"] sends the print-ready form of the notebook to a stream in the specified format.

If the option setting (RefLink[Interactive, paclet:ref/Interactive])->(RefLink[True, paclet:ref/True]) is given, the front end will prompt the user with the standard system Print dialog.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Save the print form of a notebook to a file in PDF format:

nb=CreateDocument[{x^2}];

NotebookPrint[nb,"temp.pdf"]

The file is saved with the same appearance it has when printed from the Wolfram System:

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[NotebookSave, paclet:ref/NotebookSave])  ▪  (RefLink[NotebookWrite, paclet:ref/NotebookWrite])  ▪  (RefLink[PrintingStyleEnvironment, paclet:ref/PrintingStyleEnvironment])  ▪  (RefLink[Export, paclet:ref/Export])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Manipulating Notebooks from the Kernel, paclet:tutorial/ManipulatingNotebooksFromTheKernel])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Notebook Document Generation, paclet:guide/DocumentGeneration])}, {▪(RefLinkPlain[Low-Level Notebook Programming, paclet:guide/LowLevelNotebookProgramming])}})}})