public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
To: Jason Tishler <jason@tishler.net>, <cygwin@cygwin.com>
Subject: Re: printing from within Cygwin
Date: Tue, 17 Sep 2002 12:06:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.44.0209171408240.21486-100000@slinky.cs.nyu.edu> (raw)
In-Reply-To: <20020917130341.GB540@tishler.net>

On Tue, 17 Sep 2002, Jason Tishler wrote:

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

Oh, I got gs to work with my multiple printers, so I'm not hurtin'...
However, if people want to use GSPrint, they may need this.  Pierre's
original script didn't have support for the -printer option, though, IIRC.

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

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

Yes, it should, and it sort of does.  The problem is quoting the
backslashes and, especially, the spaces in the printer name.  This is more
of an issue for shared printers, where the name cannot be easily changed
under Windows.  And this is a shell issue, not a GSPrint one.

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

True.  What I like most about it is actually the a2ps-site.cfg, where you
can set up custom printers, etc.  This is the closest to /etc/printcap or
/etc/printers.conf that I've seen.  It would be nice to have something
similar for 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

Yes, I know -- I just built it... :-)
Hmm, does contributing some package automatically make you the maintainer?
Frankly, I'd rather not be tied up with any package just now...  Maybe in
a few months...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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

  reply	other threads:[~2002-09-17 18:25 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-30 10:23 Fred_Smith
2002-08-30 12:21 ` Rick Rankin
2002-08-30 14:59 ` Igor Pechtchanski
2002-09-16 11:37   ` Jason Tishler
2002-09-16 13:35     ` Igor Pechtchanski
2002-09-17  6:24       ` Jason Tishler
2002-09-17 12:06         ` Igor Pechtchanski [this message]
2002-09-18  7:23           ` Jason Tishler
2002-08-30 15:00 ` Gerrit P. Haase
2002-08-30 12:41 Fred_Smith
2002-08-30 13:22 ` Tim Beuman
2002-08-30 15:03   ` Jim George
2002-08-30 15:22     ` Tim Beuman
2002-08-30 20:26 ` Rick Rankin
2002-08-30 19:23 Fred_Smith
2002-08-31  0:19 ` Jim George
2002-08-31 12:42   ` Igor Pechtchanski
2002-09-03 23:57     ` Jim George
2002-09-04 10:26     ` Shankar Unni
2002-09-04 11:27       ` Igor Pechtchanski
2002-09-05  5:44       ` Dario Alcocer
2002-09-06 10:41         ` Nicholas Wourms
2002-09-06 16:51           ` Shankar Unni
2002-09-06 23:37           ` Dario Alcocer
2002-09-06 11:13         ` Igor Pechtchanski
2002-09-06 11:02 Robinow, David

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.44.0209171408240.21486-100000@slinky.cs.nyu.edu \
    --to=pechtcha@cs.nyu.edu \
    --cc=cygwin@cygwin.com \
    --cc=jason@tishler.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).