on 03-30-2011 10:30 AM
Hello,
We have upgraded to VS 2010 with Crystal Reports for .NET 2010 (Sp1). We have also changed our printing procedure from
rpt.PrintToPrinter
to
rpt.ReportClientDocument.PrintOutputController.PrintReport
But now we have a problem selecting the right tray, because the CustomPaperSource property is not available in the PrinterOptions. The Papersources from the CrystalDecisions.ReportAppServer.ReportDefModel.CrPaperSourceEnum don't work (It always uses the default tray). Setting the RawKind ID directly as papersource does not help.
I have seen some older threads about this issue and appearently there is a utitly to help analyse the printer, but the links in the article were too old.
The printer is a HP Laserjet 8000
Any advice is appreciated,
Jaco van der Plas
Edited by: Jaco van der Plas on Mar 30, 2011 11:31 AM
I believe that you want to use the PrintReportOptions.Bin or BinName properties, they were added to better handle this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot, that did the trick!
Jaco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.