UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
UniPRT SDK

Remarks
Support version: Python 3.12.3

Welcome to SDK Documentation

Welcome to the SDK documentation! This guide will help you get started with using our SDK and provide links to key classes and functionalities.

Getting Started

To get started, please refer to the following key classes:

Communication:

Mgmt:

LabelMaker:

Remarks
Do not call any method or class that is not documented.

Overview

Our SDK provides a comprehensive set of tools to help you integrate our functionalities into your application. Please read our sample code, you will find a brief overview of the most important classes and how the SDK work.

  • TestMgmtCommSDk: The sample code about how to read the JSON message about printer config.
  • TestPrinterMonitor: The sample code about how to read the JSON message about printer information.
  • TestRfidMonitor: The sample code about how to keep receiving RFID message from printer.
  • TestOdvMonitor: The sample code about how to keep receiving ODV message from printer.
  • TestLabelMaker: The sample code about hoe to build the label, include TSPL and PGL.

We hope this documentation helps you get up and running quickly. If you have any questions or need further assistance, please refer to the detailed guides or contact our support team.

Importing SDK Into Visual Studio Code

  1. Download the SDK package to a local directory on your PC.
  2. Download home brew use command:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  3. Install libusb package use command:
    brew install libusb
  4. Create an Visual Studio Code Project.
  5. Add the UniPRT_python-1.0.0.0-cp312-cp312-macosx_13_0_arm64.whl into the project file.
  6. Create an environment use command:
    python -m venv ENVNAME
  7. Activate the Environment use command:
    source myenv/bin/activate
  8. install package use command:
    pip install UniPRT_python-1.0.0.0-cp312-cp312-macosx_13_0_arm64.whl
  9. Import UniPRT to your project use:
    from UniPRT.xxx.xxx import xxx

Support

For any issues or further assistance, please contact our Support Team.


Happy coding!

TSC