Docker image including Cups and Printing drivers (installed from the Debian package).
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
- Connect to the Cups server at http://127.0.0.1:631
- Add printers: Administration > Printers > Add Printer
- (The user/password is
print
/print
)
- Install the
cups-client
package - Edit the
/etc/cups/client.conf
, setServerName
to127.0.0.1:631
- Test the connectivity with the Cups server using
lpstat -r
- Test that printers are detected using
lpstat -v
- The application on your machine should detect the printers !
- cups, cups-client
- printer-driver-all
- hpijs-ppds, hp-ppd
- sudo, locales, whois