J.M.,
The New (CVAL('CurrentPrinter')) and (CVAL('Printers'))
functions are implemented in the upcoming upgrade version
of The Glorious R:BASE 2000 (ver 6.5++), Build 1.840J and
higher.
Stay tuned ...
Very Best Regards,
Razzak.
At 12:10 PM 5/7/2001 -0400, you wrote:
>
>Razzak :
>
>I can't make works the new function (CVAL('CurrentPrinter')) ....
>In my case, default's printer name is HP LaserJet III which is connected to
>LPT1: parallel port.
>
>SET VAR vWinDefaultPrinter = (CVAL('CurrentPrinter'))
>
>return :
>
>HP LaserJet III on LPT1
>
>I have a second printer named RTEFAX.
>
>PRNSETUP 'RTEFAX'
> switch the current printer to RTEFAX, but I can't switch it back to HP
>LasetJet III.
>
>If I follow your example :
>
>SET VAR vWinDefaultPrinter = (CHAR(39) +.vWinDefaultPrinter +(CHAR(39)))
>PRNSETUP &vWinDefaultPrinter
>PRNSETUP
>show that the current printer is still RTEFAX.
>
>Same problem with :
>SET var Vtext = ('PRNSETUP' & .vWinDefaultPrinter)
>&vTEXT
>
>It seems that the extra words 'on LPT1:' returned after 'HP LaserJet III'
>prevent to switch back to the default printer.
>
>Using RBW 1.840xRT03 and W98SE (french version).
>
>Can anybody check that ?
>Should I report that to RDCC ?
>
>Regards,
>
>J.M. GRATIAS, Logimatique, France
>