Installing a print driver using a script in Windows 10
Video: Printer driver installation using a script in Windows 10
Overview
This article provides a video for example purposes
only
. It is intended to familiarize users with script installation in Windows 10.Windows 10 drivers may
not
be immediately available. In the meantime, you may use Windows 8
or 8.1
driver packages for Windows 10 supported printers.Installing print driver using a script
The following sequence of procedures is summarized in the video below:
- Extract the files to a temporary folder.
- Accept the License Agreement.
- Remove the check mark next to "Launch the Add Printer Wizard after extraction completes".
- Locate LMUD1p40Setup Information file (.inf)viaFile Explorer>This PC>Local Disk (C:)>Lexmark>Lexmark_Universal_v2_UD1_XL>Drivers>Print>GDIYou need both the path and setup .inf file name.
- Open a Command Prompt (Run as administrator).
- If the respective port name is not present, then create a Port, either fromPrint Server Properties>Ports Tabor using Microsoft provided prnport.vbs script.Example: How to create a standard Tcp/Ip Port using prnport.vbs scriptcscript c:\Windows\System32\Printing_Admin_Scripts\en-US\prnport.vbs -a -r -h
- Type C:\Windows\system32>rundll32 printui.dll, PrintUIEntry /if /m "Lexmark Universal v2 XL" /f "C; \Lexmark\Lexmark_Universal_v2_UD1_XL\Drivers|Print\GDI\LMUD1p40.inf /r "<IP_Address>" /Z /qThe path and .infSetup Information filevalue can vary depending on the driver you want to install (e.g., PCL5, PCL XL, or PS).
- OpenControl Paneland selectView devices and printers.
- SelectPrint server properties.
- Click theDriverstab.
- ObserveLexmark Universal v2 XLunderInstalled print drivers.
- Select itandclick OK.
- Verify successful installation by locating the driver with the labelLexmark Universal v2 XL, for example.
LEGACY ID:
HO3977