delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/01/18:38:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3CA8EF67.6050008@ece.gatech.edu>
Date: Mon, 01 Apr 2002 18:38:15 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Lester Ingber <ingber AT ingber DOT com>, cygwin AT cygwin DOT com
Subject: Re: Printing PostScript file
References: <20020401164752 DOT A17088 AT ingber DOT com>


Lester Ingber wrote:

> Up until about a month ago I was able to send PostScript files to my PC
> network PostScript printer using the -S flag (as on Solaris) to specify
> an IP address, e.g., I used
> lpr -S10.6.18.220 -Pq -ol file.ps
> and it worked great even in batch mode for many files.
> 
> Now it seems broken?  I get:
> lpr: unknown option -- S
> 
> Has the cygwin utility been changed?


Sort of.  Unless you were using a custom program, there WAS no cygwin 
version of lpr until about a month ago.  At that time, a cygwin version 
of lpr was added to the cygutils package.

My guess: you were previously using the native windows version of lpr in 
C:\WINNT\system32\ and now are using the new cygwin version.

Good things about the cygwin version: understands cygwin paths and 
filenames.  Bad things: command line options aren't the same -- and I 
don't think it can use ip addrs as print destinations.  Contributions 
welcome.

--Chuck



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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