xirixiz/synology_airprint docker-image
This Ubuntu-based Docker image runs a CUPS instance that is meant as an AirPrint relay for printers that are already on the network but not AirPrint capable.
Included drivers HP, Samsung, Canon, Xerox, etc.
docker run --name airprint --restart unless-stopped --net host xirixiz/synology_airprint:latest
sudo synosystemctl stop cupsdsudo synosystemctl stop cups-lpdsudo synosystemctl stop cups-service-handlersudo synosystemctl disable cupsdsudo synosystemctl disable cups-lpdsudo synosystemctl disable cups-service-handler
- CUPS will be configurable at http://[host ip]:631 using the
admin/admin. - Make sure you select
Share This Printerwhen configuring the printer in CUPS. - After configuring your printer, you need to close the web browser for at least 60 seconds. CUPS will not write the config files until it detects the connection is closed for as long as a minute.
sudo synosystemctl start cupsdsudo synosystemctl start cups-lpdsudo synosystemctl start cups-service-handlersudo synosystemctl enable cupsdsudo synosystemctl enable cups-lpdsudo synosystemctl enable cups-service-handler
/config: where the persistent printer configs will be stored/services: where the Avahi service files will be generated
CUPSADMIN: the CUPS admin user you want created - default isadminif unspecifiedCUPSPASSWORD: the password for the CUPS admin user - default isadminusername if unspecified
- Must be run on host network. This is required to support multicasting which is needed for Airprint.
docker run --name cups --restart unless-stopped --net host\
-v <your services dir>:/services \
-v <your config dir>:/config \
-e CUPSADMIN="<username>" \
-e CUPSPASSWORD="<password>" \
xirixiz/synology-airprint:latest