Windows 预安装打印机驱动
将打印机驱动复制到可以访问的共享路径
使用以下powershell脚本安装驱动
pnputil.exe /a "\\<fileshare>\koaxpj__.inf.inf"
之后确认安装后打印机驱动的路径,在C:\Windows\System32\DriverStore\FileRepository
下
打开inf文件记录下实际打印机型号的名称,如
[KONICA MINOLTA.NTamd64]
"KONICA MINOLTA C368SeriesPCL"
"KONICA MINOLTA C3851SeriesPCL"
使用以下powershell脚本添加具体驱动
Add-PrinterDriver -Name "KONICA MINOLTA C368SeriesPCL" -InfPath "C:\Windows\System32\DriverStore\FileRepository\koaxpj__.inf_amd64_c4e736b89265dcc3\koaxpj__.inf"
Add-PrinterDriver -Name "KONICA MINOLTA C3851SeriesPCL" -InfPath "C:\Windows\System32\DriverStore\FileRepository\koaxpj__.inf_amd64_c4e736b89265dcc3\koaxpj__.inf"