Code Monkey home page Code Monkey logo

cups-docker's Introduction

Current version

CUPS 2.2.1

What is CUPS?

CUPS is an open source printing system that supports IPP along with other protocols. More information can be found at cups.org

About this image

This image is based off ticosax/cups-in-docker with a few specific tweaks:

  • Debian testing is used as the base image. Most of the cups updates are put into testing fairly quickly so no need for unstable. This may change in future if versions start lagging behind.
  • Adds USB backend for Brother printer.

Running this image

Way 1 : docker run

docker run -e CUPS_USER_ADMIN=admin \
-e CUPS_USER_PASSWORD=secr3t \
-e PRINTER_MODEL=HL-L2300D
-p 631:631/tcp \
-v /path/to/cupsd.conf:/etc/cups/cupsd.conf \
--device=/dev/bus/usb/xxx/yyy \
monkeydri/cups-docker:latest

Way 2 : docker compose

See provided docker-compose.yml file. Don't forget to set the PRINTER_ADDRESS var and change the PRINTER_MODEL value according to your model of Brother printer.

Way 3 : startup script start_cups_docker.sh

The provided startup script start_cups_docker.sh automatically gets the printer address /dev/bus/usb/xxx/yyy by looking at any Brother printer matching the provided VID (USB vendor ID) and PID (USB product ID). Don't forget to change the PRINTER_MODEL, PRINTER_VID and PRINTER_PID values according to your model of Brother printer.

To get the information about the correct VID and PID, one could check the available lists online (ex : http://www.linux-usb.org/usb.ids, https://usb-ids.gowdy.us/read/UD/04f9 or http://www.the-sz.com/products/usbid/). Also you can use the provided script identify_brother_printer.sh which output the VID and PID for any connected Brother USB printer.

Access the CUPS server at http://127.0.0.1:631. To access it remotely at http://server-ip:631, add the line DefaultEncryption IfRequested to cupsd.conf.

cups-docker's People

Contributors

eby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.