Windows 10: Set default printer based on network IP

Discus and support Set default printer based on network IP in Windows 10 Support to solve the problem; Thank you for taking the time to read my question. I recall in window 7 there was an option to set default print device based on Network. Has this... Discussion in 'Windows 10 Support' started by davidleehall2, Jun 20, 2020.

  1. Set default printer based on network IP


    Thank you for taking the time to read my question.
    I recall in window 7 there was an option to set default print device based on Network.
    Has this option been removed or is it just hidden.
    Please suggest a method that I can set do you default print device based on IP address.
    Thank you
    dlee

    :)
     
    davidleehall2, Jun 20, 2020
    #1
  2. RCoon Win User

    Setting Default Printer via Startup Script

    I do it with VB logon scripts


    "Dim ps0 [<------ our printer server the printers are added/managed on]
    Dim printer

    ps0 = "\\ps0\"
    printer = "S14 - Oki ES4140" [<------- the name of the printer as it is shown on the server]

    Set wshNetwork = CreateObject("WScript.Network")
    on Error Resume Next

    'Deletes all network printers
    Set clPrinters = wshNetwork.EnumPrinterConnections
    On Error Resume Next
    For i = 0 to clPrinters.Count - 1 Step 2
    wshNetwork.RemovePrinterConnection clPrinters.Item(i+1), true
    Next

    'Add Network printer
    wshNetwork.AddWindowsPrinterConnection ps0 & printer

    'Set Default Printer
    wshNetwork.SetDefaultPrinter ps0 & printer" [<------ this bit sets it as default (note: this must be applied as the first policy before any other printers policies, otherwise it deletes them)]


    Set default printer based on network IP Printerscrupt.png
     
    RCoon, Jun 20, 2020
    #2
  3. Setting Default Printer via Startup Script

    This looks like a good solution, and similar to some of the VB scripts I tried.. but it is a logon script. I would need something that works as a startup script. We are not mapping printers to users as they move around too much, but rather mapping to each computer.

    The Link that W1ZZARD posted is good information. Sadly however, I have tried utilizing most of the commands that are available. The /c command is indeed interesting, but we are trying to map them when a computer starts up (prior to logon screen) versus just mapping them remotely. The purpose would be if we had a lab that needed the default printer changed, sure we could just send the remote command to each machine, or even remote into them ourselves and manually do it, but I was looking for a smoother alternative.

    It seems like its just something that will have to be done manually and with user education.

    Thanks for all the suggestions though.
     
    Wastedslayer, Jun 20, 2020
    #3
  4. davidhk Win User

    Set default printer based on network IP

    Default network printer randomly defaults to the adobe PDF printer


    Start button > Settings > Devices > Printers and scanners >click at your printer > click Set as Default > click at Microsoft Print to PDF > click Remove device > click Yes to confirm >
    I would suggest that you enable Let Windows manage my default printer option. That way, your default printer will be the last printer used.
     
    davidhk, Jun 20, 2020
    #4
Thema:

Set default printer based on network IP

Loading...
  1. Set default printer based on network IP - Similar Threads - Set default printer

  2. Set default printer based on network IP

    in Windows 10 Network and Sharing
    Set default printer based on network IP: Thank you for taking the time to read my question. I recall in window 7 there was an option to set default print device based on Network. Has this option been removed or is it just hidden. Please suggest a method that I can set do you default print device based on IP address....
  3. Default black and white printing on local printer network IP Printer

    in Windows 10 Customization
    Default black and white printing on local printer network IP Printer: Hello, I explain my problem to you. We have a computer park of Windows 8.1 and 10 PCs which when they connect launch a session script in powershell which will install the printers locally on each PC according to the OU of the Active directory. For example a person connects...
  4. Win10 Setting Default Printer

    in Windows 10 Drivers and Hardware
    Win10 Setting Default Printer: As admin or user1, am able to select default printer without issue. As user2, left click on the printer name does NOT expand the selection box, and Manage is not accessible. Suggestions?...
  5. set pdf as default printer

    in Windows 10 Drivers and Hardware
    set pdf as default printer: Hi i am using windows 10 pro 1903 18358, and nitro Pro pdf i'm unable to set it as default printer i can't find an option in printer settings or anywhere i can configure this thanks 129543
  6. set pdf as default printer

    in Windows 10 Installation and Upgrade
    set pdf as default printer: Hi i am using windows 10 pro 1903 18358, and nitro Pro pdf i'm unable to set it as default printer i can't find an option in printer settings or anywhere i can configure this thanks 129543
  7. Change printer default settings

    in Windows 10 Drivers and Hardware
    Change printer default settings: How do you change printer default settings from color to black and white on windows 10? I have office365 also. Does that make a difference? https://answers.microsoft.com/en-us/windows/forum/windows_10-hardware/change-printer-default-settings/6f785f32-dec4-448c-8259-0dfc85477859
  8. setting default for printer

    in Windows 10 Customization
    setting default for printer: How do I set my printer as the default printer for Windows 10? https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/setting-default-for-printer/d634e4d2-7ede-4ddd-afad-ca101042a850
  9. Location based default printer in windows 10

    in Windows 10 Drivers and Hardware
    Location based default printer in windows 10: Hey guys, Windows 7 had a feature where windows would select your default printer based on which network you are logged onto. I cannot seem to find this feature in windows 10 for the life of me. Has it been removed? I'm hoping it hasn't or there is at least some kind...
  10. Default network printer randomly defaults to the adobe PDF printer

    in Windows 10 Drivers and Hardware
    Default network printer randomly defaults to the adobe PDF printer: Hi Guys, I'm getting quite frustrated with this issue and wondering if anyone has seen it, and able to resolve the issue. The issue is I have a network printer selected as the default in Windows 10. I have the option "Let Windows manage my default printer" turned off. At...