Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105604 > unrolled thread
| Started by | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| First post | 2016-03-24 08:15 -0400 |
| Last post | 2016-03-24 08:15 -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 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-03-24 08:15 -0400
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2016-03-24 08:15 -0400 |
| Subject | Re: Connect to Default Printer |
| Message-ID | <mailman.91.1458821701.2244.python-list@python.org> |
On Thu, 24 Mar 2016 13:39:18 +1300, Bryon Fawcett <jandbfawcett@gmail.com>
declaimed the following:
>Good afternoon.
>
>Could you please advise me how to connect the python software to my default
>printer.
>
That would depend upon the OS and what type of output you intend to
produce -- the most compatible form is to generate a FILE, and use OS
provided utilities to print said file after the fact.
I've not seen anything that allows direct output to a printer since the
late 80s (many printers don't even understand a raw text file these days;
they expect either PostScript or something that is a printer-specific
stream of pixel data obtained from a memory image of the page).
http://stackoverflow.com/questions/12723818/print-to-standard-printer-from-python
(which links to http://timgolden.me.uk/python/win32_how_do_i/print.html )
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to top | Article view | comp.lang.python
csiph-web