Repository navigation
Home
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
- 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-browsedisn'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.
| 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 |
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.
- 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-Synology-Portainer: Tested (DSM 7.4, x86_64)
- Install-Synology-Container-Manager: Expected
- Install-Docker-Compose-Linux: the image on linux/amd64 (CI) and linux/arm64 (locally) is Tested by the e2e suite; your particular distribution is Expected
- Install-Raspberry-Pi: Expected (64-bit OS, arm64 image)
- Install-Unraid: Expected
- Install-TrueNAS-SCALE: Expected
- Install-QNAP: Expected
- Install-Proxmox: Expected
- Install-macOS: Experimental
- Install-Windows: Experimental
- Networking-Host-vs-Macvlan: host networking (the default), or macvlan/ipvlan (Experimental)
- Configuration-Reference: every variable, volume and port
- Paper-Size-and-iOS: why iPhones offer the wrong paper, and how to check it
- Printer-Off-and-Job-Retention: what happens to jobs while the printer is off
- Security: the threat model, the defaults and the admin login
-
Printer-Profiles: the built-in profiles (
generic-postscript,xerox-docuprint-n17) - Create-a-Printer-Profile: add support for your printer
- Agent-Guide-Printer-Profile: instructions for AI coding agents writing a profile
- Compatibility-List: printers reported to work
- Clients: iPhone/iPad, Mac, Windows, Android, Linux, and a unicast fallback for other subnets
- Troubleshooting: symptom, cause and fix, plus diagnostic commands
- FAQ
- Migrating-from-synology-airprint
- Maintainers-Release-Gate: the checklist the maintainer runs before each release
- Website · Source code · Issues · Security policy · License (MIT)
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).
legacy-printer-airprint-relay · MIT License · Report an issue · Not affiliated with Apple, Xerox or Synology. AirPrint is a trademark of Apple Inc.