*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> chkprintcap (8)              
Title
Content
Arch
Section
 

CHKPRINTCAP(8)

Contents


NAME    [Toc]    [Back]

     chkprintcap -- check validity of entries in the print spooler database

SYNOPSIS    [Toc]    [Back]

     chkprintcap [-d] [-f printcap]

DESCRIPTION    [Toc]    [Back]

     The chkprintcap utility scans a printcap(5) database (named by the
     printcap argument, or by default /etc/printcap), looking for entries
     which are invalid in one way or another.  The following checks are currently
 implemented:

	   1.	`tc=' references were properly expanded

	   2.	`tc=' references did not form a loop

	   3.	No two printers share the same spool directory (`sd=' capability).


     The chkprintcap utility exits with a status equal to the number of errors
     encountered before processing stopped.  (In some cases, processing can
     stop before the entire file is scanned.)

     If the -d flag is given, chkprintcap will attempt to create any missing
     spool directories, giving them `u=rwx,go=rx' (0755) mode, group `daemon',
     and the owner specified by the `du=' capability in the database (default
     1, which corresponds to user `daemon').

SEE ALSO    [Toc]    [Back]

      
      
     lpr(1), printcap(5), lpd(8)

AUTHORS    [Toc]    [Back]

     The chkprintcap utility was written by Garrett A. Wollman
     <wollman@lcs.mit.edu>.

BUGS    [Toc]    [Back]

     Not enough sanity-checking is done.  At a minimum, the ownership and mode
     of the spool directories should also be checked.  Other parameters whose
     value could cause lpd(8) to fail should be diagnosed.


FreeBSD 5.2.1		       November 30, 1997		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
DTtcvalid IRIX check a dat timecode for validity
testprns.1 IRIX check printer name for validity with smbd
mvalid Tru64 Check memory region for validity
lp FreeBSD front-end to the print spooler
netprint IRIX Submit lp print job to remote spooler via a network connection
rlpstat HP-UX print status of LP spooler requests on a remote system
man IRIX print entries from the on-line reference manuals; find manual entries by keyword
chkutent IRIX check and repair utmp entries
getent Linux get entries from administrative database
skeyprune OpenBSD prune zeroed and old entries from S/Key database
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service