Using Samba: A File and Print Server for Linux, Unix & Mac OS X, 3rd Edition
| testprns |
This is a very simple program that checks to see if a specified printer name exists in the system printer capabilities (printcap) file.
Command synopsis
testprns printername [printcapname]
If printcapname isn't specified, Samba attempts to use the one specified in the Samba configuration file with the printcap name parameter. If none is specified there, Samba will try /etc/printcap .