Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42682 > unrolled thread
| Started by | Joe Hill <JH@nospamever.com> |
|---|---|
| First post | 2013-04-03 09:24 -0700 |
| Last post | 2013-04-03 22:01 -0400 |
| Articles | 8 — 2 participants |
Back to article view | Back to comp.lang.python
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
| From | Joe Hill <JH@nospamever.com> |
|---|---|
| Date | 2013-04-03 09:24 -0700 |
| Subject | IDLE printing problem |
| Message-ID | <7glol8dqdbd0a7cijteuqs3apr68jvjn65@4ax.com> |
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. Am I missing a setting? Is this a known problem? Will it do the same with lines of code? Using W7, 64 bit. PY 3.3. It worked just fine when I pasted the text in Word 2010. j
[toc] | [next] | [standalone]
| From | Terry Jan Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2013-04-03 14:40 -0400 |
| Message-ID | <mailman.72.1365014457.3114.python-list@python.org> |
| In reply to | #42682 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Joe Hill <JH@nospamever.com> |
|---|---|
| Date | 2013-04-03 11:50 -0700 |
| Message-ID | <g6uol8l896a5kn48qe0mofmt5a7tbes1t7@4ax.com> |
| In reply to | #42694 |
On Wed, 03 Apr 2013 14:40:38 -0400, Terry Jan Reedy <tjreedy@udel.edu> wrote: >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. Text that I needed to make sense of the page did not print from the help file. Characters were missing on the right side on every long line on every page. It is a new install (3.3) and I have changed none of the settings that I am aware of. 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. > > I did print a single page - with the same outcome.
[toc] | [prev] | [next] | [standalone]
| From | Terry Jan Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2013-04-03 16:20 -0400 |
| Message-ID | <mailman.74.1365020446.3114.python-list@python.org> |
| In reply to | #42697 |
On 4/3/2013 2:50 PM, Joe Hill wrote: > On Wed, 03 Apr 2013 14:40:38 -0400, Terry Jan Reedy <tjreedy@udel.edu> > 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. > Text that I needed to make sense of the page did not print from the help > file. Characters were missing on the right side on every long line on > every page. I got that already. Until you say what you did, in enough detail to reproduce your actions, I cannot comment further.
[toc] | [prev] | [next] | [standalone]
| From | Joe Hill <JH@nospamever.com> |
|---|---|
| Date | 2013-04-03 14:16 -0700 |
| Message-ID | <of6pl8hvn0faks853lmaoh81r7n2589tdl@4ax.com> |
| In reply to | #42703 |
On Wed, 03 Apr 2013 16:20:20 -0400, Terry Jan Reedy <tjreedy@udel.edu> wrote: >On 4/3/2013 2:50 PM, Joe Hill wrote: >> On Wed, 03 Apr 2013 14:40:38 -0400, Terry Jan Reedy <tjreedy@udel.edu> >> 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. > >> Text that I needed to make sense of the page did not print from the help >> file. Characters were missing on the right side on every long line on >> every page. > >I got that already. Until you say what you did, in enough detail to >reproduce your actions, I cannot comment further. > ok I Open IDLE and click on Help and select the second option which is Documentation - select Glossary. I then click on the Print icon at the top of the Help/Documentation screen - then let er rip. The word/line wrap on the screen is ok and the printed output is not. This was all unexpected outcomes. I appreciate your help and that perhaps a fix can be found for everyone. Mine is a very standard setup W7 Ult, 64bit and an Epson printer (WP-4020) J
[toc] | [prev] | [next] | [standalone]
| From | Terry Jan Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2013-04-03 18:17 -0400 |
| Message-ID | <mailman.81.1365027468.3114.python-list@python.org> |
| In reply to | #42704 |
On 4/3/2013 5:16 PM, Joe Hill wrote: > On Wed, 03 Apr 2013 16:20:20 -0400, Terry Jan Reedy <tjreedy@udel.edu> > wrote: > >> On 4/3/2013 2:50 PM, Joe Hill wrote: >>> On Wed, 03 Apr 2013 14:40:38 -0400, Terry Jan Reedy <tjreedy@udel.edu> >>> 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. >> >>> Text that I needed to make sense of the page did not print from the help >>> file. Characters were missing on the right side on every long line on >>> every page. >> >> I got that already. Until you say what you did, in enough detail to >> reproduce your actions, I cannot comment further. > I Open IDLE and click on Help and select the second option which is > Documentation - select Glossary. The three options I see are 1) 'About Idle', 2) 'Idle help', which brings as a 2 page doc starting "[See the end of this file for ** TIPS **", and 3) "Python Docs - F1". On Windows, this third option brings up Windows Help opened to the windows-help version of the docs, which are also available online in a browser. In either case, Glossary is one of the docs. We have left IDLE so your problem has nothing to do with IDLE. On Windows, one can open the same doc from the Start menu by selecting Python x.y / Python Docs. > I then click on the Print icon at the > top of the Help/Documentation screen - then let er rip. > The word/line wrap on the screen is ok and the printed output is not. The word wrap on the screen adjusts to the window width. With the window too wide for the printer, I selected about five paragraphs, printed the selection, and the text was properly re-wrapped for printing with nothing lost, as if the display window had been narrowed. Windows obvious knows how wide the virtual window is for the particular combination of font (about 14 pt proportional sans serif) and printer. Apparently it is mis-calculating for your font and printer combination. > This was all unexpected outcomes. > I appreciate your help and that perhaps a fix can be found for everyone. > Mine is a very standard setup W7 Ult, 64bit and an Epson printer > (WP-4020) I have 64 bit Win7 pro with Canon and HP printers. The help window with a sheet+? icon in the upper left is Microsoft's program. The only thing I can suggest is to check for updated drivers, and make sure you have the correct driver. -- Terry Jan Reedy
[toc] | [prev] | [next] | [standalone]
| From | Joe Hill <JH@nospamever.com> |
|---|---|
| Date | 2013-04-03 15:26 -0700 |
| Message-ID | <ivapl85q56fm59qbtkid9h0hntbbm9ep96@4ax.com> |
| In reply to | #42712 |
On Wed, 03 Apr 2013 18:17:26 -0400, Terry Jan Reedy <tjreedy@udel.edu> wrote: >On 4/3/2013 5:16 PM, Joe Hill wrote: >> On Wed, 03 Apr 2013 16:20:20 -0400, Terry Jan Reedy <tjreedy@udel.edu> >> wrote: >> >>> On 4/3/2013 2:50 PM, Joe Hill wrote: >>>> On Wed, 03 Apr 2013 14:40:38 -0400, Terry Jan Reedy <tjreedy@udel.edu> >>>> 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. >>> >>>> Text that I needed to make sense of the page did not print from the help >>>> file. Characters were missing on the right side on every long line on >>>> every page. >>> >>> I got that already. Until you say what you did, in enough detail to >>> reproduce your actions, I cannot comment further. > > >> I Open IDLE and click on Help and select the second option which is >> Documentation - select Glossary. > >The three options I see are >1) 'About Idle', >2) 'Idle help', which brings as a 2 page doc starting "[See the end of >this file for ** TIPS **", and >3) "Python Docs - F1". On Windows, this third option brings up Windows >Help opened to the windows-help version of the docs, which are also >available online in a browser. In either case, Glossary is one of the docs. > >We have left IDLE so your problem has nothing to do with IDLE. On >Windows, one can open the same doc from the Start menu by selecting >Python x.y / Python Docs. > >> I then click on the Print icon at the >> top of the Help/Documentation screen - then let er rip. >> The word/line wrap on the screen is ok and the printed output is not. > >The word wrap on the screen adjusts to the window width. With the window >too wide for the printer, I selected about five paragraphs, printed the >selection, and the text was properly re-wrapped for printing with >nothing lost, as if the display window had been narrowed. Windows >obvious knows how wide the virtual window is for the particular >combination of font (about 14 pt proportional sans serif) and printer. >Apparently it is mis-calculating for your font and printer combination. > >> This was all unexpected outcomes. >> I appreciate your help and that perhaps a fix can be found for everyone. >> Mine is a very standard setup W7 Ult, 64bit and an Epson printer >> (WP-4020) > >I have 64 bit Win7 pro with Canon and HP printers. The help window with >a sheet+? icon in the upper left is Microsoft's program. The only thing >I can suggest is to check for updated drivers, and make sure you have >the correct driver. In light of the fact that this is a new problem and has only occurred in Python - I shall just regard that as either a feature or flaw... Thanks for the effort. J
[toc] | [prev] | [next] | [standalone]
| From | Terry Jan Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2013-04-03 22:01 -0400 |
| Subject | Windows printing problem (was re; IDLE printing problem_ |
| Message-ID | <mailman.84.1365040899.3114.python-list@python.org> |
| In reply to | #42713 |
On 4/3/2013 6:26 PM, Joe Hill wrote: > In light of the fact that this is a new problem and has only occurred in > Python - I shall just regard that as either a feature or flaw... Based on what you have said, the problem IS NOT OCCURRING IN PYTHON. It is occurring in the Microsoft HTML help viewer.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web