ppr-list-digest volume 4, number 17, message 1

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: David Chappell <David.Chappell@mail.cc.trincoll.edu>
Date: 22 Feb 2002 12:35:17 -0500
Subject: Re: PPR: ppr and lpr

On Mon, 2002-02-18 at 06:30, Roques Didier wrote:
> At 11:31 08/02/02 -0500, vous avez écrit:
> >On Tue, 2002-02-05 at 06:36, Olivier Tharan wrote:
> > > * Roques Didier <roques@brive.unilim.fr> (20020204 08:37):
> > > > Is it possible to run both ppr and lpr on the same linux machine?
> > > > Do they use the same port ?
> > >
> > > I think you can use both. See also 'uprint' which is a convenient way of
> > > keeping your lpr commands and letting them use the PPR spooling system.
> > >
> > > olive
> >
> >Both spoolers can run at the same time.  However if you try to start up
> >PPR's lpr server (so that PPR can server remote lpr clients), you will
> >have problems such stock lpr dies if it can't bind to the lpr port.
> >
> >The lpd man page says that you can change the port it runs on, but this
> >is unimplemented in the actual code.  It would be nice if this were
> >patched in the major Linux distributions.
> 
> on two differents linux box (using mandrake 8.1),
> one of these can run lpd and ppr at the same time (pprd and lpd)
> on the other ppr runs ok but lpd fails (error is socket already in use)

Mandrake 8.1 seems to use LPRng.  It has a configuration file,
/etc/lpd.conf in which you can change the port lpd listens on.  I think
the variable is lpd_port.  If you do that, then lprsrv can run on one
port and lpd can run on another.