qbd software ltd [UK]
qprinter > moth > qbd software
qPrinter² qcPrinter: Properties and Methods
Applies To:
qcPrinter
 
See Also:
Preview
ChoosePrinter
PrintOptions
 

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
StartPageThe first page of a range to print. If both StartPage and EndPage are the same, a single page is printed.
EndPageThe last page in the Range to Print.
CopiesThe number of Copies to Print.
CollateCollation options for multiple copies.
PrinterNumberThe number of the Printer to Print the Document to. If omitted, the current Printer selection is used.
ShowPrintOptionsDetermines 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

©2002 qbd software ltd