Mike Driscoll wrote:
I've got a multiline, readonly wx.TextCtrl which has a bunch of text inside of it. What is the easiest way to enable the user to print this output text via a standard print dialog?
Some people seem to think that the wx.HtmlSimplePrinting method is the
easiest, as stated in the wiki:
yup. One of the key problems is that when you print text, you have to typeset it one way or another (figure out where to put line breaks, etc). The html engine does this for you -- it's fairly limited, but if it does what you need, it's much easier than any of the alternatives.
-Chris
ยทยทยท
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov