printing WIDE pages with PrintTable and PrintGrid

I have grids with a lot of columns and rows. I tried to print with (wx.lib.printout) both PrintTable and PrintGrid.

The printout handles the multiple rows ok. However, it is unable to handle the columns. Instead of splitting the columns over multiple pages in fits them all on to one page so that the data
in the individual cells are not printed.

When I tried to use “set_column” to widen the columns I received a warning “Warning, Too Wide for Page” and then a " IndexError: list index
out of range" was thrown.

Is there away to force printout to automatically size the columns to fit the text and to split the columns over multiple tables?

Thanks

Yaakov

···

This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@nds.com and delete it from your system as well as any copies. The
content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes.

To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com

Not that I know of. If you modify the code in wx.lib.printout to handle these features please submit a patch.

···

On 6/15/11 12:45 AM, Blank, Yaakov wrote:

I have grids with a lot of columns and rows. I tried to print with
(wx.lib.printout) both PrintTable and PrintGrid.
The printout handles the multiple rows ok. However, it is unable to
handle the columns. Instead of splitting the columns over multiple pages
in fits them all on to one page so that the data in the individual cells
are not printed.
When I tried to use "set_column" to widen the columns I received a
warning "Warning, Too Wide for Page" and then a "IndexError: list index
out of range" was thrown.
Is there away to force printout to automatically size the columns to fit
the text and to split the columns over multiple tables?

--
Robin Dunn
Software Craftsman