Hi,
I am using CR 13 that comes with VisualStudio 2010.
The code I use is
genericCrystalRpt.PrintOptions.PaperSource = PaperSource.Middle
genericCrystalRpt.PrintToPrinter(1, True, 1, 0)
genericCrystalRpt.PrintOptions.PaperSource = PaperSource.Lower
genericCrystalRpt.PrintToPrinter(1, True, 1, 0)
genericCrystalRpt.PrintOptions.PaperSource = PaperSource.Middle
genericCrystalRpt.PrintToPrinter(1, True, 1, 0)
No matter what I code, it always prints to the tray 2 on the printer. I have HP Universal Printing PCL 5 driver installed for the printer.
Thanks.
Rosa.
Edited by: Rosa Leena on Apr 5, 2011 11:23 PM