On my intranet IIS web servers, we've been using the RawPrinterHelper class for quite a while (at least a year or two) to send print jobs to networked Zebra printers. One particular printer intermittently errors out after the StartPagePrinter method; the Win32 error is #183 ("Cannot create a file when that file already exists"). Many times, this error will continue with each successive print job to that printer, and will sometimes all of a sudden start working again (I can manually get it temporarily working again by restarting the web-server's print-spooler). The print job never makes it to the print-server when it errors out...it appears to get hung up in the web-server's print spooler. Also note that print jobs to other networked printers during these times continue to work fine.
I've tried (or attempted) some of the "winspool.drv" methods (such as "AbortPrinter" and "SetJob"), but haven't had an ...
Go to the complete details ...