Hi,
Howdy Greg, wrote:
...
The main magic is your derived PrintOut class (subclassed from
wxPrintout). HasPage() and OnPrintPage() are the important methods.
...
Could you provide a complete small application showing this,
just something that prints the numbers 1 to 100.
I still do not understand how to create multiple pages document.
How do you I start a new page? What does exactly HasPage() do?
I never found a code example.
Jean-Michel Fauth, Switzerland
Here's a little example I put together for myself. It's probably not very
well documented, and probably not very well written. Still, it's pretty
close to what you want, but plays a little with line-by-line formatting as
well.
Hope it helps.
David Woods
Wisconsin Center for Education Research
University of Wisconsin, Madison
example.zip (6.34 KB)
ยทยทยท
-----Original Message-----
From: Jean-Michel Fauth [mailto:jmfauth@bluewin.ch]
Sent: Thursday, October 23, 2003 2:01 PM
To: wxPython-users@lists.wxwindows.org
Subject: Re: [wxPython-users] Printing
Hi,
Howdy Greg, wrote:
...
The main magic is your derived PrintOut class (subclassed from
wxPrintout). HasPage() and OnPrintPage() are the important methods.
...
Could you provide a complete small application showing this,
just something that prints the numbers 1 to 100.
I still do not understand how to create multiple pages document.
How do you I start a new page? What does exactly HasPage() do?
I never found a code example.
Jean-Michel Fauth, Switzerland
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org