/docker-debian-cups

Docker image including Cups and Printing drivers

GNU General Public License v3.0GPL-3.0

Cups image

Overview

Docker image including Cups and Printing drivers (installed from the Debian package).

Run the Cups server

docker run -d -p 631:631 -v /var/run/dbus:/var/run/dbus --name cups-server --net=host olbat/docker-debian-cups

Note: The admin user/password for the Cups server is print/print

Add printers to the Cups server

  1. Connect to the Cups server at http://127.0.0.1:631
  2. Add printers: Administration > Printers > Add Printer
  3. (The user/password is print/print)

Configure Cups client on your machine

  1. Install the cups-client package
  2. Edit the /etc/cups/client.conf, set ServerName to 127.0.0.1:631
  3. Test the connectivity with the Cups server using lpstat -r
  4. Test that printers are detected using lpstat -v
  5. The application on your machine should detect the printers !

Included package

  • cups, cups-client
  • printer-driver-all
  • hpijs-ppds, hp-ppd
  • sudo, locales, whois