Re: Reinitializing LPD

2000-05-24 Thread Matthew Wilson Emmett
"A. Scott White" <[EMAIL PROTECTED]> writes:

> I have been rebooting every time I edit /etc/printcap. I know there is a
> better way to reinitialize the LPD system. Can someone tell me what it is?

There are several ways to do this.  You could

1) Kill the lpd that is running and start a new one.  Try something
   similar to:

# killall lpd
# lpd

2) Same as above, except use "lpc" to do it for you:

# lpc restart all

3) Use the nice Debian startup script:

# /etc/init.d/lpd restart

4) (I'm not sure if this applies to lpd, but it's handy for a lot of
   other deamons) Send the deamon the HUP (Hangup) signal.

# killall -HUP lpd

Matt



RE: Reinitializing LPD

2000-05-24 Thread Lewis, James M.

> I have been rebooting every time I edit /etc/printcap. I know there is a
> better way to reinitialize the LPD system. Can someone tell me what it is?
> 
use the startup files in /etc/init.d.
   cd /etc/init.d
   ./lprng restart
or
   ./lprng stop
   ./lprng start

There will be one of these for lpr if you have that instead
of lprng...

jim

> Thanks.
> 
> 
> A. Scott White
> Director of Information Systems and Product Strategy
> ACS Healthcare Solutions Group
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null
> 



Reinitializing LPD

2000-05-24 Thread A. Scott White
I have been rebooting every time I edit /etc/printcap. I know there is a
better way to reinitialize the LPD system. Can someone tell me what it is?

Thanks.


A. Scott White
Director of Information Systems and Product Strategy
ACS Healthcare Solutions Group