Skip to main content

Apple AirPrint Policy

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 192.168.1.50 or printer.example.com

Yes

Mac, iPhone, iPad

Resource Path

The printer's resource path, such as ipp/print or printers/Canon_MG5300_series. See below.

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:

  1. 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.

  2. 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 as rp=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/print

  • printers/Xerox_Phaser_7600

  • Epson_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

  1. Collect each printer's IP address or hostname, and resource path. See Find a printer's resource path.

  2. Use hostnames where you can. They keep working if a printer's IP address changes.

  3. For Require Trusted Certificates, check that your printers have certificates your devices trust. If they don't, devices stop printing to them.

  4. Check supervision, if you'll use the restrictions.


Create the policy

  1. In Swif, go to Device Management > Policies, then select Create new policy > Configure a Policy.

  2. Select Apple AirPrint Policy.

  3. Enter a clear name, such as AirPrint – Head Office.

  4. Under Printers, add each printer's IP Address and Resource Path. For iPhones and iPads, add Port and Force TLS if needed.

  5. Set the restrictions you need.

  6. Save the policy, and assign it to a device group.


Example configurations

Example 1: Office printers for everyone

Setting

Value

Printers

printer-floor2.example.com, resource path ipp/print

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

printer-floor2.example.com, resource path ipp/print, Force TLS on

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 rp value 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.


Related resources

Did this answer your question?