Printer Object
 
Syntax
 
Printer.PageCount
 
Description
Returns the number of pages in the current document.
 
While the preview document is being created, this property holds the number of the page being created. Once the document is ready, it holds the total page count.
 
See Also
 
Example