Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85763

Re: Printing to printer, windows 7

Newsgroups comp.lang.python
Date 2015-02-17 17:59 -0800
References <c4b69693-c5fa-4c89-b4ab-a7a1fe898c22@googlegroups.com>
Message-ID <d02c0781-2e62-4f79-9b55-bcff930cdf86@googlegroups.com> (permalink)
Subject Re: Printing to printer, windows 7
From sohcahtoa82@gmail.com

Show all headers | View raw


On Monday, February 16, 2015 at 6:08:33 PM UTC-8, ken.h...@gmail.com wrote:
> Would seem to be a simple problem.  I just want to print to my printer instead of the console using Python 2.7, Windows 7.  Hours of looking through FAQ's and Google haven't yielded a solution.  Any suggestions appreciated --

I know that most HP printers support connecting on TCP port 9100 and sending plain text to be printed.  Not sure about other brands.  If you want to get fancy, you can look up PJL/PCL to do text formatting.

Of course, this requires you to know the IP address of the printer.  I wouldn't know how to get that programmatically.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Printing to printer, windows 7 ken.hessel@gmail.com - 2015-02-16 18:08 -0800
  Re: Printing to printer, windows 7 Dave Angel <davea@davea.name> - 2015-02-16 22:02 -0500
  Re: Printing to printer, windows 7 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-02-17 00:50 -0500
  Re: Printing to printer, windows 7 sjmsoft@gmail.com - 2015-02-17 12:10 -0800
  Re: Printing to printer, windows 7 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-02-17 20:41 -0500
  Re: Printing to printer, windows 7 sohcahtoa82@gmail.com - 2015-02-17 17:59 -0800
  Re: Printing to printer, windows 7 MRAB <python@mrabarnett.plus.com> - 2015-02-18 02:11 +0000

csiph-web