Skip to main content

Jamf School Printer Deployment - How to with tips and tricks

Updated over 2 months ago

Description

This article provides insight into how to install Printers on Computers through Jamf School and the Printer Management Payload.

It covers:


A. Collecting the important Printer information

Pre-requisite: Printer has been manually mapped and successfully test printed on the computer that we are using to gather the appropriate Printer Information

Device URI Collection

  • Option 1: On a computer that has already mapped the printer(s) this can be found in Apple Menu > About this Mac > More Info > System Report > Printers > select the Printer > URI.

    This image shows the System Report > tab where you can find the URI.

  • Option 2: Device URI can also be located using this workflow:

    1. Enable CUPS web interface by opening a terminal and entering: sudo cupsctl WebInterface=yes

    2. Visiting https://localhost:631/ and click the PRINTERS link on the very top of the web page

    3. Select the printer(s) from the list that we'd like more information about.
      Connection will be the Device URI

      This image shows the device URI on the CUPS web interface.

Driver Path and Model

Terminal Command: lpinfo -m

  • This command will return information for all of the driver files installed on the computer and this will be used to gather both the Driver and Model information necessary for the Printer Management Payload

  • The lpinfo return is formatted as follows: /Path/to/DRIVER.gz(.ppd) MODEL

This image shows the output of lpinfo -m.

PPD Path

This will be the path to the Printer Driver as it exists on the Computer, most often in /Library/Printers/PPDs/Contents/Resources/. This most often is a .gz or .PPD file type.

This image shows the lpinfo -m output with the PPD outlined.

Model

This is required information for a Printer to map with the Proper Driver/Options and must exactly match what is returned in the lpinfo -m Terminal command or the printer will map with a generic driver.

This can also be found in About this Mac > More Info > System Report > Printers > Select the printer > PPD and is also the type reported for the printer in System Settings > Printers.

This image shows the lpinfo -m output with the model called out


B. Creating the Printer Management Profile in Jamf School

  1. In Jamf School, navigate to Profiles > Overview and select + Create new Profile.

  2. Select macOS Profile and Device Enrollment.

  3. Name the profile as desired, select Next, and then select Finish.

  4. Select the Printer Management payload and click Configure.

  5. Select + Add an Installed Printer.

  6. Enter the Device URI that noted in the URI Collection.

  7. Enter the Display Name and Location as desired.

  8. Enter the Model collected from the lpinfo -m Terminal Command.

  9. Enter the PPD Path collected from the lpinfo -m Terminal Command

    • file://localhost/ must be placed before the PPD Path.

      • example: file://localhost/Library/Printers/PPDs/Contents/Resources/HP OfficeJet Pro 8210.gz

  10. Select Allow printers that connect directly to user's computers. This is required for printers to appear in System Settings > Printers on computers that the profile is installed on.

  11. Repeat steps 5-10 for additional printers as desired.

  12. Configure the remaining settings as desired.

  13. Click Save.


C. Deploying Printers

Once the profile has been created, the printer drivers must be deployed to the computers before the printer profile is installed on the computer. If the drivers are not installed on the computer when the Printer Profile is installed, the printers will map with the generic postscript driver native to macOS.

Pre-requisite: Driver package is uploaded to Jamf School. For assistance uploading packages see In-House Content Distribution.

Deploy the Driver package

  1. Navigate to the Driver package in Jamf School under Apps > Inventory.

  2. Select the + option near the bottom of the App Details.

  3. Select the Desired Device Group.

  4. Repeat for additional Device Groups as desired.

  5. Click Save.

Create a Smart Device Group for devices that have the Drivers Installed to deploy the Profile

  1. Navigate to Devices > Device Groups and select + Add Group.

  2. Name the group and select Smart Device Group.

  3. Select the Profiles option at the top of the window.

  4. Search for the Printer Profile.

  5. Select Automatic for this printer profile.

  6. Select the Members option at the top of the page.

  7. Select + Add Filter.

  8. Enter the Criteria Managed App (Installed) one of the following {Printer Drivers Package}

  9. Click Finish.

  10. Select Members.

  11. Click Save.



D. General Notes and Troubleshooting

  • When the Printer profile is removed from a device, the printers are not automatically removed. Printers will have to be removed manually by the end user in System Settings.

  • If a printer maps with the Generic Printer Driver, verify that the Model and PPD Path matcha exactly as shown in the lpinfo -m Terminal Command and verify that the Driver exists on the Computer at the driver path configured.

  • If a printer is improperly mapped, or adjustments are made to the Printer in the Printer Profile, the printer will need to be manually removed and the profile re-installed to adjust the mapping.

  • If Printers do not appear in System Settings, verify that any other installed profile with Printer Management configured has the option "Allow printers that connect directly with user's computers" selected.

  • Printer Management in the Jamf School Documentation:

Did this answer your question?