I have a CUPS server setup in Linux.I want to add this printer to my windows programmatically. Manually I am able to add.By searching various forums I found the following command:
rundll32 printui.dll,PrintUIEntry /if /b "TestPrinter_With_Auth" /f %windir%\inf\ntprint.inf /r "https://username:pasword@ipp.devCups.com/printers/Printer" /m "HP Color LaserJet 2500 PCL6 Class Driver"
I could install Printer using this command. But I couldn't Print to CUPS as it is not recognizing the credentials. I get access denied.
Any suggestion to achieve this programmatically.
Thanks in Advance
Matt