This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: procmail and NTSEC


Olaf,

On Thu, Feb 20, 2003 at 12:49:14PM +0100, Olaf Foellinger wrote:
> together with a home brewed lpr.
                  ^^^^^^^^^^^^^^^

Hmm... I'm getting that deja vu feeling:

    http://cygwin.com/ml/cygwin/2002-06/msg00581.html
    http://sources.redhat.com/ml/cygwin/2000-10/msg00242.html

Specifically, compare "your" 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

to mine:

On Fri, 6 Oct 2000 08:01:01 -0400, Jason Tishler wrote:
> #!/bin/bash
> 
> Server=prodserv
> Printer=eng-duplex
> 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

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]