Install Virtual Printer with credentials programmatically in windows
Hardware & Devices
1
Posts
1
Posters
1
Views
1
Watching
-
Hi All,
I have a problem in installing Internet Printer programmatically with username and password.
I am able to install Printer using the following command:rundll32 printui.dll,PrintUIEntry /if /b "Printername" /f %windir%\inf\ntprint.inf /r "https://username:password@devl-ipp.com/printers/Printername"; /m "HP Color LaserJet 2500 PS Class Driver"
But Windows is not recognizing credentials. Hence I cant Print. I get Access denied message.
Is there any option to achieve this programmatically?Any help will be greatly appreciated.
Regards
Mathew