Ok, this is one of the things that frequently catches people out.

The simplest way to avoid an issue is to ensure that your share name and printer name are always exactly the same.

This should fix the problem you are having, and reduce the likelihood that you will have an issue in the future.