Pre-Installed Printer Drivers

cheekycharly

New Member
Hi Folks, I just tried NTLite for the first time and I am loving it! I told the base OS to include the drivers to my Kyocera and I know they are in there but how would I pre-install the driver so that in Print management it shows under All Drivers. Feel like there is an extra step or a script I would need to run.

Thank you in advance!
 
If your image has the correct printer drivers installed, then add a PowerShell script to Post-Setup (Machine).

Read this guide, and skip the steps where they add the driver files. But pay attention to how the driver and ports are named.

Copy script as Add-Printer.ps1
Code:
Add-PrinterDriver -Name "Samsung M337x 387x 407x Series"
Add-Printer -DriverName "Samsung M337x 387x 407x Series" -Name "Samsung M337x" -PortName (Get-PrinterPort -Name LocalPort*).Name

$Printer = Get-CimInstance -Class Win32_Printer -Filter "Name='Samsung M337x'"
Invoke-CimMethod -InputObject $Printer -MethodName SetDefaultPrinter
 
Back
Top