I need to deploy printers using IPP in the logon script (batch/vbs).
I found the following script to do this:
rundll32 printui.dll,PrintUIEntry /if /q /b "r011-printer01 " /f %windir%\inf\ntprint.inf /r "http://10.0.0.1:631/printers/r011-printer01" /m "Apple Color Laserwriter 12/600"
This does seem to add the printer fine. However, when accessing the printer a "access denied" error occurs. The user adding the printers is an administrator account.
Adding the printer manually works fine, however I am required to enter Login-Credentials of a Local user. (?)