I eventually worked out that the problem was path related. I was able to fix it by adding:
setenv PATH ${PATH}:/usr/local/bin
to the first non-comment line of printsmb. Now it works flawlessly.
Hopefully this will be helpful to others.
-- Matthew.