Skip to content

SDK language overview

PSDK offers SDKs in several programming languages to support development across platforms.

🎯 Dart

Cross-platform Flutter applications for iOS, Android, Windows, and macOS

Read the guide →

🐹 Go

Cross-platform Go development for server and desktop applications

Read the guide →

☕ Java

Native Android applications with Bluetooth Classic connectivity

Read the guide →

SDKAndroidiOSWindowsmacOSLinuxMini ProgramsHarmonyOS
Dart✅✅✅✅✅❌❌
Go✅✅✅✅✅❌❌
Java✅❌❌❌❌❌❌
JavaScript❌❌❌❌❌✅❌
OpenHarmony❌❌❌❌❌❌✅
Objective-C❌✅❌❌❌❌❌
Rust✅✅✅✅✅❌❌
Swift❌✅❌✅❌❌❌
SDKBluetooth ClassicBLEWi-FiUSB
Dart✅ (Android)✅✅✅
Go✅✅✅✅
Java✅❌❌❌
JavaScript❌✅❌❌
OpenHarmony✅✅✅✅
Objective-C❌✅❌❌
Rust✅✅✅✅
Swift❌✅❌❌

All SDKs support the following printer command languages:

CommandPurposeDocumentation
CPCLPortable label printingView →
ESCThermal receipt printingView →
ESC/POSPOS system printingView →
TSPLLabel and barcode printingView →
  • Cross-platform applications → Use Dart SDK (Flutter)

    • One codebase for iOS, Android, and desktop platforms
    • The most complete feature set, with multiple connection options
  • Native Android → Use Java SDK

    • Bluetooth Classic for more stable data transfer
    • Native performance and straightforward integration
  • Native iOS → Use Objective-C or Swift

    • Bluetooth Low Energy (BLE) connectivity
    • The Swift SDK is under development; use the Objective-C bridge in the meantime
  • HarmonyOS NEXT / OpenHarmony → Use OpenHarmony SDK
    • Multiple connection options: Bluetooth Classic, BLE, Wi-Fi, and USB
    • Native HarmonyOS development with ArkTS/ETS
    • Full CPCL, TSPL, and ESC command support
  • Go → Use Go SDK

    • High concurrency for cloud printing services
    • Cross-platform support and simple deployment
  • Rust → Use Rust SDK

    • Memory safety and zero-cost abstractions
    • High performance for demanding workloads
FeatureDartGoJavaJavaScriptOpenHarmonyObjective-CRustSwift
Learning curveMediumLowLowLowMediumMediumHighMedium
Cross-platform✅✅❌Mini Programs only❌❌✅Partial
PerformanceHighHighMediumLowHighHighVery highHigh
Memory safety✅Partial✅❌✅Partial✅✅
Documentation coverageHighHighHighMediumHighHighMediumMedium
Use caseMobile/DesktopServer/DesktopAndroidMini ProgramsHarmonyOSiOSSystem-level/High performanceiOS/macOS

Complete sample code for all SDKs: