delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/17/09:00:01

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
Date: Tue, 17 Sep 2002 09:03:41 -0400
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: printing from within Cygwin
In-reply-to: <Pine.GSO.4.44.0209161419370.21486-200000@slinky.cs.nyu.edu>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20020917130341.GB540@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20020916181740 DOT GS424 AT tishler DOT net>
<Pine DOT GSO DOT 4 DOT 44 DOT 0209161419370 DOT 21486-200000 AT slinky DOT cs DOT nyu DOT edu>

Igor,

On Mon, Sep 16, 2002 at 03:16:23PM -0400, Igor Pechtchanski wrote:
> I know GSPrint can work with Windows printers.  It works fine if you
> only want to use the windows default printer.  I couldn't, however,
> get it to work correctly with the -printer and -query options (well,
> the -printer part is mostly shell quoting issues, but the -query just
> doesn't seem to work, somehow).  Any insight will be appreciated.  I'm
> attaching the script that I currently have.

Sorry, but I never had the need to handle more than one printer.  Have
you discussed this issue with Pierre since he is the original author of
the script?

> A question about your script: you're using the '-_' option, which
> doesn't seem to be documented on the GSPrint page (
> http://www.cs.wisc.edu/~ghost/gsview/gsprint.htm ).  What exactly does
> it do?

IIRC, "-_" is just like "-" (i.e., stdin) but buffered.  Or, maybe it's
the other way around. :,)

> I also found this thread extremely interesting and relevant:
> http://sources.redhat.com/ml/cygwin/2000-11/msg01570.html

The above seems to imply that the gsprint "-printer" option should work.

> a2ps seems like the perfect solution for lp/lpr.

IMO, a2ps is not a replacement for lp/lpr but instead a very nice tool
to drive lp/lpr.

> Is it ever going to become a cygwin package (
> http://www.cygwin.com/ml/cygwin/2001-08/msg01240.html )?

Would you like to contribute a2ps?  Note that it builds OOTB under
Cygwin.

Jason

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