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


Reply via email to