|
27th February 2009, 08:45 PM
|
Hi, this happens with printer connected to non-existent LPT1 port or TCP/IP
port.
1) Send first print job, when calling StartDoc set DOCINFO lpszOutput to
NULL, it sits in front of queue, no problem.
2) Send second print job, same as first job, it sits behind first job in
queue, no problem.
3) Send third print job, but this time when calling StartDoc set DOCINFO
lpszOutput to a file path. The file is new and it is on either ProgramData or
a network drive which gives permission to create. The second print job
magically gets the 3rd print jobs file in it's port, as shown when viewing
the print queue. Futhermore, third print job hangs waiting for EndDoc.
|