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


Groups > comp.lang.python > #85765

Re: Printing to printer, windows 7

Path csiph.com!usenet.pasdenom.info!gegeweb.org!news.ecp.fr!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.072
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; 'windows,': 0.09; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'subject:printer': 0.16; 'subject:windows': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'command': 0.22; 'feb': 0.22; 'appears': 0.22; 'header:User-Agent:1': 0.23; 'bytes': 0.24; 'mon,': 0.24; 'recognized': 0.26; 'web.': 0.26; 'header:In-Reply-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; 'received:84': 0.35; 'but': 0.35; 'to:addr :python-list': 0.38; 'list,': 0.38; 'pdf': 0.39; 'to:addr:python.org': 0.39; 'dave': 0.60; 'simple': 0.61; 'name': 0.63; 'refer': 0.63; 'linked': 0.65; 'details': 0.65; 'panel': 0.68; 'transfer': 0.82; '2015': 0.84; 'angel': 0.91; 'use"': 0.91; 'device.': 0.93
X-CM-Score 0.00
X-CNFS-Analysis v=2.1 cv=Sbd5d5hu c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=Vhvw94NMJWsA:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=7fTLl6f6Lb5vs0KJKvkA:9 a=QEXdDO2ut3YA:10
X-AUTH mrabarnett@:2500
Date Wed, 18 Feb 2015 02:11:50 +0000
From MRAB <python@mrabarnett.plus.com>
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Printing to printer, windows 7
References <c4b69693-c5fa-4c89-b4ab-a7a1fe898c22@googlegroups.com> <54E2AF49.500@davea.name> <43r7eahbp697numc441je225t093dm7ce3@4ax.com>
In-Reply-To <43r7eahbp697numc441je225t093dm7ce3@4ax.com>
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
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.18801.1424225701.18130.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1424225701 news.xs4all.nl 2916 [2001:888:2000:d::a6]:48715
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:85765

Show key headers only | View raw


On 2015-02-18 01:41, Dennis Lee Bieber wrote:
> 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.
>
You can use the "NET USE" command to make LPT1: refer to your printer.
The details are on the Web. :-)

Back to comp.lang.python | Previous | NextPrevious 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