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.

Installing a printer driver with Rundll32

Featured Replies

Hello and greeting from Portugal to everyone!

I'm trying to restore settings to a printer from a *.dat file using the following command:

rundll32 printui.dll,PrintUIEntry /Sr /n "printername" /a "datfile.dat"

The error I always get is "Operation could not be completed."

I believe there is something wrong with my command line but I just can't figure it out!

The printer installation works fine using this method.

By the way...I'm using Windows 2008 R2.

Can someone please help me?

Best Regards,

Soultaker

What kinds of settings are you trying to set with the .dat file? You might be able to achieve the same with the .vbs print configuration scripts inside the Printing_Admin_Scripts folder in the system32 directory.

  • Author

thx for the quick reply.

I didn't know that scripts! :)

But...in this case I believe they cannot help because what I need to change is really driver specific, like...Enable Duplex Unit, etc.

should be same :)

edit: actually all printui.exe is just a short way to do it instead of rundll

Edited by maxXPsoft

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.