ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxpython-users
wxpython-users
[wxpython-users] using class wx.lib.printout to print table
by Devendran Chandra other posts by this author
May 27 2009 5:40AM messages near this date
Re: [wxpython-users] Testing events, I'm missing the gist | Re: [wxpython-users] using class wx.lib.printout to print table
Hi Everyone,

 

I am building an app which needs me to print a table via attached default print. I have got 
it working, except for the fact i am not sure how to disable the printer dialog from appeari
ng.

 

example

 

prt = printout.PrintTable(self.frame)

prt.data = self.data
prt.Print() -->  this boots up the print dialog

 

i read about wx.Printer module, but i don think it supports the printout module, or i might 
not understand how to use it yet.(still new to python/programming)

 

Are there anyone who might be aware on how to use wx.lib.printout.PrintTable without the pri
nter dialog appearing?

 

Alternatively,

 

The whole idea is to print tables, where i will need to insert custom data, based on another
 program which crunches the values. These values will be loaded into the table like format, 
and printed out. This is why i tried out the wx.lib.printout module. Is there any other way 
to do this?

 

Thank you for looking into this!

 

Best Rgds,

Devendran

Sr.Engineer

SSD Division

 

_________________________________________________________________
NEW! Get Windows Live FREE.
http://www.get.live.com/wl/all
Thread:
Devendran Chandra
Robin Dunn

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved