Share via


PrintOut Method

Home Page (Objects)OverviewFAQReference

Applies to: Document object, TextDocument object

Sends a document to the current printer.

Syntax

object**.PrintOut**

Parameters

object

An expression that evaluates to a Document object or a TextDocument object.

Return Values

The PrintOut method returns one of the following values:

  • True   If the document printed successfully.

  • False   If the document did not print. For example, a printer error occurred.

Remarks

The PrintOut method does not work with documents having the Generic type.

Example

The following example sends a document to the current printer:

ActiveDocument.PrintOut