Giter Site home page Giter Site logo

label-printer's Introduction

Label Printing with Zebra

This Python project demonstrates label generation and printing using Zebra printers and the ZPL library.

Overview

The project consists of a LabelPrinter class that provides methods to add text, barcodes (QR code, matrix code, and standard barcode), and preview or print labels on Zebra printers.

Features

  • Text Printing: Add customizable text to labels with specified coordinates, font sizes, and styles.
  • Barcode Printing: Generate QR codes, matrix codes, and standard barcodes with customization options.
  • Preview and Print: Preview labels or send them for printing to a Zebra printer.

Prerequisites

  • Python 3.x
  • ZPL library (install using pip install zpl)
  • Zebra library (install using pip install zebra-py)

Usage

  1. Clone the repository:

    git clone https://github.com/Flabelatus/label-printer.git
  2. Install the required libraries:

    pip install zpl zebra-py
  3. Modify the parameters with your label specifications.

  4. Run the example script:

    python example.py
  5. Zebra printer usage

    Make sure the label printer is connected. The printer will print the label. Note: if the label is printed quickly after startup of the printer, it might land in its queue, running the code again once the power LED on the printer is green will print the whole queue

label-printer's People

Contributors

flabelatus 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.