Skip to main content

Controll a datamax o'neil labelprinter using DPL

Project description

Datamax python adapter

This piece of code allows you to control a datamax-o'neil label printer. You do not need knowledge of the datamax programming language for simple tasks, this module takes care of it.

The module was developed and tested on python 3.6 using a datamax o'neil e-class mark III printer. It still has very limited functionality allowing you to print text labels and QR-codes. In case you need any other features feel free to contribute.


$ pip install datamax-printer

or from source:

$ python install

Getting started

from datamax_printer import DPLPrinter

printer = DPLPrinter('<ip of the printer>')
printer.set_qr_code(285, 120, '', 9)
printer.set_label(300, 60, '', 9, 10)

Please check the file in our GitHub repository for a working example.


In case you need more information about the datamax programming language, please check the official DPL documentation. It also contains information about the different fonts available (see Appendix C).

Project details

Download files

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

Files for datamax-printer, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size datamax_printer-0.1.1-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size datamax_printer-0.1.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page