I've seen a lot of these hints on the Internet, but most of them didn't
work for me. This is how I managed to print to a shared Windows printer.
We'll start by opening System Preferences, where we chose the Print
& Fax preference pane. There you should see a list with all the
printers you've currently installed. Click the '+' button to add a new
printer. This opens the Printer Browser. Then hold down the Option key
and click More Printers; this lets you access the "Advanced" options
from the first popup menu.