Skip to main content

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

Project description

============
Zebra-0.0.4a
============

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


Download files

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

Source Distribution

zebra-0.0.4a.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file zebra-0.0.4a.tar.gz.

File metadata

  • Download URL: zebra-0.0.4a.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zebra-0.0.4a.tar.gz
Algorithm Hash digest
SHA256 3e0796780dad0d75ebdc4277d6b11093edf94b01aab866a6c26d63be02eea21e
MD5 aa25450e0440c7c4b553f52ce133f68c
BLAKE2b-256 c1c46232162ee2260a0f235435eef290e079943ff9d1e6db73da0ac74ba43b0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page