I resolved it now.
The logging never hits the /var/log/samba. I did find log lines hitting /var/log/daemon.log. This gave me a clue, as I specified the user Guest for guest access which was incorrect. The logs showed this.
I went to the control panel on the printer and left the user id blank and this worked successfully.