Mail Archives: cygwin/2002/09/16/15:16:50
--Boundary_(ID_dH86XDNwqpneNFtcV7oDQA)
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine DOT GSO DOT 4 DOT 44 DOT 0209161419372 DOT 21486 AT slinky DOT cs DOT nyu DOT edu>
Content-Disposition: INLINE
On Mon, 16 Sep 2002, Jason Tishler wrote:
> Igor,
>
> On Fri, Aug 30, 2002 at 05:59:39PM -0400, Igor Pechtchanski wrote:
> > Note the disabled support for gsprint -- I couldn't get it to work
> > properly. If anyone can get the gsprint part to work, please let me
> > know.
>
> I use the attached shell script as "lpr" on my home computer with a
> direct or network (i.e., lpd) attached PCL printer. Note that I'm using
> the Win32 GSView (and GhostScript).
>
> Jason
Jason,
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.
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?
I also found this thread extremely interesting and relevant:
http://sources.redhat.com/ml/cygwin/2000-11/msg01570.html
a2ps seems like the perfect solution for lp/lpr. Is it ever going to
become a cygwin package (
http://www.cygwin.com/ml/cygwin/2001-08/msg01240.html )?
Thanks,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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
--Boundary_(ID_dH86XDNwqpneNFtcV7oDQA)
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=lpr-mine
Content-Transfer-Encoding: BASE64
Content-ID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DSCAtcSAtYyBtYXJrIC9Ob0Nh
bmNlbCB0cnVlIC9RdWVyeVVzZXIgMyAvT3V0cHV0RmlsZSAnKFxcc3Bvb2xc
bHAuc2NzLmNzLm55dS5lZHUpJyAvVXNlclNldHRpbmdzICc8PCcgL01heFJl
c29sdXRpb24gMTIwMCAnPj4nICcobXN3aW5wcjIpJyBmaW5kZGV2aWNlIHB1
dGRldmljZXByb3BzIHNldGRldmljZSAtZiAtc1BST0dOQU1FPWdzbHAgLS0g
Z3NscC5wcyAke2ZpbGV9Ig0NCg==
--Boundary_(ID_dH86XDNwqpneNFtcV7oDQA)
Content-Type: text/plain; charset=us-ascii
--
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/
--Boundary_(ID_dH86XDNwqpneNFtcV7oDQA)--
- Raw text -