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.
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++.