Git Product home page Git Product logo

labello's Introduction

labello - print all your labels

Labello is a webbased frontend for Brother QL* label printers

Screenshot

Screenshot of labello

Installation

Docker

The easiest way to setup labello is via docker. A docker container is available at the Docker Hub

  1. Pull the latest version: docker pull telegnom/labello:latest
  2. Run the container: docker run -d -e 4242:4242 -v /path/to/your/font-folder:/opt/labello/fonts telegnom/labello

Configuration

There are some settings to alter the behavior and appearance of labello. In case of using docker the following environment variables can be set:

parameter default value description
LAB_PRINTER_MODEL QL-720NW Model of your printer *
LAB_PRINTER_DEVICE tcp://127.0.0.1:9100 path of your printer - either tcp:// address or path to device e.g. /dev/usb/lp0
LAB_FONT_PATH /opt/labello/fonts path where labello can find the fonts to use
LAB_SERVER_PORT 4242 Port on which the service listens
LAB_SERVER_HOST 0.0.0.0 IP on which the service listens
LAB_LOGGING 30 Log-Level: 10: debug, 20: info, 30: warning, 40: error, 50: critical
LAB_WEBSITE_HTML_TITLE labello - print all your labels HTML <title>
LAB_WEBSITE_TITLE labello main title in website
LAB_WEBSITE_SLUG print all your labels Slogan below title
LAB_WEBSITE_BOOTSTRAP_LOCAL true load bootstrap from local server (true) or from cdn (false)
LAB_LABEL_MARGIN_TOP 24 label top margin
LAB_LABEL_MARGIN_BOTTOM 24 label bottom margin
LAB_LABEL_MARGIN_LEFT 24 label left margin
LAB_LABEL_MARGIN_RIGHT 24 label right margin
LAB_LABEL_FEED_MARGIN 10 feed adjustment for precut labels - should not exceed 16
LAB_LABEL_FONT_SPACING 13 vertical spacing between text lines

* Supported devices can be found in the [corresponding section of this document](#Supported printers) (below).

Supported printers

  • QL-500
  • QL-550
  • QL-560
  • QL-570
  • QL-580N
  • QL-650TD
  • QL-700
  • QL-710W
  • QL-720NW
  • QL-800
  • QL-810W
  • QL-820NWB
  • QL-1050
  • QL-1060N

labello's People

Contributors

marudor avatar mikafinja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

labello's Issues

Allow configuration via a config in Docker

If I understand the code and documentation correctly, when run inside a Docker container the configuration file is generated from the environment.

It would be great if one could supply a config file via eg. docker config.

Label gallery

Add simple gallery that stores previously printed labels for reuse in the future.

Enhance logging

Logging is more or less random at the current state of the development. Make it more consistent.

Documentation

Write at least basic documentation how to setup and run labello.

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.