printing with wxPython

Fabio Pliger fabio.pliger at siavr.it
Wed Apr 13 09:12:41 EDT 2005


Yeah,
There are two about printing... there is also an example in the wxDemo...
but they all talk about printing text... In my case i need to print (or at
least to make a print preview) a bitmap (or a panel...)


"Peter Hansen" <peter at engcorp.com> ha scritto nel messaggio
news:FKydnWvMkrSIasbfRVn-3g at powergate.ca...
> Fabio Pliger wrote:
> > Hi!
> > I'm using wxPython to handle my application gui.. So,  I have a notebook
> > widget and i have to print the object inside it's tab ... Maybe doing a
> > preview before printing... I know that wx has many objects to handle
> > printing.. i've tryied to use them, but i wasn't able to... Any hint? By
> > now, i solved the problem saving a screenshot if the screen in an
image(bmp)
> > and then sending it to printer... (a print preview would be cool...)
> > tnx
>
> Maybe the recipes on the wxPython wiki page would
> help:
> http://wiki.wxpython.org/index.cgi/RecipesOther
>
> There are at least two dealing with "Printing".





More information about the Python-list mailing list