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 To Communicate & Print With (Zebra) Label Printers.
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)
Set Printer Queue.
:param queue: printer queue (string)
Get Printer Queues.
:return: printer queues (list)
Get Printer DPI.
:param queue: printer queue (string) (optional)
:return: printer DPI (int)
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)
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)
Autosense Label Parameters.
Reset Printer.
Reset Printer to Factory Default.