1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD
28 >testprns -- check printer name for validity with smbd</DIV
30 CLASS="REFSYNOPSISDIV"
40 > {printername} [printcapname]</P
50 >This tool is part of the <A
59 > is a very simple test program
60 to determine whether a given printer name is valid for use in
61 a service to be provided by <A
70 >"Valid" in this context means "can be found in the
71 printcap specified". This program is very stupid - so stupid in
72 fact that it would be wisest to always specify the printcap file
91 >The printer name to validate.</P
93 >Printer names are taken from the first field in each
94 record in the printcap file, single printer names and sets
95 of aliases separated by vertical bars ("|") are recognized.
96 Note that no validation or checking of the printcap syntax is
97 done beyond that required to extract the printer name. It may
98 be that the print spooling system is more forgiving or less
106 > finds the printer then
110 > should do so as well. </P
116 >This is the name of the printcap file within
117 which to search for the given printer name. </P
119 >If no printcap name is specified <B
123 > will attempt to scan the printcap file name
124 specified at compile time. </P
148 >This is usually the default printcap
149 file to scan. See <TT
166 >If a printer is found to be valid, the message
167 "Printer name <printername> is valid" will be
170 >If a printer is found to be invalid, the message
171 "Printer name <printername> is not valid" will be
174 >All messages that would normally be logged during
175 operation of the Samba daemons are logged by this program to the
179 > in the current directory. The
180 program runs at debuglevel 3, so quite extensive logging
181 information is written. The log should be checked carefully
182 for errors and warnings. </P
184 >Other messages are self-explanatory. </P
194 >This man page is correct for version 2.2 of
218 HREF="smbclient.1.html"
235 >The original Samba software and related utilities
236 were created by Andrew Tridgell. Samba is now developed
237 by the Samba Team as an Open Source project similar
238 to the way the Linux kernel is developed.</P
240 >The original Samba man pages were written by Karl Auer.
241 The man page sources were converted to YODL format (another
242 excellent piece of Open Source software, available at
244 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
246 > ftp://ftp.icce.rug.nl/pub/unix/</A
247 >) and updated for the Samba 2.0
248 release by Jeremy Allison. The conversion to DocBook for
249 Samba 2.2 was done by Gerald Carter</P