I have an application that has worked for many years taking data from a
Unix system and printing it to a Windows printer using the RAW mode.
This program is written in "C" using standard OpenPrinter,
ClosePrinter etc API calls. The DOC_INFO_1 pDataType - set to \"RAW\".
In Vista, this works fine sending data to a physical printer. But, if
the user sets the printer to \"Print To File\" for the port number, the
print job hangs. When you look at the jobs in printer, the spool job
shows \"Error - Printing\" and the printer in the control panel shows
\"Error\".
If I run another application, like Notepad, when the data is printed, I
get the normal dialog box for \"Output File Name\".
I cannot find any messages in the event viewer, so I don't know what
the message means.
I also tried a third party application, \"Frogmore Raw Print\"
('Frogmore - Software for printing'
(
http://www.frogmore-raw-print.com/)) and I get the same results.
The printer is defined as an HP Laserjet 5 Printer, but I also get the
same result if I define the printer has a Generic / Text Only printer,
except the printer in the control panel goes into an Error state and
there is no error message in the spool job detail form.
Does anyone know why this is happening?
I would appreciate any help.
Doug
--
DougFarmer123