Fork from quadportnick/docker-cups-airprint and chuckcharlie/docker-cups-airprint
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 znetwork/synology-airprint:latest
sudo synosystemctl stop cupsd
sudo synosystemctl stop cups-lpd
sudo synosystemctl stop cups-service-handler
sudo synosystemctl disable cupsd
sudo synosystemctl disable cups-lpd
sudo synosystemctl disable cups-service-handler
Share This Printer
when configuring the printer in CUPS.sudo synosystemctl start cupsd
sudo synosystemctl start cups-lpd
sudo synosystemctl start cups-service-handler
sudo synosystemctl anable cupsd
sudo synosystemctl anable cups-lpd
sudo synosystemctl anable cups-service-handler
/config
: where the persistent printer configs will be stored/services
: where the Avahi service files will be generatedCUPSADMIN
: the CUPS admin user you want created - default is admin
if unspecifiedCUPSPASSWORD
: the password for the CUPS admin user - default is admin
username if unspecifieddocker run --name cups --restart unless-stopped --net host\
-v <your services dir>:/services \
-v <your config dir>:/config \
-e CUPSADMIN="<username>" \
-e CUPSPASSWORD="<password>" \
znetwork/cups-avahi-airprint:latest