BUG: SpoolFile() Fails in Windows 95 (139011)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1, when used with:
This article was previously published under Q139011 SYMPTOMSSpoolFile() fails in Windows 95, or it fails to remove the spooled file.
RESOLUTIONSpoolFile() spools the file if the first two parameters are reversed.
SpoolFile() is documented as:
HANDLE SpoolFile(lpszPrinter, lpszPort, lpszJob, lpszFile);
The SpoolFile() needs to be documented as follows to work:
HANDLE SpoolFile(lpszPort, lpszPrinter, lpszJob, lpszFile);
There is no way to get SpoolFile() to remove the spooled file. The file must be removed by the calling application once the file has been printed.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 3/21/2005 |
---|
Keywords: | kbbug kbprint KB139011 |
---|
|