Annotation of cci/usr/src/man/man5/printcap.5, revision 1.1.1.1

1.1       root        1: .TH PRINTCAP 5 "18 July 1983"
                      2: .UC 4
                      3: .ad
                      4: .SH NAME
                      5: printcap \- printer capability data base
                      6: .SH SYNOPSIS
                      7: /etc/printcap
                      8: .SH DESCRIPTION
                      9: .I Printcap
                     10: is a simplified version of the
                     11: .IR termcap (5)
                     12: data base
                     13: used to describe line printers.  The spooling system accesses the
                     14: .I printcap
                     15: file every time it is used, allowing dynamic
                     16: addition and deletion of printers.  Each entry in the data base
                     17: is used to describe one printer.  This data base may not be
                     18: substituted for, as is possible for 
                     19: .IR termcap ,
                     20: because it may allow accounting to be bypassed.
                     21: .PP
                     22: The default printer is normally 
                     23: .IR lp ,
                     24: though the environment variable PRINTER
                     25: may be used to override this.  Each spooling utility supports an option,
                     26: .BI \-P printer,
                     27: to allow explicit naming of a destination printer.
                     28: .PP
                     29: Refer to the
                     30: .ul
                     31: 4.2BSD Line Printer Spooler Manual
                     32: for a complete discussion on how setup the database for a given printer.
                     33: .SH CAPABILITIES
                     34: Refer to
                     35: .I termcap
                     36: for a description of the file layout.
                     37: .nf
                     38: 
                     39: .ta \w'k0-k9  'u +\w'Type  'u +\w'``/usr/spool/lpd\'\'  'u
                     40: \fBName        Type    Default Description\fR
                     41: af     str     NULL    name of accounting file
                     42: br     num     none    if lp is a tty, set the baud rate 
                     43:                        (ioctl call)
                     44: cf     str     NULL    cifplot data filter
                     45: df     str     NULL    tex data filter (DVI format)
                     46: fc     num     0       if lp is a tty clear flag bits (sgtty.h)
                     47: ff     str     ``\ef'' string to send for a form feed
                     48: fo     bool    false   print a form feed when device is opened
                     49: fs     num     0       like `fc' but set bits
                     50: gf     str     NULL    graph data filter (plot (3X) format)
                     51: ic     bool    false   driver supports (non standard) ioctl 
                     52:                        to indent printout
                     53: if     str     NULL    name of text filter which does accounting
                     54: lf     str     ``/dev/console''        error logging file name
                     55: lo     str     ``lock''        name of lock file
                     56: lp     str     ``/dev/lp''     device name to open for output
                     57: mx     num     1000    maximum file size (in BUFSIZ blocks), 
                     58:                        zero = unlimited
                     59: nd     str     NULL    next directory for list of queues 
                     60:                        (unimplemented)
                     61: nf     str     NULL    ditroff data filter 
                     62:                        (device independent troff)
                     63: of     str     NULL    name of output filtering program
                     64: pl     num     66      page length (in lines)
                     65: pw     num     132     page width (in characters)
                     66: px     num     0       page width in pixels (horizontal)
                     67: py     num     0       page length in pixels (vertical)
                     68: rf     str     NULL    filter for printing FORTRAN style 
                     69:                        text files
                     70: rm     str     NULL    machine name for remote printer
                     71: rp     str     ``lp''  remote printer name argument
                     72: rs     bool    false   restrict remote users to those with 
                     73:                        local accounts
                     74: rw     bool    false   open the printer device for reading 
                     75:                        and writing
                     76: sb     bool    false   short banner (one line only)
                     77: sc     bool    false   suppress multiple copies
                     78: sd     str     ``/usr/spool/lpd''      spool directory
                     79: sf     bool    false   suppress form feeds
                     80: sh     bool    false   suppress printing of burst page header
                     81: st     str     ``status''      status file name
                     82: tf     str     NULL    troff data filter (cat phototypesetter)
                     83: tr     str     NULL    trailer string to print when queue 
                     84:                        empties
                     85: vf     str     NULL    raster image filter
                     86: xc     num     0       if lp is a tty, clear local mode bits 
                     87:                        (tty (4))
                     88: xs     num     0       like `xc' but set bits
                     89: .fi
                     90: .PP
                     91: Error messages sent to the console have a carriage return and a line
                     92: feed appended to them, rather than just a line feed.
                     93: .PP
                     94: If the local line printer driver supports indentation, the daemon
                     95: must understand how to invoke it.
                     96: .SH "SEE ALSO"
                     97: termcap(5),
                     98: lpc(8),
                     99: lpd(8),
                    100: pac(8),
                    101: lpr(1),
                    102: lpq(1),
                    103: lprm(1)
                    104: .br
                    105: .ul
                    106: 4.2BSD Line Printer Spooler Manual

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.