delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/03/15:41:29

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
MIME-Version: 1.0
Subject: RE: Printing under Cygwin on W2K
Date: Thu, 3 Jun 2004 12:41:01 -0700
Message-ID: <7D036BD3216A084DB1BD9D62BCEAF2908898D8@mail1irv.inside.istor.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Chris Carlson" <ccarlson AT istor DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i53JfNe6016167

Thanks for the quick response!

Chris Carlson
iStor Networks, Inc.


-----Original Message-----
From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu] 
Sent: Thursday, June 03, 2004 10:39 AM
To: Chris Carlson
Cc: cygwin AT cygwin DOT com
Subject: Re: Printing under Cygwin on W2K

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.

> So, what is the proper method for printing under cygwin?

Either "lpr" or, if you want to get fancier, "a2ps" or "enscript".
	Igor

> BTW: uname -a returns:
>
> CYGWIN_NT-5.0 jackal 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown
> unknown Cygwin
>
> Thanks in advance.
>
> Chris Carlson
> iStor Networks, Inc.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his
route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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