Hi
How to run cmd command in this package afther instalation
How to run cmd command in this package afther instalation
Code:
REM Create Port
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\Prnport.vbs" -a -r CRM-Printer -h 192.168.202.52 -o raw -n 9100
REM Install Driver
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\Prndrvr.vbs" -a -m "HP LaserJet 500 color M551 PCL6" -i "\\sccm2016\Source\APP\Script\Printers\Driver\hpcm500u.inf"
REM Create Printer
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs" -a -p "CRM-Printer1" -m "HP LaserJet 500 color M551 PCL6" -r CRM-Printer
Set Default Printer
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs" -t -p "CRM-Printer1"
Exit