How can I add a CUPS password protected(basic) printer in windows 10 in command line

0

Is there a way to add a windows 10 IPP printer from the command line with the username/password already filled in?

I've got the following command, but I'm still being presented with a password window.

rundll32 printui.dll,PrintUIEntry /b "SuperPrinter" /x /n "printer" /if /f "C:\Windows\INF\prnms012.inf" /r "https://username%40test.com.br:mypassword@PRINTER_URL.com/printer/"/m "Microsoft IPP Class Driver"

Luc

Posted 2019-03-25T20:10:23.607

Reputation: 1

No answers