Knowledgebase: Installation
Changing printer settings from a script
Posted by admin admin on 22 November 2006 06:13 PM
Is it possible to change the default Win2PDF printer settings such as paper size for a large number of users from a script?

The following knowledgebase article from Microsoft describes a command line tool for modifying printer settings:
If you type the following command, it will save the current printer settings for the Win2PDF printer to a file named "file.dat":
rundll32 printui.dll,PrintUIEntry /Ss /n "Win2PDF" /a "file.dat" u
You can restore the settings using the following command:
rundll32 printui.dll,PrintUIEntry /Sr /n "Win2PDF" /a "file.dat" u
After you have changed the Win2PDF printer settings to the desired settings, you can use these commands to save the settings to a file and then write a script to restore the saved printer settings for other users.
(19 vote(s))
Not helpful

Comments (0)

Copyright 2000-2018 © Dane Prairie Systems LLC. All Rights Reserved. About Us | Privacy Policy | PDF Blog | Site Map