Everytime when i try to print something with calling of EngWritePrinter, i get this error message (ERROR_INVALID_HANDLE), i am using DrvEnablePDEV function's hDriver parameter value as first parameter of EngWritePrinter. What do u say?
Could i simply use my printer driver with microsoft supplied print processor and port, i thought that i simply call EngWritePrinter and send all nfo to the spooler and the last part of this work spooler realize itself, right?
Should i take care about the specific code of the printer (when the spooler calls DrvStartPage or DrvSendPage or DrvStartDoc or DrvEndDoc )or the print processor takes care of it?
Another problem i've encountered was in Word editor, everytime when i tried to choose my printer in the print window ( ctrl+p ), i got the message of out of memory, why was that?
Im using WinXp sp2.
Thanks in advance,