Hmmm... I can't help but remark on the title of your thread "Getting started with NT 4.0"...

Why would you be just starting on such an old OS?

As for your problem, is the printer name and the share name the same? the two functions do not use the same name.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.