Jump to content

Recommended Posts

Posted

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


Posted

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.

Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...