@@ -13,16 +13,73 @@ npm install react-native-printer-imin
1313``` js
1414import PrinterImin from ' react-native-printer-imin' ;
1515
16- // ...
17- PrinterImin .initPrinter ();
16+ // Initialize printer
17+ await PrinterImin .initPrinter ();
1818
19- PrinterImin . getPrinterStatus (). then (( info ) => {
20- console . log (info );
21- } );
19+ // Check printer status
20+ const status = await PrinterImin . getPrinterStatus ( );
21+ console . log (status );
2222
23- PrinterImin .printText (' hello world' );
23+ // Print text
24+ await PrinterImin .printText (' Hello World' );
2425```
2526
27+ ## Documentation
28+
29+ 📚 ** Complete documentation is available in multiple languages:**
30+
31+ ### 🇨🇳 中文文档 (Chinese Documentation)
32+
33+ | Document | Description |
34+ | ----------| -------------|
35+ | [ 📖 文档中心] ( ./docs/README.md ) | 主要文档中心 |
36+ | [ 🚀 快速开始] ( ./docs/quick-start.md ) | 5分钟快速上手 |
37+ | [ ⚙️ 安装指南] ( ./docs/installation-guide.md ) | 详细安装配置说明 |
38+ | [ 📋 API参考] ( ./docs/api-reference.md ) | 完整API文档 |
39+ | [ 👨💻 开发者指南] ( ./docs/developer-guide.md ) | 深入开发指导 |
40+ | [ 💡 使用示例] ( ./docs/examples.md ) | 实际应用场景示例 |
41+ | [ 🔄 迁移指南] ( ./docs/migration-guide.md ) | 版本升级指导 |
42+ | [ ❓ 常见问题] ( ./docs/faq.md ) | 常见问题解答 |
43+
44+ ### 🇺🇸 English Documentation
45+
46+ | Document | Description |
47+ | ----------| -------------|
48+ | [ 📖 Documentation Center] ( ./docs/en/README.md ) | Main documentation hub |
49+ | [ 🚀 Quick Start] ( ./docs/en/quick-start.md ) | Get started in 5 minutes |
50+ | [ ⚙️ Installation Guide] ( ./docs/en/installation-guide.md ) | Detailed setup instructions |
51+ | [ 📋 API Reference] ( ./docs/en/api-reference.md ) | Complete API documentation |
52+ | [ 👨💻 Developer Guide] ( ./docs/en/developer-guide.md ) | Advanced development guide |
53+ | [ ❓ FAQ] ( ./docs/en/faq.md ) | Frequently asked questions |
54+
55+ ### Quick Links
56+
57+ - ** Example App** : [ example/] ( ./example/ )
58+ - ** GitHub Issues** : [ Report Issues] ( https://github.com/iminsoftware/react-native-printer-imin/issues )
59+
60+ ## Features
61+
62+ - ✅ ** Text Printing** - Multiple fonts, styles, and alignments
63+ - ✅ ** Image Printing** - URL and local images with size control
64+ - ✅ ** QR Code Printing** - Customizable size, error correction, and alignment
65+ - ✅ ** Barcode Printing** - Multiple barcode formats supported
66+ - ✅ ** Table Printing** - Flexible column layouts
67+ - ✅ ** Label Printing** - SDK 2.0 exclusive feature
68+ - ✅ ** Device Control** - Paper cutting, cash drawer, status monitoring
69+
70+ ## Supported Devices
71+
72+ ### Handheld Finance Series
73+ - M2-202, M2-203, M2 Pro
74+ - Swift 1, Swift 2, Swift 2 Pro, Swift 2 Ultra, Swift 1 Pro
75+
76+ ### Tablet Terminal Series
77+ - M2 Max, D1, D1 Pro
78+ - Falcon 1, Swan 2, Falcon 2, Falcon 2 Pro, Falcon 1 Pro, Swan 2 Pro
79+
80+ ### Desktop POS Equipment
81+ - D4, Swan 2, Falcon 2
82+
2683## Contributing
2784
2885See the [ contributing guide] ( CONTRIBUTING.md ) to learn how to contribute to the repository and the development workflow.
0 commit comments