How to print bitmaps with gray scaling