[color blue]*NOTE* Printer.PaperBin is usually 7 (Auto Select) by default.[/color]
You can also set papersource to the following properties (a full list is at the bottom):
Auto Select = 7 (or) crPRBinAuto
Upper Tray = 1 (or) crPRBinUpper
Lower Tray = 2 (or) crPRBinLower
Middle Tray = 3 (or) crPRBinMiddle
Manual Feed = 4 (or) crPRBinManual
An example to print to the middle tray would be:
[color red]MyRpt.PaperSource = 3[/color]
-or-
[color red]MyRpt.PaperSource = crPRBinMiddle[/color]
Check out these 2 links from Crystal Decision's Knowledge Base for more details:
http://support.crystaldecisions.com/library/kbase/articles/c2007185.asp
http://support.crystaldecisions.com/library/kbase/articles/c2010249.asp
The following is very important!
"If the SelectPrinter method of the Report object is being used to change the printer for the report, the 'PaperOrientation' and 'PaperSource' properties must be set after invoking the SelectPrinter method. If the 'PaperOrientation' or 'PaperSource' property is set before the SelectPrinter method, then paper tray or orientation settings are overwritten with the new printer's settings."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.