(Using C++ in Visual Studio 2005)
From our application, we want to print a "raw" data file to the printer, and verify that the job was actually printed. Using the Win32 API (EnumJobs, GetPrinter, etc.), we are somewhat able to check on the status of the printjob; However, in certain...
what we are trying to do now is to access/manipulate
the two spool files generated by Win 2K for each print job.
(the .SHD file for job settings, and the .SPL job for the drawing commands).Looks like you can use the Win32 API "EnumJobs" to fill an array of JOB_INFO_2 structures, one for each...
according to the PrintFil site:
"...you can have Printfil capturing a parallel port output, automatically redirecting your print jobs to any printer, even to a printer which is physically connected to the captured port.
"
now if we could figure out how PrinFil captures the parallel port...
The key is that we have to redirect data from our DOS program (which can't be modified) that normally would print to a printer port. We are not trying to print to an actual windows printer, we are trying to capture the raw data stream and process that in various ways with our to-be-developed...
We have an old DOS-based print queuing program that we need to port to Windows. The conversion is necessary because we have a very large DOS based business application that must work under Windows 2000 or XP. The business application prints directly to LPT1, LPT2, or LPT3, and unfortunately we...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.