AirPrint MDM payload settings for Apple devices
You can prepopulate the list of available printers for a device with the AirPrint printers of your choosing on iPhone and iPad devices enrolled in a mobile device management (MDM) solution. Use the AirPrint payload to specify which AirPrint printers your iPhone and iPad devices can print to.
OS and channel
Supported enrollment types
Shared iPad device
The IP address or fully qualified domain name (FQDN) of the printer.
The port used to print to the printer.
The resource path of the printer.
You can choose to use TLS to encrypt the data when sent to the printer.
Apple Configurator 2
You add AirPrint printer information to the AirPrint payload so that users of iPhone and iPad devices can print to known AirPrint printers. The Mac with Apple Configurator 2 installed may not be on the same subnet as the printers you want your users to use. Here’s how you locate the IP address and resource path for the printers you want to add to the AirPrint payload.
To add AirPrint printers, click Add , decide whether you want to use TLS, and enter the IP address or fully qualified domain name (FQDN), along with the port and resource path. Then click OK. If you don’t know a printer’s IP address and resource path, do the following:
Connect the computer with Apple Configurator 2 to the local network where the AirPrint printer is located.
Open Terminal (located in the /Applications/Utilities/ folder).
In Terminal, enter
ippfind, then press Return.
This command shows printer information such as the following:
In this example,
myprinter.localis the name of a printer and
/ipp/port1is its resource path.
Enter the following command:
pingmyprinter.local (replace myprinter.local with the name of a printer).
After you run this command, press Control-C to stop it from continually running. The command repeats lines similar to:
64 bytes from 10.50.25.21:…
In the above example,
10.50.25.21is the printer’s IP address.
In Apple Configurator 2, enter the printer’s IP address and resource path.
To add printers, click Add Payload . The “Configure printer” pop-up menu lists AirPrint-compatible printers that your computer finds using Bonjour. When you choose a printer found using Bonjour, you can choose which printer IP address to use, which then automatically lists the printer’s resource path. You can also manually add printers whose IP address and resource path you know. If you don’t know a printer’s IP address or fully qualified domain name (FQDN), and its resource path, do the following:
Connect a Mac to the local network (subnet) where the AirPrint printers are located.
Open Terminal (located in /Applications/Utilities/), enter
ippfind, then press Return.
Note the printer information returned by the command. For example, you may see something like:
The first section is the name of your printer and the last section is the resource path.
Enter the following command and the name of your printer to get the IP address:
Note the IP address information returned by the command. You may see something like:
PING myprinter.local (10.50.25.21)
Now you can enter the IP address and resource path in the AirPrint payload settings. For example, the IP address is 10.50.25.21 and the resource path is /ipp/port1.