www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/21/10:18:02

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, 21 Feb 2003 01:56:46 -0500
From: Ajay Simha <asimha AT cisco DOT com>
To: cygwin AT cygwin DOT com
Subject: Printing using LPR
Message-ID: <20030221065646.GC1736@cisco.com>
References: <20030215152030 DOT GA1916 AT cisco DOT com> <001a01c2d505$ea7ae2f0$78d96f83 AT pomello> <20030215160221 DOT GA1232 AT cisco DOT com> <002801c2d50c$996b11d0$78d96f83 AT pomello> <20030215213459 DOT GA1032 AT cisco DOT com> <20030216085449 DOT A9196 AT ms> <20030216021121 DOT GA3884 AT cisco DOT com> <20030220114914 DOT GI296 AT NBOF> <20030220123002 DOT GB1744 AT tishler DOT net>
Mime-Version: 1.0
In-Reply-To: <20030220123002.GB1744@tishler.net>
User-Agent: Mutt/1.4i

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019