Writing data to a Printer Device Context
I have created a character buffer (char buff) which contains the data of a word document (the document contains text and images).
i would like to pass this data onto a printer. I have managed to get the handle of the printer using GetPrinterDC. but what i can't figure out is how am i going to pass my buffer data to this DC?
If given the handle of a window, we can find its DC and then pass that data to the printer DC using BitBlt, but in my case i don't have a handle, but only an array of characters which represent some image.
Can somone suggest a method?