Print (NotesUIDocument - LotusScript®)

Prints the current document:

Defined in

NotesUIDocument

Syntax

Call notesUIDocument .Print

or

Call notesUIDocument .Print( [ numCopies% [, fromPage% [, toPage% [, draft [, printerName]]]]] )

Parameters

numCopies%

Integer. Optional. The number of copies you want to print. If you omit this parameter, the method displays the File Print dialog box. If you specify 0, the method prints one copy.

fromPage%

Integer. Optional. The page number where you want to begin printing. If you omit this parameter or specify 0, the method begins printing on the first page of the document.

toPage%

Integer. Optional. The page number where you want to stop printing. If you omit this parameter or specify 0, the method stops printing on the last page of the document.

draft

Boolean. Optional. Specify True if you want to print the document in draft mode. Otherwise, specify False or omit this parameter.

printerName

Text. Optional. Specify the name of the printer where you want the document to print, as you would specify it in the File Print dialog box.

Language cross-reference

FilePrint @command in formula language

FilePageSetup @command in formula language

FilePrintSetup @command in formula language

Example


Additional Documentation | Trademarks |