In Crystal Reports XI Release 2 Service Pack 2 using the Report Application Server (RAS) SDK, it is not possible to change to a different printer tray at runtime.
The issue has been identified and tracked under ID ADAPT00798711.
This issue is addressed in Service Pack 3 for Crystal Reports XI Release 2.
New properties have been added to both Get and Set the printer bin either by name or number. To get the printer bin names and numbers, use the new GetAvailableBinNames and GetAvailableBins in code such as the following:
Dim myBinNames As String
For Each myBinNames In reportClientDoc.PrintOutputController.GetAvailableBinNames(myPrintOptions.PrinterName)
Dim myBinNumbers As Integer
For Each myBinNumbers In reportClientDoc.PrintOutputController.GetAvailableBins(myPrintOptions.PrinterName)
To set the bin, use either the BinName or Bin property of PrintReportOptions, as follows:
Dim myPROptions As New PrintReportOptions
myPROptions.Bin = BinDL.SelectedItem.Value
myPROptions.BinName = BinNameDL.SelectedItem.ToString
Printer Tray, Printer Bin, Runtime SDK, RAS , 3605743 , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Bug Filed