If the
printcap
name
option (also called
printcap
) appears in a printing share, Samba will use the file specified as the system printer capabilities file. This is normally
/etc/printcap. However, you can reset it to a file consisting of only the printers you want to share over the network. The value must be a fully-qualified filename of a printer capabilities file on the server:
[deskjet]
printcap name = /usr/local/printcap