Printer.LastPage (gb.qt4)
Property
LastPage
As
Integer
Return or set the last page that must be printed.
If this property is set to zero, then the document will be printed up to the last page.