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


Groups > comp.lang.python > #85762

Re: Printing to printer, windows 7

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Printing to printer, windows 7
Date 2015-02-17 20:41 -0500
Organization IISS Elusive Unicorn
References <c4b69693-c5fa-4c89-b4ab-a7a1fe898c22@googlegroups.com> <54E2AF49.500@davea.name>
Newsgroups comp.lang.python
Message-ID <mailman.18800.1424223693.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, 16 Feb 2015 22:02:33 -0500, Dave Angel <davea@davea.name> declaimed
the following:


>It is a simple problem.  All you have to do is send the correct bytes to 
>a file object that will transfer those bytes to the printer.  It's been 
>a long time since I used Windows, but if I recall, you just open the 
>device "prn"  or maybe "lpt1" and go.
>

C:\Users\Wulfraed\Documents>copy t.txt prn:
"prn:" is not a recognized device.
The system cannot find the file specified.

C:\Users\Wulfraed\Documents>copy t.txt lpt1:
"lpt1:" is not a recognized device.
The system cannot find the file specified.

	And...

C:\Users\Wulfraed\Documents>copy t.txt CN3BSFVGP805ZZ:
"CN3BSFVGP805ZZ:" is not a recognized device.
The system cannot find the file specified.

	That's the port name associated with my HP printer when looking at the
control panel properties.

	LPT1: appears to be linked to "Quicken PDF Printer" in the port list,
but is not available from command line.

-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

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