Sign inSign up

igormath/cups-airprint

By igormath

•Updated over 3 years ago

Alpine-based (arm) Docker image for CUPS instance as an AirPrint relay with EPSON drivers

Image
2

1.7K

igormath/cups-airprint repository overview

⁠CUPS for EPSON Printers

This Alpine-based Docker image runs a CUPS instance that is meant as an AirPrint relay for EPSON printers that are already on the network but not AirPrint capable.

This image was build using arm64/v8 processor and forked from chuckcharlie/docker-cups-airprint⁠

⁠Configuration

⁠Docker Compose:
version: '3.5'
services:
  cups:
    container_name: cups-airprint
    image: igormath/cups-airprint:latest
    restart: always
    network_mode: host
    environment:
      CUPSADMIN: cups
      CUPSPASSWORD: cups
    volumes:
      - data:/services
      - data:/config
volumes:
  data:
    external: true
⁠Volumes:
  • /config: where the persistent printer configs will be stored
  • /services: where the Avahi service files will be generated
⁠Variables:
  • CUPSADMIN: the CUPS admin user you want created - default is CUPSADMIN if unspecified
  • CUPSPASSWORD: the password for the CUPS admin user - default is admin username if unspecified
⁠Ports/Network:
  • Must be run on host network. This is required to support multicasting which is needed for Airprint.
⁠Example run command:
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>" \
  igormath/cups-airprint:latest

⁠Add and set up printer:

  • CUPS will be configurable at http://[host ip]:631 using the CUPSADMIN/CUPSPASSWORD.
  • Make sure you select Share This Printer when 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.

Tag summary

Content type

Image

Digest

sha256:cf541a96e…

Size

253.7 MB

Last updated

over 3 years ago

docker pull igormath/cups-airprint