/build/static/layout/Breadcrumb_cap_w.png

Adding a HP PCL 5 Printer Driver with Printer and Port for non Print Server based printing

If you are requiring to add a silent install via a script of a "HP Universal Printing PCL 5 " driver follow the following and create a Kscript to do so:

Download the HP PCL 5 Universal driver from HP: https://support.hp.com/ca-en/document/c04324001 and zip it together, upload to the Kscript as a dependency.

Create a new online Kscript and the following 3 entries under the remediation section:

**** This line creates a TCP/IP printer port, RAW, with IP address of 192.168.2.27 ( replace this IP with desired IP address)****

Directory:                         $(KACE_SYS_DIR)
File:                                  cscript.exe
Wait for Completion:        Selected
Parameters:                    $(KACE_SYS_DIR)\Printing_Admin_Scripts\en-US\prnport.vbs -a -r 192.168.2.27_1 -h 192.168.2.27 -o raw -n 9100 

**** This line installs the HP Universal Print Driver to be used by the printer at the earlier created IP Port. ( replace 115 with the script # of your SMA)****

Directory:                         $(KACE_SYS_DIR)
File:                                  cscript.exe
Wait for Completion:        Selected
Parameters:                    $(KACE_SYS_DIR)\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -m "HP Universal Printing PCL 5" -h C:\programdata\dell\kace\kbots_cache\packages\kbots\115

**** This line installs the HP Printer, provides a label of it as a descriptor name and attaches to earlier created IP address based port. ****

Directory:                         $(KACE_SYS_DIR)
File:                                  cscript.exe
Wait for Completion:        Selected
Parameters:                      $(KACE_SYS_DIR)\Printing_Admin_Scripts\en-US\prnmngr.vbs -a -p "First Floor Bld A" -m "HP Universal Printing PCL 5" -r 192.168.2.27_1

In this example, printer is named "First Floor Bld A" and IP is 192.168.2.27. Change the descriptor name and IP to suit your needs and IP to match the port created in line 1.

ts5wMF.jpeg



Comments

This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ