>I am using the set printer to name command.
>
>set printer to name &cPrinterName
>
>I get the error "error accessing printer spooler".
>
>I only get this error if I have spaces in the printer name. If I rename the printer in my printer settings folder and take out any spaces I no longer get the error, and everything prints fine.
>
>Any Ideas?
Use name resolution rather than macro-expansion:
set printer to name (cPrinterName)
>
>Thanks
>
>Pat Murphy