SAP Knowledge Base Article - Public

2911893 - How to select a special output tray for printer using RAS SDK?

Symptom

How to select a special output tray for printer using RAS SDK?

Environment

SAP Crystal Reports for Visual Studio

Resolution

  • There is no way to programmatically set an output tray, since there is no generic way of doing it via .NET (or even Win32 via the DEVMODE structure).
  • The only way to set it is to choose it outside Crystal for Visual Studio in the printer itself and have a printer defined for each output tray then select them in the application.

Keywords

output tray, RAS, SDK, .NET, CR .NET, printer, runtime , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio