0% found this document useful (0 votes)
172 views

Print UI

This document provides information about the PrintUI.DLL command line tool, including its command options and modifiers. The tool allows installing, configuring, and managing printers from the command line. Key options include installing or deleting printer drivers, adding or removing network or local printers, and setting printer properties. Modifiers allow specifying printer details, driver files, and other installation parameters.

Uploaded by

vasangc
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
172 views

Print UI

This document provides information about the PrintUI.DLL command line tool, including its command options and modifiers. The tool allows installing, configuring, and managing printers from the command line. Key options include installing or deleting printer drivers, adding or removing network or local printers, and setting printer properties. Modifiers allow specifying printer details, driver files, and other installation parameters.

Uploaded by

vasangc
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

PrintUI.

DLL
rundll32 printui.dll PrintUIEntry [options] [@commandfile] PrintUIEntry keyword on the command line is case sensitive Help rundll32 printui.dll PrintUIEntry /?

PrintUIEntry command options These command options determine the function to be performed by the command. Only one of these options may appear in a command line. The command may be modified by one or more of the modification options listed below. Note that not all modification options are supported by all command options. /? Help this message /dd delete printer driver /dl delete local printer /dn delete network printer connection /e display printing preferences /ga add per machine printer connections /ge enum per machine printer connections /gd delete per machine printer connections /ia install printer driver using inf file /id install printer driver using add printer driver wizard /if install printer using inf file /ii install printer using add printer wizard with an inf file /il install printer using add printer wizard /in add network printer connection /k print test page to specified printer, cannot be combined with command when installing a printer /o display printer queue view /p display printer properties /s display server properties /Ss Store printer settings into a file

/Sr Restore printer settings from a file Store or restore printer settings option flags that must be placed at the end of command: 2 7 c d s g m u r f p PRINTER_INFO_2 PRINTER_INFO_7 Color Profile PrinterData Security descriptor Global DevMode Minimal settings User DevMode Resolve name conflicts Force name Resolve port

/Xg get printer settings /Xs set printer settings /y set printer as the default @[file] command line argument file PrintUIEntry modification options These options are used to modify the command option or provide additional information to the selected command. /a[file] binary file name /b[name] base printer name /c[name] unc machine name if the action is on a remote machine /f[file] either inf file or output file /h[arch] driver architecture one of the following, Alpha | Intel | IA64 | x64 /j[provider] print provider name /l[path] printer driver source path /m[model] printer driver model name /n[name] printer name /q quiet mode, do not display error messages /r[port] port name /u use the existing printer driver if it's already installed

/t[#] zero based index page to start on /v[version] driver version one of the following, Windows 95, 98 and Me | Windows NT 4.0 | Windows NT 4.0 or 2000 | Windows 2000 or XP | Windows XP /w prompt the user for a driver if specified driver is not found in the inf /z do not auto share this printer /Y do not auto generate a printer name /K changes the meaning of /v and /h to accept 0,1,2,3, respectively for Windows x64 and Windows IA64 | Windows NT x86 | Windows NT Alpha_AXP | Windows 4.0 /Z share this printer, can only be used with the /if option /Mw[message] show a warning message before committing the command /Mq[message] show a confirmation message before committing the command /W[flags] specifies flags and switches for the wizards (for APW & APDW) r make the wizards to be restart-able from the last page

/G[flags] specifies global flags and switches w suppress setup driver warnings UI (super quiet mode)

You might also like