Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105605
| From | Grant Edwards <invalid@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Connect to Default Printer |
| Date | 2016-03-24 12:55 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <nd0o4t$663$2@reader1.panix.com> (permalink) |
| References | <mailman.80.1458801781.2244.python-list@python.org> |
On 2016-03-24, Bryon Fawcett <jandbfawcett@gmail.com> wrote:
> Could you please advise me how to connect the python software to my default
> printer.
import os
os.popen("lpr","w").write("Hi there, this just got printed!\r\n")
--
Grant
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Connect to Default Printer Bryon Fawcett <jandbfawcett@gmail.com> - 2016-03-24 13:39 +1300 Re: Connect to Default Printer Grant Edwards <invalid@invalid.invalid> - 2016-03-24 12:55 +0000
csiph-web