A quick script to create policies that install printers via the self service portal.
Not much needed here other than a JAMF Pro server and 2 policies that install printer drivers via a JAMF trigger (installPrintersBS and installPrintersHP)
Install this script in the scripts section of your jamf server. Set the Options section set your parameter labels as:
- Parameter 4 - Printer Name
- Parameter 5 - Printer IP
- Parameter 6 - Location
- Parameter 7 - Model (HL-3170CDW, HL-5450DN, HL-L5100DN, M452, CP5520, MX-C312, MX-M754, MX-905, MX-5070, MX-6070)
Then create a policy and add the script as the payload with the various parameters filled out.
Parameter 7 must match a model on the list, though it is not case sensitive.
Currently this script only supports:
- Brother HL-3170CDW
- Borther HL-5450DN
- Brother HL-L5100
- HP Color Laserjet M452DN
- HP Color Laserjet CP5520
- Sharp MX-C312 Copier
- Sharp MX-M754 Copier
- Sharp MX-905 Copier
- Sharp MX-5070 Copier
- Sharp MX-6070 Copier