Would this work?

 set v vPrinter = 'hplaser1'
 prnsetup &vprinter 
 out printer
 print report
 out screen

Ben Petersen


On 3 Jan 2002, at 21:05, Fred Antrobus wrote:

> 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
> 
> 
> 


================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l

Reply via email to