Robin Dunn napsal(a):
Tomas Brabenec wrote:
Hi all,
i have simply Windows text editor with wxTextCtrl. I need print text from TextCtrl to my printer.
How can I do? I cannot use HtmlEasyPrinting (text formating - spaces, end of lines, ...).
Example at wiki.wxpython.org is very complicated. I'm looking for elementary example (no complicated settings printer or page, only simple print).Do you have some example or tutorial of print text from wxPython ?
<shameless plug>
There is a good example of doing exactly what you need (printing plain text) in the wxPython In Action book.
</shameless plug>
Oh, very thanks, I downloaded example from this book, and now I printing
Probably I buy PDF version of this book. It looks very good.
But now, I have next little problem. If my text includes \t in print version is small rectangle instead of tab spaces. Why?
Tomas Brabenec
http://brabenec.net