Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

(1957) Error accessing printer spooler

416 views
Skip to first unread message

Jerry Richards

unread,
May 18, 2000, 3:00:00 AM5/18/00
to
Using the following statement:

SET PRINTER TO NAME &( printerName )


Anyone know how to fix this?


Marc Lyon

unread,
May 18, 2000, 3:00:00 AM5/18/00
to
Jerry,

I dont believe that both the ampersand and the parenthesis are needed. Try
one or the other.

SET PRINTER TO &PrinterName
SET PRINTER TO (PrinterName)

I think that &(PrinterName) would attempt to evaluate the value of
PrinterName:
IE: PrinterName="HP LaserJet IV"
then &(PrinterName) would be &"HP LaserJet IV" which might confuse the
spooler routine.

My .02

Marc


Jerry Richards <r2...@gte.net> wrote in message
news:_rUU4.775$pE3....@dfiatx1-snr1.gtei.net...

Jerry Richards

unread,
May 18, 2000, 3:00:00 AM5/18/00
to
The macro expansion by itself didn't work: &printerName

but using the parenthesis did: (printerName)


Thanks!


0 new messages