Adding a Print Queue in Unix with CUPS

Open the URL http://localhost:631 in any browser and add a "Windows Printer via SAMBA" device pointing to a URL such shown in this example:
smb://username:password@mathprint.mcmaster.ca/HH303-HPLJM630

You may choose to use either a Raw queue or the driver for the actual make and model.

Note that these instructions will work in OS X, too, since OS X is unix based and uses CUPS for printing.

NB: as of early 2017, you must make sure that your linux client does not default to SMB1 for security reasons.