Vista does cache printer handles from OpenPrinter
According to a interesting post by Carey Gregory, Windows Vista is caching printer handles that are opened with OpenPrinter even when they are BIDI handles.
So if you use OpenPrinter to do stuff like accessing the job or the Xvc interface, you gonna get problems. To fix this, you need to use OpenPrinter2 (on Vista) and specify PRINTER_OPTION_NO_CACHE.
Ahrg!
No comments yet
Leave a reply