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


Groups > comp.lang.python > #85762

Re: Printing to printer, windows 7

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!border3.nntp.ams.giganews.com!backlog3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.039
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'windows,': 0.09; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:printer': 0.16; 'subject:windows': 0.16; 'command': 0.22; 'feb': 0.22; 'appears': 0.22; 'bytes': 0.24; 'url:home': 0.24; 'mon,': 0.24; 'recognized': 0.26; 'header:X-Complaints- To:1': 0.27; 'correct': 0.29; 'go.': 0.31; 'file': 0.32; 'skip:c 30': 0.32; 'open': 0.33; 'maybe': 0.34; 'problem.': 0.35; 'but': 0.35; 'charset:us-ascii': 0.36; 'to:addr:python-list': 0.38; 'list,': 0.38; 'pdf': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'dave': 0.60; 'simple': 0.61; 'name': 0.63; 'linked': 0.65; 'panel': 0.68; 'transfer': 0.82; '2015': 0.84; 'angel': 0.91; 'device.': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Printing to printer, windows 7
Date Tue, 17 Feb 2015 20:41:28 -0500
Organization IISS Elusive Unicorn
References <c4b69693-c5fa-4c89-b4ab-a7a1fe898c22@googlegroups.com> <54E2AF49.500@davea.name>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-108-79-219-10.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18800.1424223693.18130.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1424223693 news.xs4all.nl 2917 [2001:888:2000:d::a6]:42452
X-Complaints-To abuse@xs4all.nl
X-Original-Bytes 3789
Xref csiph.com comp.lang.python:85762

Show key headers only | 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