Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

EngWritePrinter ERROR_INVALID_HANDLE

Status
Not open for further replies.

MotoFreak

Newbie level 1
Newbie level 1
Joined
Aug 29, 2005
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
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,
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top