This article provides a video for example purposes only. It is intended to familiarize users with script installation in Windows 10.
NOTE: 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 printer driver using a script
The following sequence of procedures are 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 LMUD1p40 Setup Information file (.inf) via File Explorer > This PC > Local Disk (C:) > Lexmark > Lexmark_Universal_v2_UD1_XL > Drivers > Print > GDI NOTE: You will 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 from Print Server Properties > Ports Tab or using Microsoft provided prnport.vbs script.
Example: How to create a standard Tcp/Ip Port using prnport.vbs script
cscript 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 /q
NOTE: The path and .inf Setup Information file value can vary depending on the driver you want to install (e.g., PCL5, PCL XL, or PS).
- Open Control Panel and select View devices and printers.
- Select Print server properties.
- Click on the Drivers tab.
- Observe Lexmark Universal v2 XL under Installed printer drivers.
- Select it and click OK.
- Verify successful installation by locating the driver with the label Lexmark Universal v2 XL, for example.
If unable to view the video above, see the video below. You may need to wait for the video to load since the file size is approximately ~6MB.