Penguin
Annotated edit history of checkpc(8) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 CHECKPC
2 !!!CHECKPC
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 ANNOYING FEATURES
7 FILES
8 SEE ALSO
9 DIAGNOSTICS
10 HISTORY
11 AUTHOR
12 ----
13 !!NAME
14
15
16 checkpc - check out the printcap database
17 !!SYNOPSIS
18
19
20 __checkpc__ [[ __-aflprsCV__ ] [[ __-A age[[DHMS]__ ]
21 [[ __-D debugflags__ ] [[ __-P printer__ ] [[ __-t
22 size[[kM]__ ]
23 !!DESCRIPTION
24
25
26 __Checkpc__ is used to check for the existence and
27 correct permissions of entries in the ''printcap''
28 database. It is useful when installing a new printcap
29 database and cleaning up existing printer
30 spoolers.
31
32
33 __-a__
34
35
36 Do not create accounting files (:lf).
37
38
39 __-c__
40
41
42 Print verbose configuration information.
43
44
45 __-f__
46
47
48 The fix flag will cause the checkpc program create and fix
49 various files and permissions. It does this in a simple
50 minded manner, and the program may have to be run several
51 times until all permissions are correct. It also reports in
52 extremely verbose details its actions.
53
54
55 __-l__
56
57
58 Do not create log files (:lf).
59
60
61 __-p__
62
63
64 Print verbose printcap information. Useful if interested in
65 the printcap values.
66
67
68 __-r__
69
70
71 remove junk or job files older than the age set by -A. You
72 must set the age to a non-zero value otherwise no files are
73 removed.
74
75
76 __-s__
77
78
79 Do not create filter status files (:ps).
80
81
82 __-A__ ''Age[[DHMS]''
83
84
85 Report junk or job files older than age. The age time can
86 have a suffix days (D) hours (H), minutes (M), or seconds
87 (S); default is days.
88
89
90 __-D__ ''debugflags''
91
92
93 Run the program with debugging flags. See the LPRng HOWTO
94 for details of the flags actions.
95
96
97 __-V__
98
99
100 Verbose mode.
101
102
103 __-P__ ''printer''
104
105
106 Process only the specified print queue.
107
108
109 __-t__ ''size[[kM]''
110
111
112 Truncate log files (:lf) to the specified size in Kbytes or
113 Mbytes (default is Mbytes).
114 !!ANNOYING FEATURES
115
116
117 If the __-f__ (fix) option is specified and you do not
118 run this as root, it will complain, but attempt to carry out
119 the operations. This will lead to a large number of failures
120 reports if the ownership and/or permissions are
121 incorrect.
122 !!FILES
123
124
125 The files used by LPRng are set by values in the printer
126 configuration file and by configuration options. The
127 following are a commonly used set of default
128 values.
129
130
131 /etc/lprng/lpd.conf LPRng configuration file
132 ${HOME}/.printcap user printer description file
133 /etc/lprng/printcap printer description file
134 /etc/lprng/lpd.perms permissions
135 /var/run/lprng/lpd lock file for queue control
136 /var/spool/lpd spool directories
137 /var/spool/lpd/QUEUE/control queue control
138 /var/spool/lpd/QUEUE/log trace or debug log file
139 /var/spool/lpd/QUEUE/acct accounting file
140 /var/spool/lpd/QUEUE/status status file
141 !!SEE ALSO
142
143
144 lpd.conf(5), lpc(8), lpd(8), lpr(1), lpq(1), lprm(1),
145 printcap(5), lpd.perms(5), pr(1).
146 !!DIAGNOSTICS
147
148
149 Most of the diagnostics are self explanatory.
150 If you are puzzled over the exact cause of failure,
151 set the debugging level on (-D5) and run again.
152 The debugging information will
153 help you to pinpoint the exact cause of failure.
154 !!HISTORY
155
156
157 LPRng is a enhanced printer spooler system with
158 functionality similar to the Berkeley LPR software. The
159 LPRng mailing list is lprng@lprng.com; subscribe by sending
160 mail to lprng-request@lprng.com with the word subscribe in
161 the body. The software is available from
162 ftp://ftp.lprng.com/pub/LPRng.
163 !!AUTHOR
164
165
166 Patrick Powell
167 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.