Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. Install Virtual Printer with credentials programmatically in windows

Install Virtual Printer with credentials programmatically in windows

Scheduled Pinned Locked Moved Hardware & Devices
helpcomquestion
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    njoymathews
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups