1 .TH TESTPRNS 1 17/1/1995 testprns testprns
3 testprns \- check printer name for validity with smbd
11 This program is part of the Samba suite.
14 is a very simple test program to determine whether a given
15 printer name is valid for use in a service to be provided by
18 "Valid" in this context means "can be found in the printcap specified". This
19 program is very stupid - so stupid in fact that it would be wisest to always
20 specify the printcap file to use.
25 The printer name to validate.
27 Printer names are taken from the first field in each record in the printcap
28 file, single printer names and sets of aliases separated by vertical bars
29 ("|") are recognised. Note that no validation or checking of the printcap
30 syntax is done beyond that required to extract the printer name. It may
31 be that the print spooling system is more forgiving or less forgiving
36 finds the printer then smbd should do as well.
43 This is the name of the printcap file to search for the given printer name
46 If no printcap name is specified,
48 will attempt to scan the printcap file specified at compile time
54 This is usually the default printcap file to scan. See
57 .SH ENVIRONMENT VARIABLES
61 The location of the server and its support files is a matter for individual
62 system administrators. The following are thus suggestions only.
64 It is recommended that the
66 program be installed under the /usr/local hierarchy, in a directory readable
67 by all, writeable only by root. The program should be executable by all.
68 The program should NOT be setuid or setgid!
70 This man page is (mostly) correct for version 1.9.00 of the Samba suite, plus some
71 of the recent patches to it. These notes will necessarily lag behind
72 development of the software, so it is possible that your version of
73 the program has extensions or parameter semantics that differ from or are not
74 covered by this man page. Please notify these to the address below for
81 If a printer is found to be valid, the message "Printer name <printername> is
82 valid" will be displayed.
84 If a printer is found to be invalid, the message "Printer name <printername>
85 is not valid" will be displayed.
87 All messages that would normally be logged during operation of smbd are
88 logged by this program to the file
90 in the current directory. The program runs at debuglevel 3, so quite extensive
91 logging information is written. The log should be checked carefully for errors
94 Other messages are self-explanatory.
98 The original Samba software and related utilities were created by
99 Andrew Tridgell (samba-bugs@anu.edu.au). Andrew is also the Keeper
100 of the Source for this project.
102 The testprns program and this man page were written by Karl Auer
103 (Karl.Auer@anu.edu.au)
106 .B samba(7) for a full list of contributors and details of how to
107 submit bug reports, comments etc.