GithubHelp home page GithubHelp logo

pfirpfel / docker-printnode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drewzh/docker-printnode

0.0 1.0 0.0 3 KB

Docker image for running PrintNode with inbuilt CUPS

Shell 21.22% Dockerfile 78.78%

docker-printnode's Introduction

Installation

Make sure to create a named volume to store your CUPS configuration. Pre-defining an empty named volume with for e.g docker create volume printnode will allow /etc/cups directory to be copied over into the new volume. Failure to provide a working CUPS configuration directory will result in a broken container.

docker run \
-e PRINT_CLIENT_EMAIL='[email protected]' \
-e PRINT_CLIENT_PASSWORD='123abc' \
-e CUPS_USER='admin' \
-e CUPS_PASSWORD='123abc' \
--network='host' \
--volume printnode:/etc/cups \
drewzh/printnode

Environment Variables

  • CUPS_USER - The username to secure CUPS
  • CUPS_PASSWORD - The password to secure CUPS
  • PRINT_CLIENT_EMAIL - Email you use to login to PrintNode
  • PRINT_CLIENT_PASSWORD - Password you use to login to PrintNode

Adding Printers (IPP)

To add printers, you can use IPP (which negates the need for drivers) by attaching to the running container and running something like the following:

lpadmin -p LabelPrinter -E -v ipp://192.168.86.44/ipp -m everywhere
lpadmin -p LaserPrinter -E -v ipp://192.168.86.54/ipp -m everywhere

docker-printnode's People

Contributors

drewzh avatar

Watchers

 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.