Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Tkinter and Print command

Reply
Thread Tools

Tkinter and Print command

 
 
Rachel.Vaudron
Guest
Posts: n/a
 
      10-13-2003
Hi,

After a long time searching into the downloadable documentations, I wonder
if there's a dialog addition to Tkinter witch launch a print box?

I have searched in the module FWIW, where I have found askopenfile(), etc...
but nothing like askprint().

Thanks a lot for your help.

Rachel

**************************************
http://www.velocityreviews.com/forums/(E-Mail Removed)
Laboratoire de prehistoire du Lazaret
33 bis bd Franck Pilatte 06300 Nice
tel:04-92-00-17-37/fax:04-92-00-17-39
******** Windows a bug's life ********


 
Reply With Quote
 
 
 
 
Michael Peuser
Guest
Posts: n/a
 
      10-13-2003
"Rachel.Vaudron" <(E-Mail Removed)>
>
> After a long time searching into the downloadable documentations, I wonder
> if there's a dialog addition to Tkinter witch launch a print box?


They main issue is that Tk cannot print at all, so what use do you have for
a print box?

A Canvas widget can output PostScript to a file, but tscaling is somwhat.

If you need printable documents, you will get good results with PDF using
ReportLab. Note that you have to do all the rendering yourself, but
ReportLab has a lot of features and PostScript is *very* flexible.

Kindly
MichaelP



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: What is the differences between tkinter in windows and Tkinter inthe other platform? Hidekazu IWAKI Python 0 12-15-2009 05:58 AM
What is the differences between tkinter in windows and Tkinter in theother platform? Hidekazu IWAKI Python 1 12-14-2009 03:44 PM
print a vs print '%s' % a vs print '%f' a David Cournapeau Python 0 12-30-2008 03:19 AM
Problem - I want to print Current Output of Pdf file and should print once.I get print dialog box but it is not working keto Java 0 05-30-2007 11:27 AM
Unlarging the print to print using PDF file to print Bun Mui Computer Support 3 09-13-2004 03:15 AM



Advertisments