Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A package to communicate with (Zebra) label printers using EPL2

Project description

============
Zebra-0.0.5
============

Usage:

::

from zebra import zebra

z = zebra( [queue] )
Constructor with optional printer queue

z.getqueues()
Return a list containing available printer queues

z.setqueue( queue )
Set the printer queue

z.setup( direct_thermal=None, label_height=None, label_width=None )
Set up the label printer. Parameters are not set if they are None.
direct_thermal - True if using direct thermal labels
label_height - tuple (label height, label gap) in dots
label_width - in dots

z.store_graphic( name, filename )
Store a .PCX file on the label printer
name - name to be used on printer
filename - local filename

z.output( commands )
Output EPL2 commands to the printer

Note:

- On Mac and *nix, install the printer as a Raw printer, not a Zebra one.
If you are on a Linux or MacOSX machine using CUPS, you may need to set up a
printer queue using the admin panel at http://localhost:631

Project details


Release history Release notifications

This version
History Node

0.0.5

History Node

0.0.4a

History Node

0.0.3a

History Node

0.0.2a

History Node

0.0.1a

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
zebra-0.0.5.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None Apr 27, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page