How can I get printdocument pagecount without show in printpreviewdialog?

Printable View