Dennis,
Try
SET VAR vCurrentPrn = (CVAL('CURRENTPRINTER'))
PRNSETUP &vCurrentPrn
SET VAR vSelectPrn = (CVAL('CURRENTPRINTER'))
Jan
-----Original Message-----
From: Dennis McGrath <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Fri, 23 Sep 2011 12:11:47 -0500
Subject: [RBASE-L] - Default Printer
I’m using the
PRNSETUP printername
Command to change the default printer for my RBASE session.
I’d like to be able to capture the windows default
printer to a variable so I can
Use prnsetup to switch default printers on demand.
Is there a way to do capture this name before I use
PRNSETUP?
Dennis McGrath
Software Developer
QMI Security Solutions
1661 Glenlake Ave
ItascaIL 60143
630-980-8461
[email protected]