text
stringlengths
0
4.23k
rundll32 printui.dll,PrintUIEntry [baseparameter] [modificationparameter1] [modificationparameter2] [ModificationParameterN]
rundll32 printui PrintUIEntry [baseparameter] [modificationparameter1] [modificationparameter2] [modificationparameterN]
rundll32 printui,PrintUIEntry [baseparameter] [modificationparameter1] [modificationparameter2] [modificationparameterN]
Parameters
There are two types of parameters: base parameters and modification parameters. Base parameters specify the function that the command is to perform. Only one of these parameters can appear in a given command line. Then, you can modify the base parameter by using one or more of the modification parameters if they are ap...
Base Parameters
Description
/dl
Deletes the local printer.
/dn
Deletes a network printer connection.
/dd
Deletes a printer driver.
/e
Displays the printing preferences for a given printer.
/ga
adds a per computer printer connection (the connection is available to any user on that computer when they log on).
/ge
Displays per computer printer connections on a computer.
/gd
Deletes a per computer printer connection (the connection is deleted the next time a user logs on).
/ia
Installs a printer driver by using an .inf file.
/id
Installs a printer driver by using the add printer Driver Wizard.
/if
Installs a printer by using an .inf file.
/ii
Installs a printer by using the add printer wizard with an .inf file.
/il
Installs a printer by using the add printer wizard.
/in
Connects to a remote network printer.
/ip
Installs a printer by using the Network printer Installation Wizard (available from the user interface from print Management).
/k
prints a test page on a printer.
/o
Displays the queue for a printer.
/p
Displays the properties of a printer. When you use this parameter, you must also specify a value for the modification parameter /n[name].
/s
Displays the properties of a print server. If you want to view the local print server, you do not need to use a modification parameter. However, if you want to view a remote print server, you must specify the /c[name] modification parameter.
/Ss
Specifies what type of information for a printer will be stored. If none of the values for /Ss are specified, the default behavior is as if all of them were specified. Use this base parameter with the following values placed at the end of the command line:2: Stores the information contained in the printer s printER_INF...
/Sr
Specifies what information about a printer is restored and how conflicts in settings are handled. Use with the following values placed at the end of the command line:2: Restores the information contained in the printer s printER_INFO_2 structure. This structure contains the basic information about the printer such as i...
/Xg
Retrieves the settings for a printer.
/Xs
Sets the settings for a printer.