Run cupsaddsmb (Quiet Mode)
The
cupsaddsmb
command copies the needed files into your
[print$]
share. Additionally, the PPD associated with this printer is copied from /etc/cups/ppd/
to
[print$]
. There the files wait for convenient Windows client installations via
Point'n'Print. Before we can run the command successfully, we need to be sure that we can authenticate toward
Samba. If you have a small network, you are probably using user-level security (
security = user).
Here is an example of a successfully run
cupsaddsmb
command:
root#
cupsaddsmb -U root infotec_IS2027
Password for root required to access localhost via Samba:
['secret']
To share
all
printers and drivers, use the
-a parameter instead of a printer name. Since
cupsaddsmb
“exports” the printer drivers to Samba, it should be
obvious that it only works for queues with a CUPS driver associated.
|