libniimai 0.1.1 → 0.3.0
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 +50 -12
- package/dist/ble.d.ts +2 -2
- package/dist/bluetooth.d.ts +10 -4
- package/dist/cat.d.ts +13 -3
- package/dist/catalog.d.ts +17 -0
- package/dist/client.d.ts +10 -0
- package/dist/escpos.d.ts +29 -8
- package/dist/index.d.ts +13 -4
- package/dist/libniimai.js +372 -67
- package/dist/libniimai.js.map +1 -1
- package/dist/service.d.ts +17 -0
- package/dist/thermal.d.ts +12 -1
- package/dist/tspl.d.ts +2 -2
- package/package.json +1 -1
package/dist/tspl.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const TSPL_NOTIFY = "00002af0-0000-1000-8000-00805f9b34fb";
|
|
|
14
14
|
export declare const TSPL_HEAD_DOTS = 640;
|
|
15
15
|
/**
|
|
16
16
|
* Models known to take TSPL over 18F0. "tested": printed with niimai on real
|
|
17
|
-
* hardware.
|
|
17
|
+
* hardware. "medium": reported by open-source printer projects, untested here.
|
|
18
18
|
*/
|
|
19
19
|
export declare const TSPL_MODELS: ThermalModel[];
|
|
20
20
|
export declare const tsplModelFor: (name: string | undefined) => ThermalModel | null;
|
|
@@ -43,7 +43,7 @@ export declare class TsplPrinterClient extends ThermalPrinterClient {
|
|
|
43
43
|
private ackTimeoutMs;
|
|
44
44
|
protected readonly densityLevels = 15;
|
|
45
45
|
protected readonly modelName: string;
|
|
46
|
-
protected readonly headDots
|
|
46
|
+
protected readonly headDots: number;
|
|
47
47
|
protected readonly kind: undefined;
|
|
48
48
|
protected readonly labelSizes: LabelSize[];
|
|
49
49
|
private oks;
|