Where is the printer name, What is a printer hadle and printer defaults. I am not sure what to pass into these parameter : OpenPrinter(PrinterName ,PrintHandle,&PrinterDefault)
Sorry, just have never had to print directly to a printer other than in COBOL.
MuthuIVS
You have to name the printer when you installed it. Start --> Printers & Faxes dialog will show all the printers that are installed on your computer.
There are some printer MFC and non-MFC c++ classes at
www.codeproject.com that you can use as examples. Printing can become pretty complex, especially if you want lines such as on a form.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Offline 21,963 posts
since Aug 2005