Hi Team Stimulsoft!
How I set the paper tray when printing (that way choosing the paper source)?
Thanks again
Setting the tray
Setting the tray
To specify the paper source for the printer please use the following code:
Thank you.
Code: Select all
//Create Printer Settings
PrinterSettings printerSettings = new PrinterSettings();
//Specify paper source
printerSettings.DefaultPageSettings.PaperSource = printerSettings.PaperSources[1];
//Direct Print - Don't Show Print Dialog
report.Print(false, printerSettings);