Skip to content

PSDK Introduction

A cross-platform thermal printer SDK that provides a unified printing solution for mobile and desktop applications.

PSDK (Printer SDK) is a toolkit designed for thermal printers. It offers straightforward APIs, supports multiple printer command protocols, and uses consistent interface names across platforms.

🎯 Cross-platform

Supports iOS, Android, Windows, macOS, WeChat Mini Programs, UniApp, and more

📦 Multiple protocols

Supports common printer languages including CPCL, ESC, ESC/POS, and TSPL

🔌 Multiple connections

Connect over Bluetooth Classic, BLE, Wi-Fi, or USB

🛠️ Easy integration

SDKs for Dart, Java, JavaScript, Objective-C, and Swift

PlatformBluetooth ClassicBLEWi-FiUSB
Android✅✅✅✅
iOS❌✅✅❌
Windows✅✅✅✅
macOS❌✅✅❌
WeChat Mini Programs❌✅❌❌
Command languageUse caseFeatures
CPCLLabel printingText-based, easy to understand
ESCReceipt printingBinary commands, rich functionality
ESC/POSReceipt printingIndustry standard, good compatibility
TSPLLabel printingClear parameters, easy to debug

Choose the SDK that matches your project’s technology stack:

  • Dart - Flutter application development
  • Java - Native Android development
  • JavaScript - Mini Program and H5 development
  • Objective-C - Native iOS development
  • Swift - Modern iOS/macOS development

Choose the command protocol supported by your printer model.

See the integration guides and sample code for each SDK language.