Crystal ReportClass PrintOptions PaperSource

  • Thread starter Thread starter ChrisM
  • Start date Start date
C

ChrisM

I'm using VS2003 withthe built in version of CrystalReports.

I'm trying to write a module that will allow a user to send Crystal Reports
directly to the printer, without using the ReportViewer.
I have created a form that lists the available printers using

System.Drawing.Printing.PrinterSettings.InstalledPrinters

From a printer selected from this list, I can determine the available
paperTrays using

System.Drawing.Printing.PrinterSettings and PaperSources.
Problem is that when I try to set the paper source of the actual report
object (CrystalDecisions.CrystalReports.Engine.ReportClass)
using it's own (non-compatable) PaperSource property,
I am limited to a pre-set range of Paper Sources
(CrystalDecisions.Shared.PaperSource)
Any suggestions how I can map the System>Drawing.PrinterSettings PaperSource
to the Crystal one so that I can send the report to the tray that the user
selects?

Thanks,

Chris.
 
Back
Top