diff --git a/usr.sbin/lpr/SMM.doc/1.t b/usr.sbin/lpr/SMM.doc/1.t index 2d6fbb1c7b4a..b6a00aa220a0 100644 --- a/usr.sbin/lpr/SMM.doc/1.t +++ b/usr.sbin/lpr/SMM.doc/1.t @@ -1,4 +1,4 @@ -.\" $NetBSD: 1.t,v 1.2 1995/11/15 22:54:26 pk Exp $ +.\" $NetBSD: 1.t,v 1.3 1997/07/09 02:34:42 jtc Exp $ .\" Copyright (c) 1983, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -57,12 +57,12 @@ following files and commands: .TS l l. /etc/printcap printer configuration and capability data base -/usr/lib/lpd line printer daemon, does all the real work -/usr/ucb/lpr program to enter a job in a printer queue -/usr/ucb/lpq spooling queue examination program -/usr/ucb/lprm program to delete jobs from a queue -/etc/lpc program to administer printers and spooling queues -/dev/printer socket on which lpd listens +/usr/sbin/lpd line printer daemon, does all the real work +/usr/bin/lpr program to enter a job in a printer queue +/usr/bin/lpq spooling queue examination program +/usr/bin/lprm program to delete jobs from a queue +/usr/sbin/lpc program to administer printers and spooling queues +/var/run/printer socket on which lpd listens .TE .DE The file /etc/printcap is a master data base describing line diff --git a/usr.sbin/lpr/SMM.doc/2.t b/usr.sbin/lpr/SMM.doc/2.t index f801cc2276d2..f3bded61a0a2 100644 --- a/usr.sbin/lpr/SMM.doc/2.t +++ b/usr.sbin/lpr/SMM.doc/2.t @@ -1,4 +1,4 @@ -.\" $NetBSD: 2.t,v 1.2 1995/11/15 22:54:27 pk Exp $ +.\" $NetBSD: 2.t,v 1.3 1997/07/09 02:34:43 jtc Exp $ .\" Copyright (c) 1983, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -50,7 +50,7 @@ database restarting any printers that have jobs. In normal operation .I lpd listens for service requests on multiple sockets, -one in the UNIX domain (named ``/dev/printer'') for +one in the UNIX domain (named ``/var/run/printer'') for local requests, and one in the Internet domain (under the ``printer'' service specification) for requests for printer access from off machine; diff --git a/usr.sbin/lpr/SMM.doc/4.t b/usr.sbin/lpr/SMM.doc/4.t index 06e4988972ae..f36cde282396 100644 --- a/usr.sbin/lpr/SMM.doc/4.t +++ b/usr.sbin/lpr/SMM.doc/4.t @@ -1,4 +1,4 @@ -.\" $NetBSD: 4.t,v 1.2 1995/11/15 22:54:30 pk Exp $ +.\" $NetBSD: 4.t,v 1.3 1997/07/09 02:34:44 jtc Exp $ .\" Copyright (c) 1983, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -110,7 +110,7 @@ named ``lp'' on the machine ``ucbvax''. .DS .DT lp|default line printer:\e - :lp=:rm=ucbvax:rp=lp:sd=/usr/spool/vaxlpd: + :lp=:rm=ucbvax:rp=lp:sd=/var/spool/output/vaxlpd: .DE The .B rm @@ -123,9 +123,9 @@ the name of the printer on the remote machine is ``lp''; here it could be left out since this is the default value. The .B sd -entry specifies ``/usr/spool/vaxlpd'' +entry specifies ``/var/spool/output/vaxlpd'' as the spooling directory instead of the -default value of ``/usr/spool/lpd''. +default value of ``/var/spool/output/lpd''. .NH 2 Output filters .PP @@ -151,7 +151,7 @@ is the Benson-Varian. .DS .DT va|varian|Benson-Varian:\e - :lp=/dev/va0:sd=/usr/spool/vad:of=/usr/lib/vpf:\e + :lp=/dev/va0:sd=/var/spool/output/vad:of=/usr/lib/vpf:\e :tf=/usr/lib/rvcat:mx#2000:pl#58:px=2112:py=1700:tr=\ef: .DE The @@ -172,7 +172,7 @@ filter as shown below. .DS .DT va|varian|Benson-Varian:\e - :lp=/dev/va0:sd=/usr/spool/vad:of=/usr/lib/vpf:\e + :lp=/dev/va0:sd=/var/spool/output/vad:of=/usr/lib/vpf:\e :if=/usr/lib/vpf:tf=/usr/lib/rvcat:af=/usr/adm/vaacct:\e :mx#2000:pl#58:px=2112:py=1700:tr=\ef: .DE diff --git a/usr.sbin/lpr/SMM.doc/7.t b/usr.sbin/lpr/SMM.doc/7.t index 54cfcbf13f5d..d611b7883945 100644 --- a/usr.sbin/lpr/SMM.doc/7.t +++ b/usr.sbin/lpr/SMM.doc/7.t @@ -1,4 +1,4 @@ -.\" $NetBSD: 7.t,v 1.2 1995/11/15 22:54:36 pk Exp $ +.\" $NetBSD: 7.t,v 1.3 1997/07/09 02:34:44 jtc Exp $ .\" Copyright (c) 1983, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -65,7 +65,7 @@ The connection to on the local machine failed. This usually means the printer server started at boot time has died or is hung. Check the local socket -/dev/printer to be sure it still exists (if it does not exist, +/var/run/printer to be sure it still exists (if it does not exist, there is no .I lpd process running). @@ -77,7 +77,7 @@ restart .DE You can also check the state of the master printer daemon with the following. .DS -% ps l`cat /usr/spool/lpd.lock` +% ps l`cat /var/spool/output/lpd.lock` .DE .IP Another possibility is that the @@ -85,7 +85,7 @@ Another possibility is that the program is not set-user-id to \fIroot\fP, set-group-id to group \fIdaemon\fP. This can be checked with .DS -% ls \-lg /usr/ucb/lpr +% ls \-lg /usr/bin/lpr .DE .SH lpr: \fIprinter\fP\|: printer queue is disabled