I could not print to SMB printer from my OS X for quite a long time. It used to terminate printing with the errors:
Unable to connect to SAMBA host, will retry in 60 seconds Connection failed with error NT_STATUS_UNSUCCESSFULIt was too frustrating .. and no pointers on the net helped. So, I started poking around, found /etc -> cups -> printers.conf file. The URI was quite wrong for the SMB printer, and that was the reason it did not print. So, I created printers.conf with the following:
<DefaultPrinter printer>
Info HP
Location MYDOMAIN
DeviceURI smb://ramprasad:jmypass@mydomain/myprintserver/HP
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
Now, I restarted cupsd and it started working fine ... Panther rocks (I could never do such a thing in Windows).
Mac OS X Hints
http://hints.macworld.com/article.php?story=20040129081521976