→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
‎05-22-2020 12:38 AM
‎05-06-2022 02:59 PM
‎05-26-2020 04:29 PM
‎05-22-2020 02:35 AM
rundll32 printui.dll,PrintUIEntry /Ss /n "SITE.NAME (SC2020)" /a "\\SERVERNAME\Apps$\Printer Drivers\Multi Printer Sites\Printer Settings (Defaults)\SITE.NAME (SC2020).Settings.dat"
:Uninstall Existing Printers / Names
rundll32 printui.dll,PrintUIEntry /q /dl /n "SITE.NAME (SC2020)"
rundll32 printui.dll,PrintUIEntry /q /dl /n "SITE.NAME (Ineo 368) MFD1"
rundll32 printui.dll,PrintUIEntry /q /dl /n "SITE.NAME (Ineo 368) MFD2"
:Import FujiXerox Certificate
certutil -addstore "TrustedPublisher" "\\SERVERNAME\Apps$\Printer Drivers\FujiXerox.cer"
certutil -addstore "TrustedPublisher" "\\SERVERNAME\Apps$\Printer Drivers\KonicaMinolta.cer"
:Create TCP/IP Ports - SITE.NAME (SC2020)
CSCRIPT /nologo %windir%\System32\Printing_Admin_Scripts\en-US\prnport.vbs -a -r 10.40.11.10 -o raw -n 9100 -h 10.40.11.10
:Create TCP/IP Ports - SITE.NAME (Ineo 368) MFD1
CSCRIPT /nologo %windir%\System32\Printing_Admin_Scripts\en-US\prnport.vbs -a -r 10.40.11.11 -o raw -n 9100 -h 10.40.11.11
:Create TCP/IP Ports - SITE.NAME (Ineo 368) MFD2
CSCRIPT /nologo %windir%\System32\Printing_Admin_Scripts\en-US\prnport.vbs -a -r 10.40.11.12 -o raw -n 9100 -h 10.40.11.12
:Install Printer - SITE.NAME (SC2020)
rundll32 printui.dll,PrintUIEntry /q /if /n "SITE.NAME (SC2020)" /b "SITE.NAME (SC2020)" /f "\\SERVERNAME\Apps$\Printer Drivers\Fuji Xerox SC2020\XR6IKAL.inf" /r "10.40.11.10" /m "Xerox DocuCentre SC2020 PCL 6"
:Install Printer - SITE.NAME (Ineo 368) MFD1
rundll32 printui.dll,PrintUIEntry /q /if /n "SITE.NAME (Ineo 368) MFD1" /b "SITE.NAME (Ineo 368) MFD1" /f "\\SERVERNAME\Apps$\Printer Drivers\Multi Printer Sites\Konica BizHub C368\KOAXPJ__.INF" /r "10.40.11.11" /m "KONICA MINOLTA C368SeriesPCL"
:Install Printer - SITE.NAME (Ineo 368) MFD2
rundll32 printui.dll,PrintUIEntry /q /if /n "SITE.NAME (Ineo 368) MFD2" /b "SITE.NAME (Ineo 368) MFD2" /f "\\SERVERNAME\Apps$\Printer Drivers\Multi Printer Sites\Konica BizHub C368\KOAXPJ__.INF" /r "10.40.11.12" /m "KONICA MINOLTA C368SeriesPCL"
:Install Printer Configuration Settings
rundll32 printui.dll,PrintUIEntry /Sr /n "SITE.NAME (SC2020)" /a "\\SERVERNAME\Apps$\Printer Drivers\Multi Printer Sites\Printer Settings (Defaults)\SITE.NAME (SC2020).Settings.dat" d g r
rundll32 printui.dll,PrintUIEntry /Sr /n "SITE.NAME (Ineo 368) MFD1" /a "\\SERVERNAME\Apps$\Printer Drivers\Multi Printer Sites\Printer Settings (Defaults)\SITE.NAME (Ineo 368) MFD1.Settings.dat" d g r
rundll32 printui.dll,PrintUIEntry /Sr /n "SITE.NAME (Ineo 368) MFD2" /a "\\SERVERNAME\Apps$\Printer Drivers\Multi Printer Sites\Printer Settings (Defaults)\SITE.NAME (Ineo 368) MFD2.Settings.dat" d g r
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now