On Thu Feb 20 07:30:02 2003, Jason Tishler wrote: > 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
Changed the subject line to reflect the current discussion. Hopefully folks are using email clients that are capable of true threading and not subject based grouping ;-) Ok.. what should you set the Server and Printer to? I have a network printer which under win-2k->start->settings->printers-> shows up as "pi2-b5 on print-rtp-pi" Can I use the network printer? BTW I cannot get gsprint to work either... I'll keep at it I'm sure it will work with some tweaking. Thanks, -ajay > > 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/ > -- 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/