🎯 Dart
Cross-platform Flutter applications for iOS, Android, Windows, and macOS
PSDK offers SDKs in several programming languages to support development across platforms.
🎯 Dart
Cross-platform Flutter applications for iOS, Android, Windows, and macOS
🐹 Go
Cross-platform Go development for server and desktop applications
☕ Java
Native Android applications with Bluetooth Classic connectivity
📦 JavaScript
WeChat Mini Program, UniApp, and Taro development
🔷 OpenHarmony
HarmonyOS NEXT / OpenHarmony application development
🍎 Objective-C
Native iOS applications with BLE connectivity
🦀 Rust
High-performance, type-safe development in Rust
🦅 Swift
Modern iOS/macOS application development
| SDK | Android | iOS | Windows | macOS | Linux | Mini Programs | HarmonyOS |
|---|---|---|---|---|---|---|---|
| Dart | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
| Go | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
| Java | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| JavaScript | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ |
| OpenHarmony | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ |
| Objective-C | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Rust | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
| Swift | ❌ | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ |
| SDK | Bluetooth Classic | BLE | Wi-Fi | USB |
|---|---|---|---|---|
| Dart | ✅ (Android) | ✅ | ✅ | ✅ |
| Go | ✅ | ✅ | ✅ | ✅ |
| Java | ✅ | ❌ | ❌ | ❌ |
| JavaScript | ❌ | ✅ | ❌ | ❌ |
| OpenHarmony | ✅ | ✅ | ✅ | ✅ |
| Objective-C | ❌ | ✅ | ❌ | ❌ |
| Rust | ✅ | ✅ | ✅ | ✅ |
| Swift | ❌ | ✅ | ❌ | ❌ |
All SDKs support the following printer command languages:
| Command | Purpose | Documentation |
|---|---|---|
| CPCL | Portable label printing | View → |
| ESC | Thermal receipt printing | View → |
| ESC/POS | POS system printing | View → |
| TSPL | Label and barcode printing | View → |
Cross-platform applications → Use Dart SDK (Flutter)
Native Android → Use Java SDK
Native iOS → Use Objective-C or Swift
Go → Use Go SDK
Rust → Use Rust SDK
| Feature | Dart | Go | Java | JavaScript | OpenHarmony | Objective-C | Rust | Swift |
|---|---|---|---|---|---|---|---|---|
| Learning curve | Medium | Low | Low | Low | Medium | Medium | High | Medium |
| Cross-platform | ✅ | ✅ | ❌ | Mini Programs only | ❌ | ❌ | ✅ | Partial |
| Performance | High | High | Medium | Low | High | High | Very high | High |
| Memory safety | ✅ | Partial | ✅ | ❌ | ✅ | Partial | ✅ | ✅ |
| Documentation coverage | High | High | High | Medium | High | High | Medium | Medium |
| Use case | Mobile/Desktop | Server/Desktop | Android | Mini Programs | HarmonyOS | iOS | System-level/High performance | iOS/macOS |
Complete sample code for all SDKs: