Link to home
Start Free TrialLog in
Avatar of diegomirner
diegomirnerFlag for Switzerland

asked on

change vbs script network printers from letter to A4 format

Hi xperts,

I need you to help me in order to add any necesary config in order to change all my network printer config from letter to A4 in my vbs script that i use to manage users printers.please easy help for a non script guy.
In need to be sure that all printers in the script will print in A4
thanks in advance
Avatar of Shift-3
Shift-3
Flag of United States of America image

Printer settings such as paper size are governed by entries under the registry key HKEY_CURRENT_USER\Printers\DevMode.  To get the desired values, manually set each printer to use A4 and then export that registry key.

You can then set the values using a logon script such as the one in this article:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/feb05/hey0224.mspx
Avatar of diegomirner

ASKER

I don't see any details about Paper format A4 in the registry , i can see al lprinters in connections section of it, any help ?
ASKER CERTIFIED SOLUTION
Avatar of Shift-3
Shift-3
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
so i  find in the regitry the next key :

devmodeperuser
devmodes2

so i have manually apply necesary changes in on each printer , i have export the devmodes2 folder keys , but still same problem , no reflection on the changes on the new pc where i have restore this keys.
any idea ?
well i find out the i should do it for the hould printers key , so it works great, thanks again