Two things... you might temporarily modify the UDF at the shell line to find out what is going on...

? $printercmd
shell $printercmd
? @serror

I have seen in the past where in the INF file it is not so obvious what the printer description is... you might post the contents of that for us to look over too.