>I am not seeming to find the command/function to send my report writer reports to printer tray 2. In test, that is the tray that is used, but that is how I have Windows set.
>
>My users have their Windows Printer Settings just the way they want them to work (Word, etc). So I need to identify printer tray 2 as the paper source for reports.
>
>Any suggestions would be welcome.
>
>Thanks ever so much.
Victoria,
The designation of the tray to be used is stored in the .FRX file of the report in question. The .FRX is a data table and can be opened witin VFP. The field that holds the tray number (and other parameters) is "Expr". You can open this file, use string substitution (STRTRAN()) to designate the tray you want and then close the table and execute the report.
There is a tip in FP AdvisorMay 1998 issue that discusses some of these issues.
Dick Harrold
=========================================
Dick Harrold [DickHarrold@Yahoo.com]