Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

call (from script) which Tray is the Paper Source to be used when printing a report.

$
0
0

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");

Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>