Re: HELP Printing with wxPython

2005-05-12 Thread James Carroll
There's a working version in the wxPython Demo... If you run the wxpython demo, and choose Print Framework under Miscellaneous it has code that looks a whole lot like what's on the wiki, only you can test it and try it out and see if it's broken for you there. If anything doesn't work, let the w

Re: HELP Printing with wxPython

2005-05-12 Thread Mike Meyer
jeff elkins <[EMAIL PROTECTED]> writes: >> Instead, as was suggested earlier, use the "lpr" command and send it >> the text/data on standard input. Any reasonably managed Unix system >> should be able to handle a fair range of graphics formats, though >> postscript is preferred. > I've been using:

Re: HELP Printing with wxPython

2005-05-12 Thread jeff elkins
On Thursday 12 May 2005 04:56 am, Mike Meyer wrote: > James Carroll <[EMAIL PROTECTED]> writes: > > If you are doing this just for yourself, and you know you have a > > printer that will really print just the plain text when you send it > > plain text (like a dot matrix printer from the early 90s)

Re: HELP Printing with wxPython

2005-05-11 Thread Mike Meyer
James Carroll <[EMAIL PROTECTED]> writes: > If you are doing this just for yourself, and you know you have a > printer that will really print just the plain text when you send it > plain text (like a dot matrix printer from the early 90s) then you can > probably open the printer device and send it

Re: HELP Printing with wxPython

2005-05-11 Thread Mario
"James Carroll" <[EMAIL PROTECTED]> wrote: >I especially like the HtmlEasyPrinting write-up here: > http://wiki.wxpython.org/index.cgi/Printing Thank you for your suggestion but I'm just not able to make it work, as i said on the original post, I do exactly what is wrote there, but it gives err

Re: HELP Printing with wxPython

2005-05-11 Thread Mario
"Larry Bates" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Mario, > > Here is a function stripped from a working program that uses printpreview > from wxWindows to print out cells from a grid that the user is working > on. Hopefully this can point you in the proper direct

Re: HELP Printing with wxPython

2005-05-11 Thread Mario
"Tim G" <[EMAIL PROTECTED]> wrote: > Essentially, if you're on Windows (and have no need > to run on anything else) then consider some of the > solutions here: > > http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html That was exactly what I needed! Thanks SO MUCH! :) I tested all the dif

Re: HELP Printing with wxPython

2005-05-11 Thread Larry Bates
Mario, Here is a function stripped from a working program that uses printpreview from wxWindows to print out cells from a grid that the user is working on. Hopefully this can point you in the proper direction. Regards, Larry Bates def DO_printpreview(self, event): if self._trace:

Re: HELP Printing with wxPython

2005-05-11 Thread James Carroll
Hi Mario, > Something like SendPrinter("some text\n")? If you are doing this just for yourself, and you know you have a printer that will really print just the plain text when you send it plain text (like a dot matrix printer from the early 90s) then you can probably open the printer device and

Re: HELP Printing with wxPython

2005-05-11 Thread Tim G
> Hello all, I'm trying hard to make possible to print some simple text from > python to the default printer using wxPython, after days of internet > searches I found this page: http://wiki.wxpython.org/index.cgi/Printing but > is impossible to use this script even if I do exactly as said there. I