maxandersen / aircups

Cups print server with airprint enabled, works well with Synology
11 stars 0 forks source link
airprint cups docker synology

maxandersen/aircups

This Alpine-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. The other images out there never seemed to work right. I forked the original to use Alpine instead of Ubuntu and work on more host OS's.

Configuration

Volumes:

Variables:

Example run command:

docker run --name cups --restart unless-stopped  --net host\
  -v <your services dir>:/services \
  -v <your config dir>:/config \
  -v <your pdf spool dir>:/var/spool/cups-pdf \
  -e CUPSADMIN="<username>" \
  -e CUPSPASSWORD="<password>" \
  maxandersen/aircups:latest

Add and set up printer:

Acknowledgements

Based on work of quadportnick/docker-cups-airprint, https://github.com/chuckcharlie/cups-avahi-airprint and especially https://github.com/aadl/docker-cups-alpine which had the only working out of box cups-pdf I could find.