In version 6.5.5 we've added an additional payload to our macOS profiles: Printer Management.
In this payload you're able to pre-configure printers for all your macOS devices, this article will describe how to find this data for your printer.
Disclaimer: We are not responsible for any loss of user data from use of terminal commands.
Adding a printer:
You can add a printer to your list of installed printers by filling in the following fields in the payload:
- Device URI: The device URI is found using the Terminal app on a macOS device, when in terminal enter the following line of code:
lpinfo --include-schemes dnssd -vthis will give you a list of available network printers in your local network.
- Display Name: Display Name shown to the user when selecting the printer. (e.g. Office Printer)
- Location: The location of the printer. (e.g. Office or Classroom 03)
- Model: The device Model is also found using the Terminal app on a macOS device, when in terminal enter the following line of code:
lpinfo -mthe device model will be shown after the filepath of the driver (e.g. Library/Printers/PPDs/Contents/Resources/CNPZBMF4800ZB.ppd.gz Canon MF4800 Series).
- Printer Locked: This governs if the printer needs an administrator password in order to print
- PPD Path: The path to the PPD (or PostScript Printer Description) file. Local file URLs should be prefixed with file://localhost/. A way you find the drivers for your printer is by typing the following in console:
lpinfo -mthis will provide you with a list of drivers available on your macOS (These will always have to be prefixed with file://localhost/)
In this list you can select the printer to be selected as default printer from the above configured printers
Options & Footer:
There's some additional option you can select for your printer like the ability to only show managed printers, you also have the option to automatically print a footer on your documents that include the username & date and additionally the MAC address.
Missing Drivers on your macOS:
If you're missing the drivers for your printer on your macOS device you can most likely find these drivers on Apple's page: Printer and scanner drivers for Mac.