Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #42694

Re: IDLE printing problem

From Terry Jan Reedy <tjreedy@udel.edu>
Subject Re: IDLE printing problem
Date 2013-04-03 14:40 -0400
References <7glol8dqdbd0a7cijteuqs3apr68jvjn65@4ax.com>
Newsgroups comp.lang.python
Message-ID <mailman.72.1365014457.3114.python-list@python.org> (permalink)

Show all headers | View raw


On 4/3/2013 12:24 PM, Joe Hill wrote:
On 4/3/2013 12:24 PM, Joe Hill wrote:
 > I attempted to print about 10 pages of documentation from the help files
 > using IDLE.  On all the pages the side of each page was missing about 1/4
 > inch of text.

You neglected to say what you actually did to have a problem. I tried 
the following with the font set to the default Courier.
 >>> help(tuple)
<a page and a half of help text>
<print to Canon inkjet or HP Laserjet 5>
Everything printed, with longest lines just fitting within the margins.

 > Am I missing a setting?  Is this a known problem?  Will it do the same
 > with lines of code?

Printing depends on font, font size, OS printer driver, and printer. I 
suspect Idle just sends print command to tk text widget. Its 'print 
dialog' is as primitive as possible: the only choice is to print to the 
default printer or not; no printer choice, no page setup. Tk, in turn, 
should just put the text in a temporary file and turn it over to the OS 
printer driver.

 > Using W7, 64 bit. PY 3.3.
 >
 > It worked just fine when I pasted the text in Word 2010.

I am sure it is has more knowledge about the vagaries of printing. You 
might try a single page (with max length lines) after Word prints to see 
if it left the printer in a better state.


Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

IDLE printing problem Joe Hill <JH@nospamever.com> - 2013-04-03 09:24 -0700
  Re: IDLE printing problem Terry Jan Reedy <tjreedy@udel.edu> - 2013-04-03 14:40 -0400
    Re: IDLE printing problem Joe Hill <JH@nospamever.com> - 2013-04-03 11:50 -0700
      Re: IDLE printing problem Terry Jan Reedy <tjreedy@udel.edu> - 2013-04-03 16:20 -0400
        Re: IDLE printing problem Joe Hill <JH@nospamever.com> - 2013-04-03 14:16 -0700
          Re: IDLE printing problem Terry Jan Reedy <tjreedy@udel.edu> - 2013-04-03 18:17 -0400
            Re: IDLE printing problem Joe Hill <JH@nospamever.com> - 2013-04-03 15:26 -0700
              Windows printing problem (was re; IDLE printing problem_ Terry Jan Reedy <tjreedy@udel.edu> - 2013-04-03 22:01 -0400

csiph-web