delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/04/15:12:33

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Kevin Wright" <kwright AT aspectdv DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: lp/lpr for cygwin?
Date: Thu, 4 Nov 1999 11:10:43 -0800
Message-ID: <001601bf26f8$4b24efc0$8f88f726@holstein.ASPECTDV.COM>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <3821CCF2.69D57A40@bigfoot.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal

FYI,

My lpr script is slightly different:

#!/bin/sh
cat $1 > lpt1

Also, since I don't have a local printer connected to lpt1, 
I had to setup a network printer:

    net use lpt1: \\printserver\printersharename

for example:

    net use lpt1: \\sol\HPLJet5SiPS

Also, I use enscript to be able to pretty print source files.

Hope this helps,

Kevin

>-----Original Message-----
>From: cygwin-owner AT sourceware DOT cygnus DOT com
>[mailto:cygwin-owner AT sourceware DOT cygnus DOT com]On Behalf Of James Dumser
>Sent: Thursday, November 04, 1999 10:14 AM
>To: cygwin AT sourceware DOT cygnus DOT com
>Subject: Re: lp/lpr for cygwin?
>
>
>On Wed, 03 Nov 1999 22:49:28 -0600, Divya Sundaram 
><divya1 AT engineer DOT com>
>wrote:
>> If you install the Microsoft TCP/IP Printing service from
>> the Windows NT 4.0 CD, you should get an lpr.exe.
>
>Or you can do something like this:
>
>--------- lpr ---------
>#!/bin/sh
>cat > lpt1
>-----------------------
>
>(If you're using network printers, you'll have to arrange to have lpt1:
>point to the right printer first.)
>
>-- 
>James Dumser  dumser AT bigfoot DOT com
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>
>

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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