Hello, I’m not sure how printing images/documents
works, but I have a wx application that uses a wx.grid and I want to printout the spreadsheet. Is there a
canned function to do this or what are my options? Thanks.
Hello, I’m not sure how printing images/documents works, but I have a wx application that uses a wx.grid and I want to printout the spreadsheet. Is there a canned function to do this or what are my options? Thanks.
There is the wx.lib.printout module in the library that has some table printing abilities that may or may not meet your needs. Otherwise printing is essentially the same as drawing, so if you can draw your data you can print it. See the PrintFramework sample in the demo for a simple example, and there is also a good chapter in the book about printing.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I was reading about printing on the wxpython website and I think I would
like to use report manger... although I have no clue as to how to embed
it into my wx application... I don't suppose someone has a nice very
simple example of how to do this? I just want to create a table, then
send it to a pdf or print it... however I like report manager because in
the future I may want to create a more detailed report than just a
simple table.
Thanks!
Jeff
···
-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Monday, January 29, 2007 5:49 PM
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] printing a spreadsheet
Jeff Peery wrote:
Hello, I'm not sure how printing images/documents works, but I have a
wx
application that uses a wx.grid and I want to printout the
spreadsheet.
Is there a canned function to do this or what are my options? Thanks.
There is the wx.lib.printout module in the library that has some table
printing abilities that may or may not meet your needs. Otherwise
printing is essentially the same as drawing, so if you can draw your
data you can print it. See the PrintFramework sample in the demo for a
simple example, and there is also a good chapter in the book about
printing.
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org