Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling error 1958
Message
 
To
18/06/2008 10:53:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01325139
Message ID:
01325192
Views:
17
I have been having this error for years, ever since VFP 6. I have never been able to assoiciate it with anything other that it happens with a non-default printer. All printers are networked through print servers so the printer being off line is not my issue. I ended up inserting a bypass in my framework's error handling so the user just gets a "try again" message. It always works the next time the user tries it.
It will be interesting if anyone comes up with a solution other than a "Try...Catch" work around.

Thanks,
Dennis



>I am receiving error 1958 Unable to load printer driver when the needed printer goes offline for various reasons.
>
>The perfect solution would be to check the status of the printer before the app attemps to print and provide a message to the user informing them to contact their network person because the printer is offline. That will make my phone quit ringing because I am not respondible for the printers being available.
>
>I have read and tested everything I can find here (UT) and otherwise and it seems there is no reliable solution. Everything I have tried returns codes indicating the printer is available even when it is off or not connected or otherwise. I find it almost impossible to believe that there is no solution.
>
>Am I missing the obvious? Does anyone know of a solution?
>
>Thanks,
>John
Previous
Reply
Map
View

Click here to load this message in the networking platform