summaryrefslogtreecommitdiff
path: root/share/man/man5/printcap.5
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man5/printcap.5')
-rw-r--r--share/man/man5/printcap.534
1 files changed, 16 insertions, 18 deletions
diff --git a/share/man/man5/printcap.5 b/share/man/man5/printcap.5
index 372ab79d3a1..87c2e8c3a09 100644
--- a/share/man/man5/printcap.5
+++ b/share/man/man5/printcap.5
@@ -1,3 +1,4 @@
+.\" $OpenBSD: printcap.5,v 1.5 1998/11/26 04:25:59 aaron Exp $
.\" $NetBSD: printcap.5,v 1.7 1998/02/20 12:24:50 hubertf Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -43,9 +44,8 @@
.Nm printcap
.Sh DESCRIPTION
The
-.Nm Printcap
-function
-is a simplified version of the
+.Nm printcap
+file is a simplified version of the
.Xr termcap 5
data base
used to describe line printers. The spooling system accesses the
@@ -58,11 +58,11 @@ substituted for, as is possible for
because it may allow accounting to be bypassed.
.Pp
The default printer is normally
-.Em lp ,
+.Dq lp ,
though the environment variable
.Ev PRINTER
may be used to override this. Each spooling utility supports an option,
-.Fl P Ar printer ,
+.Fl P Ns Ar printer ,
to allow explicit naming of a destination printer.
.Pp
Refer to the
@@ -134,15 +134,15 @@ If the local line printer driver supports indentation, the daemon
must understand how to invoke it.
.Sh FILTERS
If a printer is specified via
-.Sy lp
+.Cm lp
(either local or remote),
the
.Xr lpd 8
daemon creates a pipeline of
-.Em filters
+.Dq filters
to process files for various printer types.
The pipeline is not set up for remote printers specified via
-.Sy rm
+.Cm rm
unless the local host is the same as the remote printer host
given.
The filters selected depend on the flags passed to
@@ -161,7 +161,7 @@ v vf raster image
.Ed
.Pp
The
-.Sy if
+.Cm if
filter is invoked with arguments:
.Bd -filled -offset indent
.Cm if
@@ -180,9 +180,7 @@ flag is passed only if the
flag (pass control characters literally)
is specified to
.Xr lpr .
-The
-.Ar Width
-function
+.Ar width
and
.Ar length
specify the page width and length
@@ -198,7 +196,7 @@ and
parameters specify the login name and host name of the owner
of the job respectively.
The
-.Ar Acct-file
+.Ar acct-file
function
is passed from the
.Cm af
@@ -281,13 +279,13 @@ themselves.
Error messages sent to the console have a carriage return and a line
feed appended to them, rather than just a line feed.
.Sh SEE ALSO
+.Xr lpq 1 ,
+.Xr lpr 1 ,
+.Xr lprm 1 ,
.Xr termcap 5 ,
.Xr lpc 8 ,
.Xr lpd 8 ,
-.Xr pac 8 ,
-.Xr lpr 1 ,
-.Xr lpq 1 ,
-.Xr lprm 1
+.Xr pac 8
.Rs
.%T "4.3 BSD Line Printer Spooler Manual"
.Re
@@ -295,4 +293,4 @@ feed appended to them, rather than just a line feed.
The
.Nm
file format appeared in
-.Bx 4.2 ..
+.Bx 4.2 .