tauri-plugin-thermal-printer 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist-js/index.d.ts +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -582,7 +582,8 @@ Prints a barcode.
|
|
|
582
582
|
"barcode_type": "CODE128",
|
|
583
583
|
"width": 2,
|
|
584
584
|
"height": 100,
|
|
585
|
-
"text_position": "below"
|
|
585
|
+
"text_position": "below",
|
|
586
|
+
"align": "center"
|
|
586
587
|
}
|
|
587
588
|
}
|
|
588
589
|
```
|
|
@@ -592,6 +593,7 @@ Prints a barcode.
|
|
|
592
593
|
- `width` (number, required): Module width
|
|
593
594
|
- `height` (number, required): Height in dots
|
|
594
595
|
- `text_position` (string, required): Text position ("not_printed", "above", "below", "both")
|
|
596
|
+
- `align` (string, optional): Horizontal alignment ("left", "center", "right") (default: current global alignment)
|
|
595
597
|
|
|
596
598
|
##### Table
|
|
597
599
|
Prints a table.
|
package/dist-js/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tauri-plugin-thermal-printer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"author": "luis3132",
|
|
5
5
|
"description": "Plugin for Tauri to send esc/pos commands to thermal_printer",
|
|
6
6
|
"type": "module",
|
|
@@ -31,4 +31,4 @@
|
|
|
31
31
|
"typescript": "^5.9.3",
|
|
32
32
|
"tslib": "^2.8.1"
|
|
33
33
|
}
|
|
34
|
-
}
|
|
34
|
+
}
|