a) no suggestion
b) I suggest that you code something like this
If Aprinter(aDummy)=0
Messagebox('Problems with the printer, try again later'"
else
Endif
>I have an application (well more that one actually) running on a Citrix network.
>
>From time to time the application "loses" all printers, the local user still has printer listed but from within my application I get;
>
>GetPrinter() - errors with "Printer not Ready".
>SYS(6) - return blank.
>APRINTERS() - returns empty.
>SET PRINTER TO NAME ValidPrinterName returns "Error accessing printer spooler".
>
>It's happened a few times over last couple of months, normally the IT support for the Citrix network restart the Windows Spooler and Citrix Spooler and that sorts the issue, but this time even that does not fix anything.
>
>Anyone any ideas on a) how to resolve or b) a work around?
>
>
>Gary.