Skip to main content

Trimble Zebra Printing was built to simplify and standardize ZPL printing in the Trimble Facilities. This includes features, such as DPI scaling, to improve printing automation. Upscaling DPI results in a loss of quality. Matching DPIs or downscaling is recommended.

Reason this release was yanked:

Added set_queue()

Project description

Trimble Zebra Printing

Trimble Zebra Printing was built to simplify and standardize ZPL printing in the Trimble Facilities. This includes features, such as DPI scaling, to improve printing automation. Upscaling DPI results in a loss of quality. Matching DPIs or downscaling is recommended.

class Zebra

Class To Communicate & Print With (Zebra) Label Printers.

def print_label(self, commands, queue = None):

Print Label Using ZPL Commands.

:param commands: ZPL command (string)

:param queue: printer queue (string) (optional)

def get_queues(self):

Get Printer Queues.

:return: printer queues (list)

def get_printer_dpi(self, queue = None):

Get Printer DPI.

:param queue: printer queue (string) (optional)

:return: printer DPI (int)

def get_label_dpi(self, commands):

Get Label DPI.

:param commands: ZPL command (string)

:return: label DPI (int)

def setup(self,label_height, label_width, direct_thermal = None):

Setup Printer Parameters Manually.

:param label_height: tuple (label height, label gap) (in dots)

:param label_width: label width (in dots)

:param direct_thermal: True if using direct thermal labels (bool) (optional)

def autosense(self):

Autosense Label Parameters.

def reset(self):

Reset Printer.

def reset_default(self):

Reset Printer to Factory Default.

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

TrimbleZebraPrinting-1.0.9.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

TrimbleZebraPrinting-1.0.9-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file TrimbleZebraPrinting-1.0.9.tar.gz.

File metadata

  • Download URL: TrimbleZebraPrinting-1.0.9.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for TrimbleZebraPrinting-1.0.9.tar.gz
Algorithm Hash digest
SHA256 fa714482ef7e5f2a6fc9ac57e0b7be2ac89a541f2ed9c8082579016b7e4f68e3
MD5 abf27397d5ad01ebd31dfc2fbf8402d5
BLAKE2b-256 c81db1e494c1c449d19f1c13df71e9648559e1e38e41177cbd72bb95b7ce3ca7

See more details on using hashes here.

File details

Details for the file TrimbleZebraPrinting-1.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for TrimbleZebraPrinting-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c363b535e5b5d1c390cb72df9bcf8adc27a6f4ad97dd24ced831eaebdb16fd50
MD5 653c7d0b67e9167998712b4b5b0ef561
BLAKE2b-256 175b0b9a4b19d546d85a0ad435f4f2aa2bb51bef0887b73d56abcacb2f3f497b

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