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.

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(commands, label_width = None, label_length = None, queue = None):

Print Label Using ZPL Commands.

:param commands: ZPL command (string)

:param label_width: label width (in inches) (required for printer scaling) (optional)

:param label_length: label length (in inches) (required for printer scaling) (optional)

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

def set_queue(queue):

Set Printer Queue.

:param queue: printer queue (string)

def get_queues():

Get Printer Queues.

:return: printer queues (list)

def get_printer_dpi(queue = None):

Get Printer DPI.

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

:return: printer DPI (int)

def get_label_dpi(commands, label_width, label_length):

Get Label DPI.

:param commands: ZPL command (string)

:param label_width: label width (in inches)

:param label_length: label length (in inches)

:return: label DPI (int)

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

Setup Printer Parameters Manually.

:param label_width: label width (in dots)

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

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

def autosense():

Autosense Label Parameters.

def reset():

Reset Printer.

def reset_default():

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.2.tar.gz (10.1 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.2-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for TrimbleZebraPrinting-1.2.tar.gz
Algorithm Hash digest
SHA256 69f5034882ffafab2308d3eba07816e87c22c54090844923d770046ad33330e2
MD5 5846f69930d09d8260fd082431b67ab5
BLAKE2b-256 d401170fb334c4079ebd9cbd675b72d924cbc6e40347b064cae1ec2abadaf096

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for TrimbleZebraPrinting-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea7c2930a62b7125acb6e14ea0992eb791b08f8e1700a09d5521673485d0e98c
MD5 51ca876ba700c537a4fc6b9ed98809a4
BLAKE2b-256 29ef50f052371ef824f314505935ff4374506d24c22c05b73bb211662f58aa09

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