Public Repository

Last pushed: 2 days ago
Short Description
Docker image including CUPS print server and printing drivers
Full Description

Note: this image is built from https://github.com/olbat/dockerfiles/tree/master/cupsd

Overview

Docker image including CUPS print server and printing drivers (installed from the Debian packages).

Run the Cups server

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

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, whois
Docker Pull Command
Owner
olbat

Comments (0)