|
|
PrintDoc
Print the current Document without displaying a Preview. The 'ShowPrintOptions' parameter can be used to display Print Window to the User.
Syntax Object.PrintDoc (StartPage As Integer, EndPage As Integer, Copies As Integer , Collate As Boolean , PrinterNumber As Integer , ShowPrintOptions As Boolean )
| Parameters | | StartPage | The first page of a range to print. If both StartPage and EndPage are the same, a single page is printed. | | EndPage | The last page in the Range to Print. | | Copies | The number of Copies to Print. | | Collate | Collation options for multiple copies. | | PrinterNumber | The number of the Printer to Print the Document to. If omitted, the current Printer selection is used. | | ShowPrintOptions | Determines whether the 'Print Window' is shown for the User to choose the Print options. |
Notes The following example would Print 2 collated copies of the Full Document.
Example qPrint.PrintDoc , , 2, True
See Also: Preview, ChoosePrinter, PrintOptions
|