Can you post your updated addprinter line?

There are a few requirements for this UDF... Admins permissions needed by the person running it (or some sort of elevated rights). Win2k and above, although honestly I haven't tested it on Vista or Win7.