call (from script) which Tray is the Paper Source to be used when printing a report.
I need to be able to call (from script) which Tray is the Paper Source to be used when printing a report. We have several printers which have multiple trays which are 8 1/2 x 11. Different color paper is held in each and the setup lists the trays as "auto" , "manual feed", "Tray 1", "Tray 2", etc... I need to be able to call from script (C#) that I want it to use "Tray 5". In the Crystal Reports if you go to [File][Print] you can see all of the Trays listed under Printer Paper | Source: How can I pass this to the report from C#?
|crReportDocument.PrintOptions.PaperSource = PaperSource("Tray 5");|
Don Williams replied
Lets get back to the issue.... I did sent you a direct e-mail, did you not get it?
So for PrintToPrinter ( P2P ) it will not use the printer settings, it always uses the defaults or likely the first tray in the ENUM.
Try using the POC API to set the info, see my updated app for how to.
We will not change the default behavior of P2P, for custom changes you must use POC.