Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 20 Feb 2003 12:49:14 +0100
From: Olaf Foellinger <Olaf.Foellinger@bln.sesa.de>
To: cygwin@cygwin.com
Subject: Re: procmail and NTSEC
Message-ID: <20030220114914.GI296@NBOF>
Mail-Followup-To: cygwin@cygwin.com
References: <20030215152030.GA1916@cisco.com> <001a01c2d505$ea7ae2f0$78d96f83@pomello> <20030215160221.GA1232@cisco.com> <002801c2d50c$996b11d0$78d96f83@pomello> <20030215213459.GA1032@cisco.com> <20030216085449.A9196@ms> <20030216021121.GA3884@cisco.com>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="pAwQNkOnpTn9IO2O"
Content-Disposition: inline
In-Reply-To: <20030216021121.GA3884@cisco.com>
X-Request-PGP: http://www.foellinger.de/olaf.foellinger.asc
User-Agent: Mutt/1.5.1i

--pAwQNkOnpTn9IO2O
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by www.bln.sesa.de id h1KBZfhE011511

On Sat, Feb 15, 2003 at 09:11:21PM -0500, Ajay Simha wrote:
> I now have mutt, procmail, fetchmail, ssh, aspell combination working. =
I want to get something
> decent working for printing from within mutt next.

I use muttprint(http://muttprint.sourceforge.net/) together with a home
brewed lpr. The result looks fine for me.
=20
=20
Gruss Olaf F=F6llinger

--=20
Olaf F=F6llinger
Berater=20
S.E.S.A. Software und Systeme AG

Alt-Moabit 91a
D-10559 Berlin
Germany
Tel:   +49 30 390722 -291
Fax:   +49 30 390722 -222
Mobil: +49 173 6227080
http://www.sesa.de
mailto: Olaf.Foellinger@sesa.de

--pAwQNkOnpTn9IO2O
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=lpr

#!/bin/bash

Server=SESABLN1
Printer=HPLJ4050_R6
ProgramName=$(basename $0)
WinDir=$(cygpath -u $WINDIR)
Lpr=$WinDir/system32/lpr

TempFile=/tmp/$ProgramName.$$
WinTempFile=$(cygpath -w $TempFile)

cat >$TempFile
$Lpr -S $Server -P $Printer "$WinTempFile"
Status=$?

rm -fr $TempFile
exit $Status


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