StartDocPrinter fails with strange errno
Posted on 2002-04-09
(This is not an MFC question, rather a WIN32 API question, I couldn't find a more relevant topic).
I am using the StartDocPrinter() API to print a text document.
Everything works great on the PCs at work.
Printing failed at a customer site.
It turns out that StartDocPrinter() failed (returned 0).
The errno returned by GetLast Error was once 32 ("The process cannot access the file because it is being used by another process. ") and twice 1722 ("The RPC server is unavailable. ").
Can anybody tell me what the problem might be.
(The OS used is W2000)