Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
How to have a PrintPreview with # Copies and Page Range

Hi all!

I have currently using PrintPreview to print a WinGrid with header and footer and I can send a print to the printer with the Printer button.


But now the client want a full standard Print Setup, with number of copies and page range like this one:



My currently code is:


 Dim rpt As New System.Drawing.Printing.PrintDocument
 rpt.DefaultPageSettings.Landscape = True
 Dim PageSetupDialog1 = New System.Windows.Forms.PageSetupDialog()
 PageSetupDialog1.Document = rpt
 UltraGrid1.PrintPreview(UltraGrid1.DisplayLayout, rpt)



Thank you so much!