Click to See Complete Forum and Search --> : Printing Bitmaps


May 13th, 1999, 05:08 PM
I've been trying to print a CBitmap taken originally from a 16-bit
color display DC and print to a Print DC. Print preview looks
great but the printout is a black rect. I've been using CDC::BitBlt and
CDC::StretchBlt.

Should I be using ::SetDIBitsToDevice instead?
Any help is greatly appreciated.

Fooo
May 13th, 1999, 10:52 PM
There's some discussion of this if you search for DIB. However, I haven't gotten this to work either. I can print 1 BIT images just fine but 8 bit images come out like your's do.
The answer is apprently to use DIBs but I can't figure out the whole process of conversion.

So far the suggestions here haven't worked for me.