Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Map Printer Script

Featured Replies

How can I get the clients to automatically map printers on the server, I tried the following but it didnt seem to work.

Mapping them manually works fine.

net use LPT1: \\logi\epson2

net use LPT2: \\logi\epson1

net use LPT3: \\logi\HP1

Above was included in Bat login script.

Other lines in script work fine.

I ran it from command line, and it claimed LPT1 was already in use.

even though no printers were installed.

I assume the printer set as LPT1 is default?

Many thanks

Use this to install the printer quietly

rundll32 printui.dll,PrintUIEntry /in /q /n\\servername\printername

Use this to set the printer as the default printer

rundll32 printui.dll,PrintUIEntry /y /n\\servername\printername

Run this for a full list of what printui can do

rundll32 printui.dll,PrintUIEntry /?

why do we use rundll32 printui.dll instead of a vbs liek this?

Dim net

Set net = CreateObject("WScript.Network")

net.AddWindowsPrinterConnection "\\server\printer"

net.SetDefaultPrinter "\\server\printer"

why do we use rundll32 printui.dll instead of a vbs liek this?

Wow, that works really well! THANKS!

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.