Pb print preview

Hi all,

I imagine, it's a simple question for you, but I don't find the solution !...

I use :

from wx.lib.printout import PrintTable
prt = PrintTable()
...
prt.Preview()

All works fine, but it's posiible to print only 100 pages. :frowning:
How can I change the max number of pages for printing.

Thanks, in advance, for your help.

Friendly.

路路路

--

Hugues JEAN-BAPTISTE (hjb@agorinfo.fr)
AGORINFO S.A. (http://www.agorinfo.fr)

Did you look at the source of wx/lib/printout.py?

You might try changing the value of either or both

        self.total_pg (found in line 746)

or

        self.page_total (found in line 936)

to a different value.

Harald St眉rzebecher

路路路

2006/1/25, Hugues JEAN-BAPTISTE <hjb@agorinfo.fr>:

Hi all,

I imagine, it's a simple question for you, but I don't find the solution
!...

I use :

from wx.lib.printout import PrintTable
prt = PrintTable()
...
prt.Preview()

All works fine, but it's posiible to print only 100 pages. :frowning:
How can I change the max number of pages for printing.