> In RBWin 6.5+, I have hardcoded a 'PRNSETUP
> <printername>'
> command in programs that always send data to a
> certain
> printer that is always loaded with forms. The
> problem is
> that after it is done, I would like to 'PRNSETUP' it
> back
> to the workstation's DEFAULT printer.
6.5++ has a function (CVAL('CurrentPrinter')) that
will return a string containing the Windows default
printer. You can save this string in a variable and
then pass it to PRNSETUP to restore the printer:
PRNSETUP .vDefPrinter
--
Larry
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/