printcap.5 (50479) | printcap.5 (68253) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)printcap.5 8.2 (Berkeley) 12/11/93 | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)printcap.5 8.2 (Berkeley) 12/11/93 |
33.\" $FreeBSD: head/usr.sbin/lpr/lpr/printcap.5 50479 1999-08-28 01:35:59Z peter $ | 33.\" $FreeBSD: head/usr.sbin/lpr/lpr/printcap.5 68253 2000-11-02 19:22:06Z gad $ |
34.\" | 34.\" |
35.Dd December 11, 1993 | 35.Dd October 11, 2000 |
36.Dt PRINTCAP 5 37.Os BSD 4.2 38.Sh NAME 39.Nm printcap 40.Nd printer capability data base 41.Sh SYNOPSIS 42.Nm printcap 43.Sh DESCRIPTION --- 71 unchanged lines hidden (view full) --- 115.It "rp str ``lp'' remote printer name argument" 116.It "rs bool false restrict remote users to those with local accounts" 117.It "rw bool false open the printer device for reading and writing" 118.It "sb bool false short banner (one line only)" 119.It "sc bool false suppress multiple copies" 120.It "sd str" Ta Pa /var/spool/lpd Ta No "spool directory" 121.It "sf bool false suppress form feeds" 122.It "sh bool false suppress printing of burst page header" | 36.Dt PRINTCAP 5 37.Os BSD 4.2 38.Sh NAME 39.Nm printcap 40.Nd printer capability data base 41.Sh SYNOPSIS 42.Nm printcap 43.Sh DESCRIPTION --- 71 unchanged lines hidden (view full) --- 115.It "rp str ``lp'' remote printer name argument" 116.It "rs bool false restrict remote users to those with local accounts" 117.It "rw bool false open the printer device for reading and writing" 118.It "sb bool false short banner (one line only)" 119.It "sc bool false suppress multiple copies" 120.It "sd str" Ta Pa /var/spool/lpd Ta No "spool directory" 121.It "sf bool false suppress form feeds" 122.It "sh bool false suppress printing of burst page header" |
123.It "sr str" Ta Dv NULL Ta No "file name to hold statistics of each datafile as it is received" 124.It "ss str" Ta Dv NULL Ta No "file name to hold statistics of each datafile as it is sent" |
|
123.It "st str" Ta Pa status Ta No "status file name" 124.It "tf str" Ta Dv NULL Ta No "troff data filter (cat phototypesetter)" 125.It "tr str" Ta Dv NULL Ta No "trailer string to print when queue empties" 126.It "vf str" Ta Dv NULL Ta No "raster image filter" 127.El 128.Pp 129Each two-letter capability has a human-readable alternate name. 130.Bl -column "Short form" "Long form" --- 28 unchanged lines hidden (view full) --- 159.It "rp remote.queue" 160.It "rs daemon.restricted" 161.It "rw tty.rw" 162.It "sb banner.short" 163.It "sc job.no_copies" 164.It "sd spool.dir" 165.It "sf job.no_formfeed" 166.It "sh banner.disable" | 125.It "st str" Ta Pa status Ta No "status file name" 126.It "tf str" Ta Dv NULL Ta No "troff data filter (cat phototypesetter)" 127.It "tr str" Ta Dv NULL Ta No "trailer string to print when queue empties" 128.It "vf str" Ta Dv NULL Ta No "raster image filter" 129.El 130.Pp 131Each two-letter capability has a human-readable alternate name. 132.Bl -column "Short form" "Long form" --- 28 unchanged lines hidden (view full) --- 161.It "rp remote.queue" 162.It "rs daemon.restricted" 163.It "rw tty.rw" 164.It "sb banner.short" 165.It "sc job.no_copies" 166.It "sd spool.dir" 167.It "sf job.no_formfeed" 168.It "sh banner.disable" |
169.It "sr stat.recv" 170.It "ss stat.send" |
|
167.It "st spool.status" 168.It "tr job.trailer" 169.It "vf filt.raster" 170.El 171.Pp 172If the local line printer driver supports indentation, the daemon 173must understand how to invoke it. 174.Sh FILTERS --- 148 unchanged lines hidden (view full) --- 323is specified as 324.Em port Ns No @ Ns Em machine 325(and 326.Cm rm 327is not in use), printing will be send directly to the given 328.Em port 329on the given 330.Em machine . | 171.It "st spool.status" 172.It "tr job.trailer" 173.It "vf filt.raster" 174.El 175.Pp 176If the local line printer driver supports indentation, the daemon 177must understand how to invoke it. 178.Sh FILTERS --- 148 unchanged lines hidden (view full) --- 327is specified as 328.Em port Ns No @ Ns Em machine 329(and 330.Cm rm 331is not in use), printing will be send directly to the given 332.Em port 333on the given 334.Em machine . |
335.Sh TRANSFER STATISTICS 336When a print job is transfered to a remote machine (which might be 337another unix box, or may be a network printer), it may be useful 338to keep statistics on each transfer. The 339.Cm sr 340and 341.Cm ss 342options indicate filenames that lpd should use to store such 343statistics. A statistics line is written for each datafile of a 344job as the file is successfully transferred. The format of the 345line is the same for both the sending and receiving side of a 346transfer. 347.Pp 348Statistics on datafiles being received would be used on a print 349server, if you are interested in network performance between a 350variety of machines which are sending jobs to that print server. 351The print server could collect statistics on the speed of each 352print job as it arrived on the server. 353.Pp 354Statistics on datafiles being sent might be used as a minimal 355accounting record, when you want to know who sent which jobs to a 356remote printer, when they were sent, and how large (in bytes) the 357files were. This will not give include any idea of how many pages 358were printed, because there is no standard way to get that information 359back from a remote (network) printer in this case. |
|
331.Sh LOGGING 332Error messages generated by the line printer programs themselves 333(that is, the 334.Xr lpd 8 335and related programs) 336are logged by 337.Xr syslog 3 338using the --- 31 unchanged lines hidden --- | 360.Sh LOGGING 361Error messages generated by the line printer programs themselves 362(that is, the 363.Xr lpd 8 364and related programs) 365are logged by 366.Xr syslog 3 367using the --- 31 unchanged lines hidden --- |