Printing with wxPython

Hi!

I have a bit of a problem. I need to be able to print an entire frame to a printer in wxPyhon. I have been looking through the documentation and am a bit lost. Any ideas?

mike

Michael Verbeke wrote:

Hi!
I have a bit of a problem. I need to be able to print an entire frame to a printer in wxPyhon. I have been looking through the documentation and am a bit lost. Any ideas?

A whole wxFrame, as in a screen-shot? In that case you can try using a wxWindowDC and then blitting it to a wxMemoryDC with a btimap selected into it. Then you should be able to print the bitmap.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!