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.

unattended printer install

Featured Replies

Has anyone ever tried this? I have been given the dubious task of creating several of them and I haven't got a clue. Can anyone offer any information that will ease my headache ?

For exapmle:

Dim WSHShell

Set WSHShell = WScript.CreateObject("WScript.Shell")

WshShell.Run "rundll32 printui.dll,PrintUIEntry /if /b " & """" & "LaserJet6L" & """" & " /f %windir%\inf\ntprint.inf /r " & """" & "lpt1:" & """" & " /m " & """" & "HP LaserJet 6L" & """", 2, true

WshShell.Run "rundll32 printui.dll,PrintUIEntry /y /n " & """" & "LaserJet6L" & """", 2, true

For more information try:

rundll32 printui.dll,PrintUIEntry /?

have a look here PrintUI.dll.

I use the following in a batch file to add a printer

RUNDLL32 PRINTUI.DLL,PrintUIEntry /ga /n\\Server\PrinterShareName

To remove the printer change the /ga to /gd. You need to run the DLL or batch file with local administrator rights. Note that you still have to login as each profile if you need to change the default printer.

I was put onto this a few months back and have been using it in a batch file to add (or remove) "group" printers. Can be a great time saver if you have several printers to manage for a group.

I don't know immediatelyhow you can incorporate this into an unattended install though?

Hope it helps!

To add to winnt.sif, i did this =>

extract the deploy.cab to a folder

run setup.exe, fill in the sections just tso it is happy

at the printer section, insert servername\printersharename

then finish

open your unattended.txt file

locate section and copy and paste ths to your winnt.sif

I'll be honest and say i haven't actually tried this, but as is done via official unattended.txt create program, i don't see why not.

I'm using a tool called "printmig" to add local print drivers unattended. Don't remember where I got it from, I know there is various of it on the net but the one I use is a Microsoft one (according to the about box).

First I have created the printers manually, adding any 3d party drivers and set any settings needed. Then I make a backup of my printers in printmig and it saves all files and settings needed into a single .CAB file.

In my unattended script, I just make a restore using printmig command line options and voila, I have all my printers with all settings restored.

At least, this is MY way of dealing with the printer install... :D

/DrJ

I also used Installrite to monitor my pc while I installed my printer and drivers to make an install package, that worked fine for me.

Im trying to install a network printer via something of the form:

rundll32 printui.dll,PrintUIEntry /if /b "Test Printer" /f %windir%\inf\ntprint.inf /r "lpt1:" /m "AGFA-AccuSet v52.3"

It works with lpt1: as the port for the command but I want to use an IP address. If I change lpt1: to an ip address it doesnt seem to work. Anyone know whether this is possible and what the correct formatting should be?

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.