method ExPrint.DoPrint ([ShowUI as Variant])
Prints the document.

 TypeDescription 
   ShowUI as Variant A boolean expression that indicates whether control displays the print dialog setup before printing. The ShowUI parameter is optional. By default, the ShowUI argument is True.   

Use the DoPrint method to print a document. Use the Preview method to show the print preview mainframe. The DoPrint method fails if the PrintExt/PrintExts property is nothing. So, before calling Preview or DoPrint method the PrintExt property must be set with the object being printed. The PageRange property specifies the pages being printed.


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.