Article ID: 139011
Article Last Modified on 3/21/2005
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.
111010 HOWTO: Use PASSTHROUGH As An Alternative to SpoolFile()
138594 HOWTO: Send Raw Data to a Printer by Using the Win32 API
Additional query words: 4.00 SpoolFile Raw RAW.DRV PASSTHROUGH
Keywords: kbbug kbprint KB139011