Skip to content
github-actions[bot] edited this page Dec 5, 2026 · 2 revisions

Legacy Printer AirPrint Relay

AirPrint for legacy network printers. legacy-printer-airprint-relay is a small Docker container (CUPS + Avahi) that makes an older network printer show up as an AirPrint-compatible printer on iPhone, iPad and Mac. The clients need no drivers, and nothing goes through the cloud.

Your iPhone sends the job to the relay. The relay converts it to what the printer understands (PostScript, or PCL through a CUPS driver) and passes it to the printer over raw socket/JetDirect (port 9100), LPD or IPP.

iPhone / iPad / Mac  --AirPrint (IPP + Bonjour)-->  relay container  --PostScript over port 9100-->  printer

Why use it

  • Your printer still works. Plenty of solid laser printers were built before AirPrint existed. This keeps them in use without a driver on every device.
  • It's configured by environment variables only. Every start rebuilds the queue from the environment, so you never set anything up by hand in the CUPS web UI.
  • iOS shows the paper you actually have loaded. That means no A4/A5/A6 on a Letter printer. See Paper-Size-and-iOS.
  • Jobs wait when the printer is off. They print when it comes back instead of being cancelled after 3 hours. See Printer-Off-and-Job-Retention.
  • Safe defaults. It's built for your LAN only, remote administration is off, cups-browsed isn't included, and no secrets are written to the logs. See Security.
  • It's lean and multi-arch. The image is Debian with CUPS, its filters, Ghostscript and Avahi, and no bundled driver packs. It's built for linux/amd64 and linux/arm64.

Quick links

I want to… Go to
Get it running in about ten minutes Quick-Start
Install on a Synology NAS with Portainer (Tested) Install-Synology-Portainer
Look up a setting Configuration-Reference
Fix something that doesn't work Troubleshooting
Check whether my printer works Compatibility-List
Replace znetwork/synology-airprint Migrating-from-synology-airprint

Status labels

The wiki uses three labels and never claims more than has been checked:

  • Tested: for printers and client devices (iPhone, iPad, Mac, Windows, Android), run on real hardware; for software and platform behaviour, exercised by the automated end-to-end suite or on real hardware.
  • Expected: should work by design but hasn't been validated yet. Reports are welcome.
  • Experimental: has known caveats, needs extra setup, or hasn't been validated.

Page map

Get started

  • Quick-Start: the shortest path from zero to a test print
  • How-It-Works: architecture, the startup sequence, and what gets advertised over Bonjour
  • FAQ

Install

Configure

Printers

Use

  • Clients: iPhone/iPad, Mac, Windows, Android, Linux, and a unicast fallback for other subnets

Help

Project

Note

This project isn't affiliated with Apple, Xerox or Synology. AirPrint is a trademark of Apple Inc., Xerox and DocuPrint are trademarks of Xerox Corporation, and Synology is a trademark of Synology Inc. The relay is described as "AirPrint-compatible" because it speaks the same open protocols (IPP and DNS-SD/Bonjour).

Clone this wiki locally