Hello,
i am using the ultraprintpreviewdocument to print documents with several pages. Now I want to select a single page from them and print it. Is this possible with a ultraprintpreviewdocument (Version 8.3) or do I have to develop my own printpreviewdocument?
This can be done through the PrinterSettings object. Get to it like this:
ultraPrintPreviewDialog1.Document.DefaultPageSettings.PrinterSettings
and then you can invoke the print command:
ultraPrintPreviewDialog1.Document.Print()
I have the same problem. I am setting the Document.PrinterSettings as well as the Document.DefaultPageSettings.PrinterSettings to the PrinterSettings retrieved from the Windows.System.Forms.PrintDialog. I even listed out the settings in the Immediate window and confirmed that FromPage was 2, ToPage was 2, and PrintRange was SomePages {2}. Yet, the UltraWinPrintPreview control (I'm using the control not the dialog) still prints out all pages. Is that control supposed to honor the SomePages selection?