I am printing a report using R:Base 6.5++ to a printer other than the one
set to the "default" windows printer in windows

The following works:

prnsetup 'hplaser1' 
out printer
print report
out screen

After doing this I want to set a variable to reflect the changed setting.

This does not work.

Set v  vPrinterDirected text = (Cval('CurrentPrinter'))

This sets the variable to the windows "default" printer when R:Base 
was started ot he one that I was just set in the command file.

Is there another cval keyword or is there another way to "know" where the 
output is routed to without watching the paper spit out of the printer??

Thanks

Fred Antrobus
[EMAIL PROTECTED]
(425) 235-7796


Attachment: winmail.dat
Description: application/ms-tnef

Reply via email to