Begins the control sequence that determines when and how to preview a print document.
Assembly: System.Drawing (in System.Drawing.dll)
creates the Graphics that is displayed during the print preview. After is called, the OnStartPage method sets the Graphics to a graphic of a single page. The OnEndPage method clears the Graphics, while the OnEndPrint method deallocates the object.
verifies that the printer settings are valid.