delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/03/18:39:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040603183050.03248488@pop.theworld.com>
X-Sender:
Date: Thu, 03 Jun 2004 18:33:33 -0400
To: cygwin AT cygwin DOT com, Chris Carlson <ccarlson AT istor DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Printing under Cygwin on W2K
In-Reply-To: <Pine.GSO.4.58.0406031326380.29912@slinky.cs.nyu.edu>
References: <7D036BD3216A084DB1BD9D62BCEAF29049A414 AT mail1irv DOT inside DOT istor DOT com> <Pine DOT GSO DOT 4 DOT 58 DOT 0406031326380 DOT 29912 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0

At 01:39 PM 6/3/2004, you wrote:
>On Thu, 3 Jun 2004, Chris Carlson wrote:
>
>> According to the documentation, the following should print on the
>> default printer:
>>
>>         bash$  cat myfile.txt > PRN
>>
>> What I find is that a new file is created named "PRN".
>
>Known problem.  There's a patch pending for this -- once it's checked in,
>this functionality should be available again.  Until then, use lpr from
>the cygutils package...
>
>> Also according to the documentation, cygwin understands the double-slash
>> form used in Windows.  Thus the following should work:
>>
>>         bash$  cat myfile.txt > //Dc1irv/laser1
>>
>> This returns:
>>
>>         bash: //Dc1irv/laser1: No such host or network path
>
>Nope, that shouldn't work.  I don't think you can redirect output to a
>printer name even from the Windows console, much less from Cygwin.  In
>any case, Cygwin doesn't treat printer shares as devices.


No, the above works fine, even in cygwin 1.5.10, if the network printer is 
set up properly. 


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019