Overview
The Apple AirPrint Policy does two things:
Part | What it does | Platforms |
Printers | Adds AirPrint printers to users' printer lists, so they don't have to find them | Mac, iPhone, iPad |
Restrictions | Turns AirPrint off, or controls how it finds printers and stores passwords | Supervised iPhones and iPads only |
You can use either part, or both. If you only set restrictions, Printers can stay empty.
Requirements
Item | Details |
Platforms | macOS 10.10, iOS 7, iPadOS 7, or later. Some settings need iOS or iPadOS 11. See the settings tables. |
Device ownership | Company-owned and BYOD. On BYOD devices, only Printers applies. |
Supervision | Required for the restrictions |
Printers
Each printer you add appears in users' printer lists.
Field | What to enter | Required | Platforms |
IP Address | The printer's IP address or hostname, such as | Yes | Mac, iPhone, iPad |
Resource Path | The printer's resource path, such as | Yes | Mac, iPhone, iPad |
Port | The port the printer listens on, from 0 to 65535 | No | iPhone and iPad, iOS and iPadOS 11 or later |
Force TLS | When on, the connection to the printer is encrypted with TLS | No (off by default) | iPhone and iPad, iOS and iPadOS 11 or later |
Port and Force TLS are ignored on Macs.
Find a printer's resource path
The resource path is the rp value the printer advertises on the network. On a Mac on the same network as the printer:
List the AirPrint printers nearby:
dns-sd -B _ipps._tcp
Press Control-C when the printer appears. Note its name, in the Instance Name column.
Look up the printer, using its name:
dns-sd -L "Printer Name" _ipps._tcp
In the output, find
rp=. The value after it is the resource path, such asrp=ipp/print. The output also shows the printer's hostname and port.
If nothing appears, try _ipp._tcp instead of _ipps._tcp. Some printers advertise only the unencrypted service.
Common resource paths:
ipp/printprinters/Xerox_Phaser_7600Epson_IPP_Printer
Restrictions
These settings apply only to supervised iPhones and iPads with iOS or iPadOS 11 or later. They're ignored on Macs, unsupervised devices, and User Enrollment.
Setting | What it does | Default |
Allow AirPrint | When off, users can't print with AirPrint | On |
Allow Storing AirPrint Credentials in Keychain | When off, printer user names and passwords aren't saved in Keychain, so users enter them each time | On |
Allow AirPrint Printer Discovery Using iBeacons | When off, devices don't find printers through Bluetooth beacons. This stops fake beacons from steering print jobs, and the documents in them, to the wrong place. | On |
Require Trusted Certificates for AirPrint | When on, devices print only to printers with a trusted TLS certificate | Off |
Before you start
Collect each printer's IP address or hostname, and resource path. See Find a printer's resource path.
Use hostnames where you can. They keep working if a printer's IP address changes.
For Require Trusted Certificates, check that your printers have certificates your devices trust. If they don't, devices stop printing to them.
Check supervision, if you'll use the restrictions.
Create the policy
In Swif, go to Device Management > Policies, then select Create new policy > Configure a Policy.
Select Apple AirPrint Policy.
Enter a clear name, such as
AirPrint – Head Office.Under Printers, add each printer's IP Address and Resource Path. For iPhones and iPads, add Port and Force TLS if needed.
Set the restrictions you need.
Save the policy, and assign it to a device group.
Example configurations
Example 1: Office printers for everyone
Setting | Value |
Printers |
|
Adds the printer to users' printer lists on Macs, iPhones, and iPads, including BYOD devices.
Example 2: Secure printing on company iPads
Setting | Value |
Printers |
|
Allow AirPrint Printer Discovery Using iBeacons | Off |
Require Trusted Certificates for AirPrint | On |
Encrypted printing, only to printers with trusted certificates, without Bluetooth beacon discovery.
Example 3: No printing on kiosk iPads
Setting | Value |
Allow AirPrint | Off |
Users can't print from supervised kiosk iPads.
Verify the policy
Mac: open a document, choose File > Print, and check that the printer appears in the Printer menu.
iPhone or iPad: open a document, tap Share, then Print, then Printer, and check that the printer appears. If Allow AirPrint is off, Print doesn't appear.
In Swif, open the device, and confirm that the policy shows as applied.
Troubleshooting
The printer doesn't appear in the printer list
Check the IP Address and Resource Path. The resource path must match the printer's
rpvalue exactly.Check that the device can reach the printer on the network.
The printer appears, but printing fails
Check the resource path again.
On iPhone and iPad, check Port and Force TLS. If Force TLS is on, the printer must support encrypted printing.
If Require Trusted Certificates for AirPrint is on, check that the printer's certificate is trusted on the device.
A restriction doesn't apply
The restrictions work only on supervised iPhones and iPads with iOS or iPadOS 11 or later. They don't apply to Macs, unsupervised devices, or User Enrollment.
Port or Force TLS doesn't work on a Mac
This is expected. Both are supported on iPhone and iPad only.