how to get the output through printer

Newbie Member
21Nov2010,21:09   #1
snjbmishra's Avatar
Please solve my problem of

how to send the output of c program to priter for output
Mentor
22Nov2010,13:48   #2
xpi0t0s's Avatar
In Windows you just create a printer HDC object and draw your output to that instead of to the screen HDC. It's really easy; if you can display on screen, you can print, *and* you can use exactly the same code. It's all done for you within the WinAPI.