Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105631 > unrolled thread
| Started by | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| First post | 2016-03-24 12:01 -0400 |
| Last post | 2016-03-24 12:01 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Connect to Default Printer Terry Reedy <tjreedy@udel.edu> - 2016-03-24 12:01 -0400
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2016-03-24 12:01 -0400 |
| Subject | Re: Connect to Default Printer |
| Message-ID | <mailman.101.1458835321.2244.python-list@python.org> |
On 3/23/2016 8:39 PM, Bryon Fawcett wrote: > Could you please advise me how to connect the python software to my default > printer. IDLE prints to default printer with function print_window in idlelib/IOBinding.py. The two GetOption calls return these two strings (from config-main.def). For print-command-posix, 'lpr %s' For print-command-win, 'start /min notepad /p %s' You should be able to adapt to your needs. Perhaps you do not need the messageboxes. -- Terry Jan Reedy
Back to top | Article view | comp.lang.python
csiph-web