Subject: Re: LPRng (fwd)
To: David Brownlee <D.K.Brownlee@city.ac.uk>
From: John C. Hayward <johnh@david.wheaton.edu>
List: current-users
Date: 09/30/1995 22:11:33
On Fri, 29 Sep 1995, David Brownlee wrote:

> 	I've noticed a few comments regarding the lpd in NetBSD recently -
> 	is anyone interested in integrating LPRng into NetBSD?
> 	(From a posting by papowell@sdsu.edu to Firewalls@greatcircle.com)
> 
> ftp://dickory.sdsu.edu/pub/LPRng/
>    LPRng-LISA95.ps - LISA 95 Conference Paper
>    LPRng-1.2.4.tgz - distribution
>    FILTERS_LPRng-1.0.3.tgz - Postscipt, HP Laserjet, JetDirect, etc.
>      filters and support stuff
>    VINTAGE_LPRng-1.0.0.tgz - vintage filters
> 
> 
> LPRng - An Enhanced Printer Spooler
> 
> 		 ABSTRACT
> 
> The  LPRng  software  is an enhanced, extended, and
> portable  version of the Berkeley LPR software.  While
> providing  the  same general functionality, the imple-
> mentation  is  completely new and provides support for
> the  following  features:  lightweight  (no  databases
> needed)  lpr, lpc, and lprm programs; dynamic redirec-
> tion  of  print  queues; automatic job holding; highly
> verbose  diagnostics; multiple printers serving a sin-
> gle  queue;  client  programs  do not need to run SUID
> root;  greatly enhanced security checks; and a greatly
> improved permission and authorization mechanism.
> 
> 
> 		David/abs
I have a NetPrint server which under Ultrix works fine.
In that printcap entry for a filter has something like:
 :if=/usr/dpi/infilter|/usr/dpi/dpifilter sci_NPS 10001:\

Ultrix will take this and run a shell program.  The key
is that the comand line argument to the second program
gives the printserver and port number.  The infilter
gets the regular command line arguments passed to an if filter.

NetBSD lpr does not run a shell so I have to go to some
effort to use printers connected to this print server.
(Maybe someone can show me how to do this better I basicly hacked
 a program which invoked infilter piped the output to dpifilter
 where I had hard coded the command line arguments)

Does LPRng support shell command lines for print filters
like Ultrix does?

johnh...