You can change print settings for each printed page in the PdfDocumentProcessor.PrintPageand PdfDocumentProcessor.QueryPageSettings event handlers.
In this example the second document page is printed in landscape size using the PdfQueryPageSettingsEventArgs.PageSettings.Landscape property when the PdfDocumentProcessor.QueryPageSettings event is handled.
This example also shows how to modify graphics used to paint the printed page by drawing a picture on each printed page when the DrawImage method is called. To access graphics API the PdfPrintPageEventArgs.Graphics property is used in the PdfDocumentProcessor.PrintPage event handler.
In this example the second document page is printed in landscape size using the PdfQueryPageSettingsEventArgs.PageSettings.Landscape property when the PdfDocumentProcessor.QueryPageSettings event is handled.
This example also shows how to modify graphics used to paint the printed page by drawing a picture on each printed page when the DrawImage method is called. To access graphics API the PdfPrintPageEventArgs.Graphics property is used in the PdfDocumentProcessor.PrintPage event handler.