7 CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD
27 >testprns -- check printer name for validity with smbd</DIV
29 CLASS="REFSYNOPSISDIV"
39 > {printername} [printcapname]</P
49 >This tool is part of the <A
58 > is a very simple test program
59 to determine whether a given printer name is valid for use in
60 a service to be provided by <A
69 >"Valid" in this context means "can be found in the
70 printcap specified". This program is very stupid - so stupid in
71 fact that it would be wisest to always specify the printcap file
90 >The printer name to validate.</P
92 >Printer names are taken from the first field in each
93 record in the printcap file, single printer names and sets
94 of aliases separated by vertical bars ("|") are recognized.
95 Note that no validation or checking of the printcap syntax is
96 done beyond that required to extract the printer name. It may
97 be that the print spooling system is more forgiving or less
105 > finds the printer then
109 > should do so as well. </P
115 >This is the name of the printcap file within
116 which to search for the given printer name. </P
118 >If no printcap name is specified <B
122 > will attempt to scan the printcap file name
123 specified at compile time. </P
147 >This is usually the default printcap
148 file to scan. See <TT
165 >If a printer is found to be valid, the message
166 "Printer name <printername> is valid" will be
169 >If a printer is found to be invalid, the message
170 "Printer name <printername> is not valid" will be
173 >All messages that would normally be logged during
174 operation of the Samba daemons are logged by this program to the
178 > in the current directory. The
179 program runs at debuglevel 3, so quite extensive logging
180 information is written. The log should be checked carefully
181 for errors and warnings. </P
183 >Other messages are self-explanatory. </P
193 >This man page is correct for version 2.2 of
217 HREF="smbclient.1.html"
234 >The original Samba software and related utilities
235 were created by Andrew Tridgell. Samba is now developed
236 by the Samba Team as an Open Source project similar
237 to the way the Linux kernel is developed.</P
239 >The original Samba man pages were written by Karl Auer.
240 The man page sources were converted to YODL format (another
241 excellent piece of Open Source software, available at
243 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
245 > ftp://ftp.icce.rug.nl/pub/unix/</A
246 >) and updated for the Samba 2.0
247 release by Jeremy Allison. The conversion to DocBook for
248 Samba 2.2 was done by Gerald Carter</P