Note
You can run the
cupsaddsmb
utility with parameters to specify one remote host as Samba host
and a second remote host as CUPS host. Especially if you want to get a deeper understanding, it is a good idea
to try it and see more clearly what is going on (though in real life most people will have their CUPS and
Samba servers run on the same host):
root#
cupsaddsmb -H sambaserver -h cupsserver -v printer