Jump to content

Scripted Printer Config Issue


Gibbon

Recommended Posts

Hey All,

Sticky one for you.

I have an urgent request (Arent they all, ha!) to roll out some new printer parameters to our desktop machines.

Problems is... I cant find out where they are stored... not in a file, not the registry, not anywhere... odd.

Even tried exporting the printers settings using;

rundll32 printui.dll,PrintUIEntry /Ss /n "OurPrinter" /a "c:\file.dat" u

and

rundll32 printui.dll,PrintUIEntry /Sr /n "OurPrinter" /a "c:\file.dat" u

to reinstall them, doesnt work.

Best way to explain is to show you:

printerexampledr2.jpg

See where I have TEXTGOESHERE, we need to find someway of getting that change on all our machines.

I have looked everywhere, and i just cant find the answer at the moment.

If we can find out where that info is stored, we can change it easy.

Anyone?

TIA!

Gib

Link to comment
Share on other sites


This is actually stored in the registry, but it's stored as a binary blob in (in this example) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Generic / Text Only\PrinterDriverData\TTY DeviceConfig. If you want to push this out, you will need to push it out as a .reg change, and it would have to be as an admin (so perhaps a machine startup script). The key would have to write to a pre-existing printer, and all of the configurations would need to be the same in this key (and I'm not sure it'll even work, as I don't have a box to test this on).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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