TMBNHNT:
I had a similar situation with another (non-RBase) app printing to a dual-tray Epson WF-7520. No matter my selection, the job always printed from the default tray (Tray #1).
After assigning paper size to tray at the printer's on-board control panel, the printing application requires only specification of the paper size. The job always finds the correct tray.
Does the printer have an on-board control panel at which you can assign paper size to tray?
Bruce
SafeSectors, Inc.
eCondoMetrics
-------- Original Message --------
Subject: [RBASE-L] - Printer Tray Selection
From: Dave McCann <[email protected]>
Date: Fri, January 18, 2013 4:41 pm
To: [email protected] (RBASE-L Mailing List)
I'm trying to use PRNSETUP and CVAL to allow user to select and save
printer tray configurations for specific reports.
PRNSETUP
SET VAR vprnname=(CVAL('CURRENTPRINTER'))
SET VAR vprntray=(CVAL('PRN_SOURCE'))
The values returned into vprnname and vprntray are then stored in a
table and used with the print later, however, my vprntray ALWAYS returns
"Automatically Select" as the value, now matter how the printer settings
are changed. I'm using 9.5 32-bit latest release, I may be losing my
mind but at one point I was sure this process worked as I wanted.
--
Dave McCann
Classic Micro Systems

