Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:IDLE': 0.04; 'problem?': 0.07; 'setup.': 0.07; 'driver,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'attempted': 0.16; 'bit.': 0.16; 'choice,': 0.16; 'code?': 0.16; 'idle.': 0.16; 'printing.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'turn,': 0.16; 'size,': 0.16; 'wrote:': 0.18; 'command': 0.22; '>>>': 0.22; 'print': 0.22; 'header:User-Agent:1': 0.23; 'sends': 0.24; 'subject:problem': 0.24; 'text.': 0.24; 'fine': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'joe': 0.30; 'lines': 0.31; 'font': 0.31; 'prints': 0.31; 'file': 0.32; 'text': 0.33; '2010.': 0.33; 'worked': 0.33; 'knowledge': 0.35; 'problem.': 0.35; 'idle': 0.36; 'should': 0.36; 'turn': 0.37; 'depends': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'length': 0.61; 'received:173': 0.61; 'more': 0.64; 'temporary': 0.65; 'within': 0.65; 'side': 0.67; 'default': 0.69; 'longest': 0.84; 'received:fios.verizon.net': 0.84; 'subject:printing': 0.84; 'hill': 0.95; 'state.': 0.95 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Jan Reedy Subject: Re: IDLE printing problem Date: Wed, 03 Apr 2013 14:40:38 -0400 References: <7glol8dqdbd0a7cijteuqs3apr68jvjn65@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: <7glol8dqdbd0a7cijteuqs3apr68jvjn65@4ax.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365014457 news.xs4all.nl 6894 [2001:888:2000:d::a6]:41617 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42694 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) 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.