delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/28/09:30:21

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: Fri, 28 Feb 2003 09:30:03 -0500
From: Ajay Simha <asimha AT cisco DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Printing from cygwin?
Message-ID: <20030228143002.GC1940@cisco.com>
References: <20030227230356 DOT GO22545 AT pentek DOT com> <20030227235359 DOT 38401 DOT qmail AT web21405 DOT mail DOT yahoo DOT com> <20030228035214 DOT GC1924 AT cisco DOT com> <20030228142115 DOT GD26496 AT pentek DOT com>
Mime-Version: 1.0
In-Reply-To: <20030228142115.GD26496@pentek.com>
User-Agent: Mutt/1.4i

On Fri Feb 28 09:21:15 2003, Charles Krug wrote:
> On Thu, Feb 27, 2003 at 10:52:14PM -0500, Ajay Simha wrote:
> > On Thu Feb 27 15:53:59 2003, Rick Rankin wrote:
> > > Do you know for sure which lpr you're using? Win2K has one in
> > > C:\WINNT\system32.
> > 
> > Try /cygdrive/c/WINNT/system32/lpr -S server -P printer filename

I still had problem making enscript use this so here is my pretty print script:

#!/bin/bash
# usage pprint infile
enscript -2r -DDuplex:false --fancy-header -o /tmp/$1.ps $1 
ps2pdf /tmp/$1.ps /tmp/$1.pdf
cygstart /tmp/$1.pdf 

then it brings up adobe and I hit print.

I am using this from mutt as well.

-ajay
> > 
> > it worked for me.
> 
> That seems to work, and it happily transmits postscript correctly.
> 
> Thanx.
> 
> 
> Charles
> 
> 
> --
> 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/
> 

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