Re: Printing Graphics - .bmps
- Posted by ghaberek (admin) Jun 05, 2011
- 1164 views
I think I better understand what you're trying to do now. Try creating a Pixmap and draw your text and barcode onto that. Then just copyBlt() the pixmap to your window during its w32HPaint event. Then when you need to do your printing, just copyBlt() the pixmap again to the Printer instead.
This method is commonly known as "double buffering"; albeit a simple example of it.
-Greg