SET PRINTER TO NAME works fine under Windows 7. You have to provide more details in order to diagnose the problem.
>SET PRINTER TO NAME gives me error 1957, when sent to a Win-7 32 bit machine.
>
>1957 is Error accessing printer spooler, and is described as "An internal call to the GetPrinter( ) function has failed. Visual FoxPro calls this function through either PRTINFO( ) or SET PRINTER TO."
>
>I'm looking for a fix, or a work-around. My Client has moved to Win-7. Everything worked fine previously under Vista.
>
>Bob
--sb--