device interfacing in C++

Hi

Is there any good tutorial of C++ that tells about how to interact with the printers in the network.

Kindly advice

Regards
Karan Gupta
I found this in MSDN:
http://support.microsoft.com/kb/166129

It is not a tutorial but it is how to print on a network computer or any non default printer.
Hi


I am reading the article. In the article there is a header file "winspool.h" is there, but I couldn't find winspool.h in my PC. Is there an web site from where I can download this.

Regards
Karan
VC++ has it as a library. But if you are not using VC++ then here is the link with the contents of winspool.h
http://www.koders.com/c/fid7BBB738B5AAC112AD64F990BA59A9440FEB9A182.aspx

I don't know if this is the last one, i can send you the one I have if you want.
Last edited on
Err, installing the header is all very well but those are just the function definitions - you will need the Windows library. Karang, do you have windows.h? If not then you are missing the whole windows libraries and will need to install them. Not sure where from though. I know that Dev-C++ has the windows libraries - maybe you should use Dev-C++.
Hi
I am using Dev-C++. But while trying to run the project I am getting the message

" The system cannot find the file specified"

Regards
Karan
Topic archived. No new replies allowed.