Skip to Content
0
Former Member
Apr 05, 2011 at 09:23 PM

Crystal rpt for Visual studio 2010 not printing to right tray

28 Views

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