@kreiseck/kasseneck-api 1.34.0 → 1.35.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.
@@ -0,0 +1,1802 @@
1
+ {
2
+ "_note": "Printer catalog of the till (Kasseneck Connect, setup with one click). printers: the shipped entries; only an approved entry counts, one that is not approved behaves like an unknown model, and approval needs a device test that checked every value field and every paper size. Model names are normalized: a-z to A-Z (ASCII only); any other character outside ASCII that is neither punctuation nor white space (Unicode P, Z) makes the name unknown (null); every run of characters other than A-Z and 0-9 becomes one \"-\", none at the edges; then one leading manufacturer of the catalog in use is dropped, longest first (\"STAR-MICRONICS-\" before \"STAR-\"); nothing left = null. cases.lookupShipped uses the catalog as shipped, cases.lookup approves every entry and cases.lookupPartial only the listed ids (approved with cases.deviceTest); cases.lookupOtherCatalog uses its own catalog. npm src/pos/drucker-katalog.ts and Dart lib/src/kasse/drucker_katalog.dart compute every case.",
3
+ "rules": {
4
+ "paperSize": [
5
+ "mm58",
6
+ "mm80"
7
+ ],
8
+ "charsPerLine": {
9
+ "mm58": 32,
10
+ "mm80": 48
11
+ },
12
+ "cut": [
13
+ "partial",
14
+ "none"
15
+ ],
16
+ "qrMode": [
17
+ "escpos",
18
+ "raster"
19
+ ],
20
+ "codePage": [
21
+ "CP1252",
22
+ "CP437"
23
+ ],
24
+ "valueFields": [
25
+ "paperSize",
26
+ "charsPerLine",
27
+ "cut",
28
+ "drawerKick",
29
+ "qrMode",
30
+ "codePage"
31
+ ],
32
+ "problemReasons": [
33
+ "duplicate_id",
34
+ "match_names_missing",
35
+ "match_name_not_normalized",
36
+ "match_name_ambiguous",
37
+ "model_not_matched",
38
+ "paper_sizes_invalid",
39
+ "paper_size_not_listed",
40
+ "paper_size_too_wide",
41
+ "cut_not_allowed",
42
+ "qr_mode_not_allowed",
43
+ "chars_per_line_mismatch",
44
+ "device_test_missing",
45
+ "device_test_incomplete"
46
+ ]
47
+ },
48
+ "printers": [
49
+ {
50
+ "id": "epson-tm-m30iii",
51
+ "manufacturer": "Epson",
52
+ "model": "TM-m30III",
53
+ "matchNames": [
54
+ "TM-M30III"
55
+ ],
56
+ "paperSizes": [
57
+ "mm58",
58
+ "mm80"
59
+ ],
60
+ "nativeCharsPerLine": 48,
61
+ "values": {
62
+ "paperSize": "mm80",
63
+ "charsPerLine": 48,
64
+ "cut": "partial",
65
+ "drawerKick": true,
66
+ "qrMode": "escpos",
67
+ "codePage": "CP1252"
68
+ },
69
+ "approval": {
70
+ "approved": false,
71
+ "deviceTest": null
72
+ }
73
+ },
74
+ {
75
+ "id": "epson-tm-m30ii",
76
+ "manufacturer": "Epson",
77
+ "model": "TM-m30II",
78
+ "matchNames": [
79
+ "TM-M30II"
80
+ ],
81
+ "paperSizes": [
82
+ "mm58",
83
+ "mm80"
84
+ ],
85
+ "nativeCharsPerLine": 48,
86
+ "values": {
87
+ "paperSize": "mm80",
88
+ "charsPerLine": 48,
89
+ "cut": "partial",
90
+ "drawerKick": true,
91
+ "qrMode": "escpos",
92
+ "codePage": "CP1252"
93
+ },
94
+ "approval": {
95
+ "approved": false,
96
+ "deviceTest": null
97
+ }
98
+ },
99
+ {
100
+ "id": "epson-tm-t20iii",
101
+ "manufacturer": "Epson",
102
+ "model": "TM-T20III",
103
+ "matchNames": [
104
+ "TM-T20III"
105
+ ],
106
+ "paperSizes": [
107
+ "mm58",
108
+ "mm80"
109
+ ],
110
+ "nativeCharsPerLine": 48,
111
+ "values": {
112
+ "paperSize": "mm80",
113
+ "charsPerLine": 48,
114
+ "cut": "partial",
115
+ "drawerKick": true,
116
+ "qrMode": "escpos",
117
+ "codePage": "CP1252"
118
+ },
119
+ "approval": {
120
+ "approved": false,
121
+ "deviceTest": null
122
+ }
123
+ },
124
+ {
125
+ "id": "epson-tm-t88vi",
126
+ "manufacturer": "Epson",
127
+ "model": "TM-T88VI",
128
+ "matchNames": [
129
+ "TM-T88VI"
130
+ ],
131
+ "paperSizes": [
132
+ "mm58"
133
+ ],
134
+ "nativeCharsPerLine": 42,
135
+ "values": {
136
+ "paperSize": "mm58",
137
+ "charsPerLine": 32,
138
+ "cut": "partial",
139
+ "drawerKick": true,
140
+ "qrMode": "escpos",
141
+ "codePage": "CP1252"
142
+ },
143
+ "approval": {
144
+ "approved": false,
145
+ "deviceTest": null
146
+ }
147
+ },
148
+ {
149
+ "id": "epson-tm-t88vii",
150
+ "manufacturer": "Epson",
151
+ "model": "TM-T88VII",
152
+ "matchNames": [
153
+ "TM-T88VII"
154
+ ],
155
+ "paperSizes": [
156
+ "mm58"
157
+ ],
158
+ "nativeCharsPerLine": 42,
159
+ "values": {
160
+ "paperSize": "mm58",
161
+ "charsPerLine": 32,
162
+ "cut": "partial",
163
+ "drawerKick": true,
164
+ "qrMode": "escpos",
165
+ "codePage": "CP1252"
166
+ },
167
+ "approval": {
168
+ "approved": false,
169
+ "deviceTest": null
170
+ }
171
+ },
172
+ {
173
+ "id": "epson-tm-m10",
174
+ "manufacturer": "Epson",
175
+ "model": "TM-m10",
176
+ "matchNames": [
177
+ "TM-M10"
178
+ ],
179
+ "paperSizes": [
180
+ "mm58"
181
+ ],
182
+ "nativeCharsPerLine": 35,
183
+ "values": {
184
+ "paperSize": "mm58",
185
+ "charsPerLine": 32,
186
+ "cut": "partial",
187
+ "drawerKick": true,
188
+ "qrMode": "escpos",
189
+ "codePage": "CP1252"
190
+ },
191
+ "approval": {
192
+ "approved": false,
193
+ "deviceTest": null
194
+ }
195
+ }
196
+ ],
197
+ "cases": {
198
+ "normalize": [
199
+ {
200
+ "input": "TM-m30III",
201
+ "output": "TM-M30III"
202
+ },
203
+ {
204
+ "input": "TM-M30III",
205
+ "output": "TM-M30III"
206
+ },
207
+ {
208
+ "input": "EPSON TM-m30III",
209
+ "output": "TM-M30III"
210
+ },
211
+ {
212
+ "input": "tm m30iii",
213
+ "output": "TM-M30III"
214
+ },
215
+ {
216
+ "input": "(EPSON TM-m30III)",
217
+ "output": "TM-M30III"
218
+ },
219
+ {
220
+ "input": " Epson_TM--m30III ",
221
+ "output": "TM-M30III"
222
+ },
223
+ {
224
+ "input": "TM‑m30III",
225
+ "output": "TM-M30III"
226
+ },
227
+ {
228
+ "input": "TM m30III",
229
+ "output": "TM-M30III"
230
+ },
231
+ {
232
+ "input": "„TM-m30III“",
233
+ "output": "TM-M30III"
234
+ },
235
+ {
236
+ "input": "Epson-TM-m10",
237
+ "output": "TM-M10"
238
+ },
239
+ {
240
+ "input": "TM-T20II-i",
241
+ "output": "TM-T20II-I"
242
+ },
243
+ {
244
+ "input": "TM-T88V-i",
245
+ "output": "TM-T88V-I"
246
+ },
247
+ {
248
+ "input": "TM-T20IIi",
249
+ "output": "TM-T20III"
250
+ },
251
+ {
252
+ "input": "TM-T88Vi",
253
+ "output": "TM-T88VI"
254
+ },
255
+ {
256
+ "input": "TMM30III",
257
+ "output": "TMM30III"
258
+ },
259
+ {
260
+ "input": "EPSONTM-m10",
261
+ "output": "EPSONTM-M10"
262
+ },
263
+ {
264
+ "input": "EPSON EPSON TM-m30III",
265
+ "output": "EPSON-TM-M30III"
266
+ },
267
+ {
268
+ "input": "EPSON",
269
+ "output": "EPSON"
270
+ },
271
+ {
272
+ "input": "Star TSP143IIIU",
273
+ "output": "STAR-TSP143IIIU"
274
+ },
275
+ {
276
+ "input": "TM-m30IIÏ",
277
+ "output": null
278
+ },
279
+ {
280
+ "input": "TM-m30IIı",
281
+ "output": null
282
+ },
283
+ {
284
+ "input": "TM-T88Vı",
285
+ "output": null
286
+ },
287
+ {
288
+ "input": "TM-m30IIIé",
289
+ "output": null
290
+ },
291
+ {
292
+ "input": "TM-m30III®",
293
+ "output": null
294
+ },
295
+ {
296
+ "input": "ff",
297
+ "output": null
298
+ },
299
+ {
300
+ "input": "",
301
+ "output": null
302
+ },
303
+ {
304
+ "input": " ",
305
+ "output": null
306
+ },
307
+ {
308
+ "input": "---",
309
+ "output": null
310
+ },
311
+ {
312
+ "input": null,
313
+ "output": null
314
+ }
315
+ ],
316
+ "lookupShipped": [
317
+ {
318
+ "model": "TM-m30III",
319
+ "expected": null
320
+ },
321
+ {
322
+ "model": "EPSON TM-m30III",
323
+ "expected": null
324
+ },
325
+ {
326
+ "model": "TM-m30II",
327
+ "expected": null
328
+ },
329
+ {
330
+ "model": "TM-T20III",
331
+ "expected": null
332
+ },
333
+ {
334
+ "model": "TM-m10",
335
+ "expected": null
336
+ },
337
+ {
338
+ "model": "TM-T88VI",
339
+ "expected": null
340
+ },
341
+ {
342
+ "model": "TM-P20",
343
+ "expected": null
344
+ },
345
+ {
346
+ "model": null,
347
+ "expected": null
348
+ }
349
+ ],
350
+ "lookup": [
351
+ {
352
+ "model": "TM-m30III",
353
+ "expected": "epson-tm-m30iii"
354
+ },
355
+ {
356
+ "model": "TM-M30III",
357
+ "expected": "epson-tm-m30iii"
358
+ },
359
+ {
360
+ "model": "EPSON TM-m30III",
361
+ "expected": "epson-tm-m30iii"
362
+ },
363
+ {
364
+ "model": "tm m30iii",
365
+ "expected": "epson-tm-m30iii"
366
+ },
367
+ {
368
+ "model": "(EPSON TM-m30III)",
369
+ "expected": "epson-tm-m30iii"
370
+ },
371
+ {
372
+ "model": "TM-m30II",
373
+ "expected": "epson-tm-m30ii"
374
+ },
375
+ {
376
+ "model": "TM-T20III",
377
+ "expected": "epson-tm-t20iii"
378
+ },
379
+ {
380
+ "model": "EPSON TM-m10",
381
+ "expected": "epson-tm-m10"
382
+ },
383
+ {
384
+ "model": "TM-T20IIi",
385
+ "expected": "epson-tm-t20iii"
386
+ },
387
+ {
388
+ "model": "TM-T20II-i",
389
+ "expected": null
390
+ },
391
+ {
392
+ "model": "TM-T88VI",
393
+ "expected": "epson-tm-t88vi"
394
+ },
395
+ {
396
+ "model": "EPSON TM-T88VII",
397
+ "expected": "epson-tm-t88vii"
398
+ },
399
+ {
400
+ "model": "TM-T88Vi",
401
+ "expected": "epson-tm-t88vi"
402
+ },
403
+ {
404
+ "model": "TM-T88V-i",
405
+ "expected": null
406
+ },
407
+ {
408
+ "model": "TM-T88V",
409
+ "expected": null
410
+ },
411
+ {
412
+ "model": "TM-m30",
413
+ "expected": null
414
+ },
415
+ {
416
+ "model": "TM-m30III-H",
417
+ "expected": null
418
+ },
419
+ {
420
+ "model": "TM-m30IIÏ",
421
+ "expected": null
422
+ },
423
+ {
424
+ "model": "TM-m30IIı",
425
+ "expected": null
426
+ },
427
+ {
428
+ "model": "TMM30III",
429
+ "expected": null
430
+ },
431
+ {
432
+ "model": "EPSON EPSON TM-m30III",
433
+ "expected": null
434
+ },
435
+ {
436
+ "model": "TM-P20",
437
+ "expected": null
438
+ },
439
+ {
440
+ "model": "Star TSP143IIIU",
441
+ "expected": null
442
+ },
443
+ {
444
+ "model": "EPSON",
445
+ "expected": null
446
+ },
447
+ {
448
+ "model": "",
449
+ "expected": null
450
+ },
451
+ {
452
+ "model": null,
453
+ "expected": null
454
+ }
455
+ ],
456
+ "lookupPartial": [
457
+ {
458
+ "model": "TM-m30III",
459
+ "approve": [],
460
+ "expected": null
461
+ },
462
+ {
463
+ "model": "TM-m30III",
464
+ "approve": [
465
+ "epson-tm-m30ii"
466
+ ],
467
+ "expected": null
468
+ },
469
+ {
470
+ "model": "TM-m30II",
471
+ "approve": [
472
+ "epson-tm-m30iii"
473
+ ],
474
+ "expected": null
475
+ },
476
+ {
477
+ "model": "TM-m30III",
478
+ "approve": [
479
+ "epson-tm-m30iii"
480
+ ],
481
+ "expected": "epson-tm-m30iii"
482
+ }
483
+ ],
484
+ "lookupOtherCatalog": {
485
+ "printers": [
486
+ {
487
+ "id": "star-tsp100",
488
+ "manufacturer": "Star",
489
+ "model": "TSP100",
490
+ "matchNames": [
491
+ "TSP100"
492
+ ],
493
+ "paperSizes": [
494
+ "mm80"
495
+ ],
496
+ "nativeCharsPerLine": 48,
497
+ "values": {
498
+ "paperSize": "mm80",
499
+ "charsPerLine": 48,
500
+ "cut": "partial",
501
+ "drawerKick": true,
502
+ "qrMode": "raster",
503
+ "codePage": "CP1252"
504
+ },
505
+ "approval": {
506
+ "approved": true,
507
+ "deviceTest": {
508
+ "date": "2026-11-10",
509
+ "connectVersion": "1.5.0",
510
+ "firmware": "1.00",
511
+ "testedBy": "KE",
512
+ "checked": [
513
+ "paperSize",
514
+ "charsPerLine",
515
+ "cut",
516
+ "drawerKick",
517
+ "qrMode",
518
+ "codePage"
519
+ ],
520
+ "checkedPaperSizes": [
521
+ "mm80"
522
+ ]
523
+ }
524
+ }
525
+ },
526
+ {
527
+ "id": "star-micronics-tsp143iiiu",
528
+ "manufacturer": "Star Micronics",
529
+ "model": "TSP143IIIU",
530
+ "matchNames": [
531
+ "TSP143IIIU"
532
+ ],
533
+ "paperSizes": [
534
+ "mm80"
535
+ ],
536
+ "nativeCharsPerLine": 48,
537
+ "values": {
538
+ "paperSize": "mm80",
539
+ "charsPerLine": 48,
540
+ "cut": "partial",
541
+ "drawerKick": true,
542
+ "qrMode": "raster",
543
+ "codePage": "CP1252"
544
+ },
545
+ "approval": {
546
+ "approved": true,
547
+ "deviceTest": {
548
+ "date": "2026-11-10",
549
+ "connectVersion": "1.5.0",
550
+ "firmware": "1.00",
551
+ "testedBy": "KE",
552
+ "checked": [
553
+ "paperSize",
554
+ "charsPerLine",
555
+ "cut",
556
+ "drawerKick",
557
+ "qrMode",
558
+ "codePage"
559
+ ],
560
+ "checkedPaperSizes": [
561
+ "mm80"
562
+ ]
563
+ }
564
+ }
565
+ }
566
+ ],
567
+ "cases": [
568
+ {
569
+ "model": "Star Micronics TSP143IIIU",
570
+ "expected": "star-micronics-tsp143iiiu"
571
+ },
572
+ {
573
+ "model": "Star TSP143IIIU",
574
+ "expected": "star-micronics-tsp143iiiu"
575
+ },
576
+ {
577
+ "model": "Star Micronics TSP100",
578
+ "expected": "star-tsp100"
579
+ },
580
+ {
581
+ "model": "STAR TSP100",
582
+ "expected": "star-tsp100"
583
+ },
584
+ {
585
+ "model": "Micronics TSP100",
586
+ "expected": null
587
+ },
588
+ {
589
+ "model": "EPSON TM-m30III",
590
+ "expected": null
591
+ }
592
+ ]
593
+ },
594
+ "deviceTest": {
595
+ "date": "2026-11-10",
596
+ "connectVersion": "1.5.0",
597
+ "firmware": "1.00",
598
+ "testedBy": "KE",
599
+ "checked": [
600
+ "paperSize",
601
+ "charsPerLine",
602
+ "cut",
603
+ "drawerKick",
604
+ "qrMode",
605
+ "codePage"
606
+ ],
607
+ "checkedPaperSizes": [
608
+ "mm58",
609
+ "mm80"
610
+ ]
611
+ },
612
+ "settings": [
613
+ {
614
+ "id": "epson-tm-m30iii",
615
+ "settings": {
616
+ "device": {
617
+ "paperSize": "mm80",
618
+ "codePage": "CP1252",
619
+ "cut": "partial",
620
+ "qrMode": "escpos",
621
+ "drawerEnabled": true
622
+ },
623
+ "paperSizeNeedsCheck": true
624
+ }
625
+ },
626
+ {
627
+ "id": "epson-tm-m30ii",
628
+ "settings": {
629
+ "device": {
630
+ "paperSize": "mm80",
631
+ "codePage": "CP1252",
632
+ "cut": "partial",
633
+ "qrMode": "escpos",
634
+ "drawerEnabled": true
635
+ },
636
+ "paperSizeNeedsCheck": true
637
+ }
638
+ },
639
+ {
640
+ "id": "epson-tm-t20iii",
641
+ "settings": {
642
+ "device": {
643
+ "paperSize": "mm80",
644
+ "codePage": "CP1252",
645
+ "cut": "partial",
646
+ "qrMode": "escpos",
647
+ "drawerEnabled": true
648
+ },
649
+ "paperSizeNeedsCheck": true
650
+ }
651
+ },
652
+ {
653
+ "id": "epson-tm-t88vi",
654
+ "settings": {
655
+ "device": {
656
+ "paperSize": "mm58",
657
+ "codePage": "CP1252",
658
+ "cut": "partial",
659
+ "qrMode": "escpos",
660
+ "drawerEnabled": true
661
+ },
662
+ "paperSizeNeedsCheck": false
663
+ }
664
+ },
665
+ {
666
+ "id": "epson-tm-t88vii",
667
+ "settings": {
668
+ "device": {
669
+ "paperSize": "mm58",
670
+ "codePage": "CP1252",
671
+ "cut": "partial",
672
+ "qrMode": "escpos",
673
+ "drawerEnabled": true
674
+ },
675
+ "paperSizeNeedsCheck": false
676
+ }
677
+ },
678
+ {
679
+ "id": "epson-tm-m10",
680
+ "settings": {
681
+ "device": {
682
+ "paperSize": "mm58",
683
+ "codePage": "CP1252",
684
+ "cut": "partial",
685
+ "qrMode": "escpos",
686
+ "drawerEnabled": true
687
+ },
688
+ "paperSizeNeedsCheck": false
689
+ }
690
+ }
691
+ ],
692
+ "problems": [
693
+ {
694
+ "name": "valid entry",
695
+ "printers": [
696
+ {
697
+ "id": "epson-tm-m30iii",
698
+ "manufacturer": "Epson",
699
+ "model": "TM-m30III",
700
+ "matchNames": [
701
+ "TM-M30III"
702
+ ],
703
+ "paperSizes": [
704
+ "mm58",
705
+ "mm80"
706
+ ],
707
+ "nativeCharsPerLine": 48,
708
+ "values": {
709
+ "paperSize": "mm80",
710
+ "charsPerLine": 48,
711
+ "cut": "partial",
712
+ "drawerKick": true,
713
+ "qrMode": "escpos",
714
+ "codePage": "CP1252"
715
+ },
716
+ "approval": {
717
+ "approved": false,
718
+ "deviceTest": null
719
+ }
720
+ }
721
+ ],
722
+ "expected": []
723
+ },
724
+ {
725
+ "name": "approved with a complete device test",
726
+ "printers": [
727
+ {
728
+ "id": "epson-tm-m30iii",
729
+ "manufacturer": "Epson",
730
+ "model": "TM-m30III",
731
+ "matchNames": [
732
+ "TM-M30III"
733
+ ],
734
+ "paperSizes": [
735
+ "mm58",
736
+ "mm80"
737
+ ],
738
+ "nativeCharsPerLine": 48,
739
+ "values": {
740
+ "paperSize": "mm80",
741
+ "charsPerLine": 48,
742
+ "cut": "partial",
743
+ "drawerKick": true,
744
+ "qrMode": "escpos",
745
+ "codePage": "CP1252"
746
+ },
747
+ "approval": {
748
+ "approved": true,
749
+ "deviceTest": {
750
+ "date": "2026-11-10",
751
+ "connectVersion": "1.5.0",
752
+ "firmware": "1.00",
753
+ "testedBy": "KE",
754
+ "checked": [
755
+ "paperSize",
756
+ "charsPerLine",
757
+ "cut",
758
+ "drawerKick",
759
+ "qrMode",
760
+ "codePage"
761
+ ],
762
+ "checkedPaperSizes": [
763
+ "mm58",
764
+ "mm80"
765
+ ]
766
+ }
767
+ }
768
+ }
769
+ ],
770
+ "expected": []
771
+ },
772
+ {
773
+ "name": "32-character layout on a printer with 42 columns, checked at 58 mm",
774
+ "printers": [
775
+ {
776
+ "id": "epson-tm-m30iii",
777
+ "manufacturer": "Epson",
778
+ "model": "TM-m30III",
779
+ "matchNames": [
780
+ "TM-M30III"
781
+ ],
782
+ "paperSizes": [
783
+ "mm58"
784
+ ],
785
+ "nativeCharsPerLine": 42,
786
+ "values": {
787
+ "paperSize": "mm58",
788
+ "charsPerLine": 32,
789
+ "cut": "partial",
790
+ "drawerKick": true,
791
+ "qrMode": "escpos",
792
+ "codePage": "CP1252"
793
+ },
794
+ "approval": {
795
+ "approved": true,
796
+ "deviceTest": {
797
+ "date": "2026-11-10",
798
+ "connectVersion": "1.5.0",
799
+ "firmware": "1.00",
800
+ "testedBy": "KE",
801
+ "checked": [
802
+ "paperSize",
803
+ "charsPerLine",
804
+ "cut",
805
+ "drawerKick",
806
+ "qrMode",
807
+ "codePage"
808
+ ],
809
+ "checkedPaperSizes": [
810
+ "mm58"
811
+ ]
812
+ }
813
+ }
814
+ }
815
+ ],
816
+ "expected": []
817
+ },
818
+ {
819
+ "name": "two entries with the same id",
820
+ "printers": [
821
+ {
822
+ "id": "epson-tm-m30iii",
823
+ "manufacturer": "Epson",
824
+ "model": "TM-m30III",
825
+ "matchNames": [
826
+ "TM-M30III"
827
+ ],
828
+ "paperSizes": [
829
+ "mm58",
830
+ "mm80"
831
+ ],
832
+ "nativeCharsPerLine": 48,
833
+ "values": {
834
+ "paperSize": "mm80",
835
+ "charsPerLine": 48,
836
+ "cut": "partial",
837
+ "drawerKick": true,
838
+ "qrMode": "escpos",
839
+ "codePage": "CP1252"
840
+ },
841
+ "approval": {
842
+ "approved": false,
843
+ "deviceTest": null
844
+ }
845
+ },
846
+ {
847
+ "id": "epson-tm-m30iii",
848
+ "manufacturer": "Epson",
849
+ "model": "TM-m30II",
850
+ "matchNames": [
851
+ "TM-M30II"
852
+ ],
853
+ "paperSizes": [
854
+ "mm58",
855
+ "mm80"
856
+ ],
857
+ "nativeCharsPerLine": 48,
858
+ "values": {
859
+ "paperSize": "mm80",
860
+ "charsPerLine": 48,
861
+ "cut": "partial",
862
+ "drawerKick": true,
863
+ "qrMode": "escpos",
864
+ "codePage": "CP1252"
865
+ },
866
+ "approval": {
867
+ "approved": false,
868
+ "deviceTest": null
869
+ }
870
+ }
871
+ ],
872
+ "expected": [
873
+ {
874
+ "id": "epson-tm-m30iii",
875
+ "reason": "duplicate_id"
876
+ }
877
+ ]
878
+ },
879
+ {
880
+ "name": "no match name",
881
+ "printers": [
882
+ {
883
+ "id": "epson-tm-m30iii",
884
+ "manufacturer": "Epson",
885
+ "model": "TM-m30III",
886
+ "matchNames": [],
887
+ "paperSizes": [
888
+ "mm58",
889
+ "mm80"
890
+ ],
891
+ "nativeCharsPerLine": 48,
892
+ "values": {
893
+ "paperSize": "mm80",
894
+ "charsPerLine": 48,
895
+ "cut": "partial",
896
+ "drawerKick": true,
897
+ "qrMode": "escpos",
898
+ "codePage": "CP1252"
899
+ },
900
+ "approval": {
901
+ "approved": false,
902
+ "deviceTest": null
903
+ }
904
+ }
905
+ ],
906
+ "expected": [
907
+ {
908
+ "id": "epson-tm-m30iii",
909
+ "reason": "match_names_missing"
910
+ },
911
+ {
912
+ "id": "epson-tm-m30iii",
913
+ "reason": "model_not_matched"
914
+ }
915
+ ]
916
+ },
917
+ {
918
+ "name": "match name in lower case",
919
+ "printers": [
920
+ {
921
+ "id": "epson-tm-m30iii",
922
+ "manufacturer": "Epson",
923
+ "model": "TM-m30III",
924
+ "matchNames": [
925
+ "TM-M30III",
926
+ "tm m30iii"
927
+ ],
928
+ "paperSizes": [
929
+ "mm58",
930
+ "mm80"
931
+ ],
932
+ "nativeCharsPerLine": 48,
933
+ "values": {
934
+ "paperSize": "mm80",
935
+ "charsPerLine": 48,
936
+ "cut": "partial",
937
+ "drawerKick": true,
938
+ "qrMode": "escpos",
939
+ "codePage": "CP1252"
940
+ },
941
+ "approval": {
942
+ "approved": false,
943
+ "deviceTest": null
944
+ }
945
+ }
946
+ ],
947
+ "expected": [
948
+ {
949
+ "id": "epson-tm-m30iii",
950
+ "reason": "match_name_not_normalized"
951
+ }
952
+ ]
953
+ },
954
+ {
955
+ "name": "match name with manufacturer",
956
+ "printers": [
957
+ {
958
+ "id": "epson-tm-m30iii",
959
+ "manufacturer": "Epson",
960
+ "model": "TM-m30III",
961
+ "matchNames": [
962
+ "TM-M30III",
963
+ "EPSON-TM-M30III"
964
+ ],
965
+ "paperSizes": [
966
+ "mm58",
967
+ "mm80"
968
+ ],
969
+ "nativeCharsPerLine": 48,
970
+ "values": {
971
+ "paperSize": "mm80",
972
+ "charsPerLine": 48,
973
+ "cut": "partial",
974
+ "drawerKick": true,
975
+ "qrMode": "escpos",
976
+ "codePage": "CP1252"
977
+ },
978
+ "approval": {
979
+ "approved": false,
980
+ "deviceTest": null
981
+ }
982
+ }
983
+ ],
984
+ "expected": [
985
+ {
986
+ "id": "epson-tm-m30iii",
987
+ "reason": "match_name_not_normalized"
988
+ }
989
+ ]
990
+ },
991
+ {
992
+ "name": "match name with a space",
993
+ "printers": [
994
+ {
995
+ "id": "epson-tm-m30iii",
996
+ "manufacturer": "Epson",
997
+ "model": "TM-m30III",
998
+ "matchNames": [
999
+ "TM-M30III",
1000
+ "TM M30III"
1001
+ ],
1002
+ "paperSizes": [
1003
+ "mm58",
1004
+ "mm80"
1005
+ ],
1006
+ "nativeCharsPerLine": 48,
1007
+ "values": {
1008
+ "paperSize": "mm80",
1009
+ "charsPerLine": 48,
1010
+ "cut": "partial",
1011
+ "drawerKick": true,
1012
+ "qrMode": "escpos",
1013
+ "codePage": "CP1252"
1014
+ },
1015
+ "approval": {
1016
+ "approved": false,
1017
+ "deviceTest": null
1018
+ }
1019
+ }
1020
+ ],
1021
+ "expected": [
1022
+ {
1023
+ "id": "epson-tm-m30iii",
1024
+ "reason": "match_name_not_normalized"
1025
+ }
1026
+ ]
1027
+ },
1028
+ {
1029
+ "name": "same match name in two entries",
1030
+ "printers": [
1031
+ {
1032
+ "id": "epson-tm-m30iii",
1033
+ "manufacturer": "Epson",
1034
+ "model": "TM-m30III",
1035
+ "matchNames": [
1036
+ "TM-M30III"
1037
+ ],
1038
+ "paperSizes": [
1039
+ "mm58",
1040
+ "mm80"
1041
+ ],
1042
+ "nativeCharsPerLine": 48,
1043
+ "values": {
1044
+ "paperSize": "mm80",
1045
+ "charsPerLine": 48,
1046
+ "cut": "partial",
1047
+ "drawerKick": true,
1048
+ "qrMode": "escpos",
1049
+ "codePage": "CP1252"
1050
+ },
1051
+ "approval": {
1052
+ "approved": false,
1053
+ "deviceTest": null
1054
+ }
1055
+ },
1056
+ {
1057
+ "id": "epson-tm-m30ii",
1058
+ "manufacturer": "Epson",
1059
+ "model": "TM-m30II",
1060
+ "matchNames": [
1061
+ "TM-M30II",
1062
+ "TM-M30III"
1063
+ ],
1064
+ "paperSizes": [
1065
+ "mm58",
1066
+ "mm80"
1067
+ ],
1068
+ "nativeCharsPerLine": 48,
1069
+ "values": {
1070
+ "paperSize": "mm80",
1071
+ "charsPerLine": 48,
1072
+ "cut": "partial",
1073
+ "drawerKick": true,
1074
+ "qrMode": "escpos",
1075
+ "codePage": "CP1252"
1076
+ },
1077
+ "approval": {
1078
+ "approved": false,
1079
+ "deviceTest": null
1080
+ }
1081
+ }
1082
+ ],
1083
+ "expected": [
1084
+ {
1085
+ "id": "epson-tm-m30ii",
1086
+ "reason": "match_name_ambiguous"
1087
+ }
1088
+ ]
1089
+ },
1090
+ {
1091
+ "name": "model name not among the match names",
1092
+ "printers": [
1093
+ {
1094
+ "id": "epson-tm-m30iii",
1095
+ "manufacturer": "Epson",
1096
+ "model": "TM-m30III",
1097
+ "matchNames": [
1098
+ "TM-M30II"
1099
+ ],
1100
+ "paperSizes": [
1101
+ "mm58",
1102
+ "mm80"
1103
+ ],
1104
+ "nativeCharsPerLine": 48,
1105
+ "values": {
1106
+ "paperSize": "mm80",
1107
+ "charsPerLine": 48,
1108
+ "cut": "partial",
1109
+ "drawerKick": true,
1110
+ "qrMode": "escpos",
1111
+ "codePage": "CP1252"
1112
+ },
1113
+ "approval": {
1114
+ "approved": false,
1115
+ "deviceTest": null
1116
+ }
1117
+ }
1118
+ ],
1119
+ "expected": [
1120
+ {
1121
+ "id": "epson-tm-m30iii",
1122
+ "reason": "model_not_matched"
1123
+ }
1124
+ ]
1125
+ },
1126
+ {
1127
+ "name": "paper sizes out of order",
1128
+ "printers": [
1129
+ {
1130
+ "id": "epson-tm-m30iii",
1131
+ "manufacturer": "Epson",
1132
+ "model": "TM-m30III",
1133
+ "matchNames": [
1134
+ "TM-M30III"
1135
+ ],
1136
+ "paperSizes": [
1137
+ "mm80",
1138
+ "mm58"
1139
+ ],
1140
+ "nativeCharsPerLine": 48,
1141
+ "values": {
1142
+ "paperSize": "mm80",
1143
+ "charsPerLine": 48,
1144
+ "cut": "partial",
1145
+ "drawerKick": true,
1146
+ "qrMode": "escpos",
1147
+ "codePage": "CP1252"
1148
+ },
1149
+ "approval": {
1150
+ "approved": false,
1151
+ "deviceTest": null
1152
+ }
1153
+ }
1154
+ ],
1155
+ "expected": [
1156
+ {
1157
+ "id": "epson-tm-m30iii",
1158
+ "reason": "paper_sizes_invalid"
1159
+ }
1160
+ ]
1161
+ },
1162
+ {
1163
+ "name": "paper size twice",
1164
+ "printers": [
1165
+ {
1166
+ "id": "epson-tm-m30iii",
1167
+ "manufacturer": "Epson",
1168
+ "model": "TM-m30III",
1169
+ "matchNames": [
1170
+ "TM-M30III"
1171
+ ],
1172
+ "paperSizes": [
1173
+ "mm80",
1174
+ "mm80"
1175
+ ],
1176
+ "nativeCharsPerLine": 48,
1177
+ "values": {
1178
+ "paperSize": "mm80",
1179
+ "charsPerLine": 48,
1180
+ "cut": "partial",
1181
+ "drawerKick": true,
1182
+ "qrMode": "escpos",
1183
+ "codePage": "CP1252"
1184
+ },
1185
+ "approval": {
1186
+ "approved": false,
1187
+ "deviceTest": null
1188
+ }
1189
+ }
1190
+ ],
1191
+ "expected": [
1192
+ {
1193
+ "id": "epson-tm-m30iii",
1194
+ "reason": "paper_sizes_invalid"
1195
+ }
1196
+ ]
1197
+ },
1198
+ {
1199
+ "name": "80 mm on a printer with 42 columns",
1200
+ "printers": [
1201
+ {
1202
+ "id": "epson-tm-m30iii",
1203
+ "manufacturer": "Epson",
1204
+ "model": "TM-m30III",
1205
+ "matchNames": [
1206
+ "TM-M30III"
1207
+ ],
1208
+ "paperSizes": [
1209
+ "mm58",
1210
+ "mm80"
1211
+ ],
1212
+ "nativeCharsPerLine": 42,
1213
+ "values": {
1214
+ "paperSize": "mm80",
1215
+ "charsPerLine": 48,
1216
+ "cut": "partial",
1217
+ "drawerKick": true,
1218
+ "qrMode": "escpos",
1219
+ "codePage": "CP1252"
1220
+ },
1221
+ "approval": {
1222
+ "approved": false,
1223
+ "deviceTest": null
1224
+ }
1225
+ }
1226
+ ],
1227
+ "expected": [
1228
+ {
1229
+ "id": "epson-tm-m30iii",
1230
+ "reason": "paper_size_too_wide"
1231
+ }
1232
+ ]
1233
+ },
1234
+ {
1235
+ "name": "58 mm on a printer with 30 columns",
1236
+ "printers": [
1237
+ {
1238
+ "id": "epson-tm-m30iii",
1239
+ "manufacturer": "Epson",
1240
+ "model": "TM-m30III",
1241
+ "matchNames": [
1242
+ "TM-M30III"
1243
+ ],
1244
+ "paperSizes": [
1245
+ "mm58"
1246
+ ],
1247
+ "nativeCharsPerLine": 30,
1248
+ "values": {
1249
+ "paperSize": "mm58",
1250
+ "charsPerLine": 32,
1251
+ "cut": "partial",
1252
+ "drawerKick": true,
1253
+ "qrMode": "escpos",
1254
+ "codePage": "CP1252"
1255
+ },
1256
+ "approval": {
1257
+ "approved": false,
1258
+ "deviceTest": null
1259
+ }
1260
+ }
1261
+ ],
1262
+ "expected": [
1263
+ {
1264
+ "id": "epson-tm-m30iii",
1265
+ "reason": "paper_size_too_wide"
1266
+ }
1267
+ ]
1268
+ },
1269
+ {
1270
+ "name": "factory paper size not among the paper sizes",
1271
+ "printers": [
1272
+ {
1273
+ "id": "epson-tm-m30iii",
1274
+ "manufacturer": "Epson",
1275
+ "model": "TM-m30III",
1276
+ "matchNames": [
1277
+ "TM-M30III"
1278
+ ],
1279
+ "paperSizes": [
1280
+ "mm58"
1281
+ ],
1282
+ "nativeCharsPerLine": 48,
1283
+ "values": {
1284
+ "paperSize": "mm80",
1285
+ "charsPerLine": 48,
1286
+ "cut": "partial",
1287
+ "drawerKick": true,
1288
+ "qrMode": "escpos",
1289
+ "codePage": "CP1252"
1290
+ },
1291
+ "approval": {
1292
+ "approved": false,
1293
+ "deviceTest": null
1294
+ }
1295
+ }
1296
+ ],
1297
+ "expected": [
1298
+ {
1299
+ "id": "epson-tm-m30iii",
1300
+ "reason": "paper_size_not_listed"
1301
+ }
1302
+ ]
1303
+ },
1304
+ {
1305
+ "name": "cut full",
1306
+ "printers": [
1307
+ {
1308
+ "id": "epson-tm-m30iii",
1309
+ "manufacturer": "Epson",
1310
+ "model": "TM-m30III",
1311
+ "matchNames": [
1312
+ "TM-M30III"
1313
+ ],
1314
+ "paperSizes": [
1315
+ "mm58",
1316
+ "mm80"
1317
+ ],
1318
+ "nativeCharsPerLine": 48,
1319
+ "values": {
1320
+ "paperSize": "mm80",
1321
+ "charsPerLine": 48,
1322
+ "cut": "full",
1323
+ "drawerKick": true,
1324
+ "qrMode": "escpos",
1325
+ "codePage": "CP1252"
1326
+ },
1327
+ "approval": {
1328
+ "approved": false,
1329
+ "deviceTest": null
1330
+ }
1331
+ }
1332
+ ],
1333
+ "expected": [
1334
+ {
1335
+ "id": "epson-tm-m30iii",
1336
+ "reason": "cut_not_allowed"
1337
+ }
1338
+ ]
1339
+ },
1340
+ {
1341
+ "name": "qr mode auto",
1342
+ "printers": [
1343
+ {
1344
+ "id": "epson-tm-m30iii",
1345
+ "manufacturer": "Epson",
1346
+ "model": "TM-m30III",
1347
+ "matchNames": [
1348
+ "TM-M30III"
1349
+ ],
1350
+ "paperSizes": [
1351
+ "mm58",
1352
+ "mm80"
1353
+ ],
1354
+ "nativeCharsPerLine": 48,
1355
+ "values": {
1356
+ "paperSize": "mm80",
1357
+ "charsPerLine": 48,
1358
+ "cut": "partial",
1359
+ "drawerKick": true,
1360
+ "qrMode": "auto",
1361
+ "codePage": "CP1252"
1362
+ },
1363
+ "approval": {
1364
+ "approved": false,
1365
+ "deviceTest": null
1366
+ }
1367
+ }
1368
+ ],
1369
+ "expected": [
1370
+ {
1371
+ "id": "epson-tm-m30iii",
1372
+ "reason": "qr_mode_not_allowed"
1373
+ }
1374
+ ]
1375
+ },
1376
+ {
1377
+ "name": "80 mm with 42 characters",
1378
+ "printers": [
1379
+ {
1380
+ "id": "epson-tm-m30iii",
1381
+ "manufacturer": "Epson",
1382
+ "model": "TM-m30III",
1383
+ "matchNames": [
1384
+ "TM-M30III"
1385
+ ],
1386
+ "paperSizes": [
1387
+ "mm58",
1388
+ "mm80"
1389
+ ],
1390
+ "nativeCharsPerLine": 48,
1391
+ "values": {
1392
+ "paperSize": "mm80",
1393
+ "charsPerLine": 42,
1394
+ "cut": "partial",
1395
+ "drawerKick": true,
1396
+ "qrMode": "escpos",
1397
+ "codePage": "CP1252"
1398
+ },
1399
+ "approval": {
1400
+ "approved": false,
1401
+ "deviceTest": null
1402
+ }
1403
+ }
1404
+ ],
1405
+ "expected": [
1406
+ {
1407
+ "id": "epson-tm-m30iii",
1408
+ "reason": "chars_per_line_mismatch"
1409
+ }
1410
+ ]
1411
+ },
1412
+ {
1413
+ "name": "58 mm with 48 characters",
1414
+ "printers": [
1415
+ {
1416
+ "id": "epson-tm-m30iii",
1417
+ "manufacturer": "Epson",
1418
+ "model": "TM-m30III",
1419
+ "matchNames": [
1420
+ "TM-M30III"
1421
+ ],
1422
+ "paperSizes": [
1423
+ "mm58",
1424
+ "mm80"
1425
+ ],
1426
+ "nativeCharsPerLine": 48,
1427
+ "values": {
1428
+ "paperSize": "mm58",
1429
+ "charsPerLine": 48,
1430
+ "cut": "partial",
1431
+ "drawerKick": true,
1432
+ "qrMode": "escpos",
1433
+ "codePage": "CP1252"
1434
+ },
1435
+ "approval": {
1436
+ "approved": false,
1437
+ "deviceTest": null
1438
+ }
1439
+ }
1440
+ ],
1441
+ "expected": [
1442
+ {
1443
+ "id": "epson-tm-m30iii",
1444
+ "reason": "chars_per_line_mismatch"
1445
+ }
1446
+ ]
1447
+ },
1448
+ {
1449
+ "name": "approved without device test",
1450
+ "printers": [
1451
+ {
1452
+ "id": "epson-tm-m30iii",
1453
+ "manufacturer": "Epson",
1454
+ "model": "TM-m30III",
1455
+ "matchNames": [
1456
+ "TM-M30III"
1457
+ ],
1458
+ "paperSizes": [
1459
+ "mm58",
1460
+ "mm80"
1461
+ ],
1462
+ "nativeCharsPerLine": 48,
1463
+ "values": {
1464
+ "paperSize": "mm80",
1465
+ "charsPerLine": 48,
1466
+ "cut": "partial",
1467
+ "drawerKick": true,
1468
+ "qrMode": "escpos",
1469
+ "codePage": "CP1252"
1470
+ },
1471
+ "approval": {
1472
+ "approved": true,
1473
+ "deviceTest": null
1474
+ }
1475
+ }
1476
+ ],
1477
+ "expected": [
1478
+ {
1479
+ "id": "epson-tm-m30iii",
1480
+ "reason": "device_test_missing"
1481
+ }
1482
+ ]
1483
+ },
1484
+ {
1485
+ "name": "device test with a date in another format",
1486
+ "printers": [
1487
+ {
1488
+ "id": "epson-tm-m30iii",
1489
+ "manufacturer": "Epson",
1490
+ "model": "TM-m30III",
1491
+ "matchNames": [
1492
+ "TM-M30III"
1493
+ ],
1494
+ "paperSizes": [
1495
+ "mm58",
1496
+ "mm80"
1497
+ ],
1498
+ "nativeCharsPerLine": 48,
1499
+ "values": {
1500
+ "paperSize": "mm80",
1501
+ "charsPerLine": 48,
1502
+ "cut": "partial",
1503
+ "drawerKick": true,
1504
+ "qrMode": "escpos",
1505
+ "codePage": "CP1252"
1506
+ },
1507
+ "approval": {
1508
+ "approved": true,
1509
+ "deviceTest": {
1510
+ "date": "10.11.2026",
1511
+ "connectVersion": "1.5.0",
1512
+ "firmware": "1.00",
1513
+ "testedBy": "KE",
1514
+ "checked": [
1515
+ "paperSize",
1516
+ "charsPerLine",
1517
+ "cut",
1518
+ "drawerKick",
1519
+ "qrMode",
1520
+ "codePage"
1521
+ ],
1522
+ "checkedPaperSizes": [
1523
+ "mm58",
1524
+ "mm80"
1525
+ ]
1526
+ }
1527
+ }
1528
+ }
1529
+ ],
1530
+ "expected": [
1531
+ {
1532
+ "id": "epson-tm-m30iii",
1533
+ "reason": "device_test_incomplete"
1534
+ }
1535
+ ]
1536
+ },
1537
+ {
1538
+ "name": "device test without firmware",
1539
+ "printers": [
1540
+ {
1541
+ "id": "epson-tm-m30iii",
1542
+ "manufacturer": "Epson",
1543
+ "model": "TM-m30III",
1544
+ "matchNames": [
1545
+ "TM-M30III"
1546
+ ],
1547
+ "paperSizes": [
1548
+ "mm58",
1549
+ "mm80"
1550
+ ],
1551
+ "nativeCharsPerLine": 48,
1552
+ "values": {
1553
+ "paperSize": "mm80",
1554
+ "charsPerLine": 48,
1555
+ "cut": "partial",
1556
+ "drawerKick": true,
1557
+ "qrMode": "escpos",
1558
+ "codePage": "CP1252"
1559
+ },
1560
+ "approval": {
1561
+ "approved": false,
1562
+ "deviceTest": {
1563
+ "date": "2026-11-10",
1564
+ "connectVersion": "1.5.0",
1565
+ "firmware": "",
1566
+ "testedBy": "KE",
1567
+ "checked": [
1568
+ "paperSize",
1569
+ "charsPerLine",
1570
+ "cut",
1571
+ "drawerKick",
1572
+ "qrMode",
1573
+ "codePage"
1574
+ ],
1575
+ "checkedPaperSizes": [
1576
+ "mm58",
1577
+ "mm80"
1578
+ ]
1579
+ }
1580
+ }
1581
+ }
1582
+ ],
1583
+ "expected": [
1584
+ {
1585
+ "id": "epson-tm-m30iii",
1586
+ "reason": "device_test_incomplete"
1587
+ }
1588
+ ]
1589
+ },
1590
+ {
1591
+ "name": "device test without testedBy",
1592
+ "printers": [
1593
+ {
1594
+ "id": "epson-tm-m30iii",
1595
+ "manufacturer": "Epson",
1596
+ "model": "TM-m30III",
1597
+ "matchNames": [
1598
+ "TM-M30III"
1599
+ ],
1600
+ "paperSizes": [
1601
+ "mm58",
1602
+ "mm80"
1603
+ ],
1604
+ "nativeCharsPerLine": 48,
1605
+ "values": {
1606
+ "paperSize": "mm80",
1607
+ "charsPerLine": 48,
1608
+ "cut": "partial",
1609
+ "drawerKick": true,
1610
+ "qrMode": "escpos",
1611
+ "codePage": "CP1252"
1612
+ },
1613
+ "approval": {
1614
+ "approved": true,
1615
+ "deviceTest": {
1616
+ "date": "2026-11-10",
1617
+ "connectVersion": "1.5.0",
1618
+ "firmware": "1.00",
1619
+ "testedBy": "",
1620
+ "checked": [
1621
+ "paperSize",
1622
+ "charsPerLine",
1623
+ "cut",
1624
+ "drawerKick",
1625
+ "qrMode",
1626
+ "codePage"
1627
+ ],
1628
+ "checkedPaperSizes": [
1629
+ "mm58",
1630
+ "mm80"
1631
+ ]
1632
+ }
1633
+ }
1634
+ }
1635
+ ],
1636
+ "expected": [
1637
+ {
1638
+ "id": "epson-tm-m30iii",
1639
+ "reason": "device_test_incomplete"
1640
+ }
1641
+ ]
1642
+ },
1643
+ {
1644
+ "name": "device test without connectVersion",
1645
+ "printers": [
1646
+ {
1647
+ "id": "epson-tm-m30iii",
1648
+ "manufacturer": "Epson",
1649
+ "model": "TM-m30III",
1650
+ "matchNames": [
1651
+ "TM-M30III"
1652
+ ],
1653
+ "paperSizes": [
1654
+ "mm58",
1655
+ "mm80"
1656
+ ],
1657
+ "nativeCharsPerLine": 48,
1658
+ "values": {
1659
+ "paperSize": "mm80",
1660
+ "charsPerLine": 48,
1661
+ "cut": "partial",
1662
+ "drawerKick": true,
1663
+ "qrMode": "escpos",
1664
+ "codePage": "CP1252"
1665
+ },
1666
+ "approval": {
1667
+ "approved": true,
1668
+ "deviceTest": {
1669
+ "date": "2026-11-10",
1670
+ "connectVersion": "",
1671
+ "firmware": "1.00",
1672
+ "testedBy": "KE",
1673
+ "checked": [
1674
+ "paperSize",
1675
+ "charsPerLine",
1676
+ "cut",
1677
+ "drawerKick",
1678
+ "qrMode",
1679
+ "codePage"
1680
+ ],
1681
+ "checkedPaperSizes": [
1682
+ "mm58",
1683
+ "mm80"
1684
+ ]
1685
+ }
1686
+ }
1687
+ }
1688
+ ],
1689
+ "expected": [
1690
+ {
1691
+ "id": "epson-tm-m30iii",
1692
+ "reason": "device_test_incomplete"
1693
+ }
1694
+ ]
1695
+ },
1696
+ {
1697
+ "name": "device test without the code page",
1698
+ "printers": [
1699
+ {
1700
+ "id": "epson-tm-m30iii",
1701
+ "manufacturer": "Epson",
1702
+ "model": "TM-m30III",
1703
+ "matchNames": [
1704
+ "TM-M30III"
1705
+ ],
1706
+ "paperSizes": [
1707
+ "mm58",
1708
+ "mm80"
1709
+ ],
1710
+ "nativeCharsPerLine": 48,
1711
+ "values": {
1712
+ "paperSize": "mm80",
1713
+ "charsPerLine": 48,
1714
+ "cut": "partial",
1715
+ "drawerKick": true,
1716
+ "qrMode": "escpos",
1717
+ "codePage": "CP1252"
1718
+ },
1719
+ "approval": {
1720
+ "approved": true,
1721
+ "deviceTest": {
1722
+ "date": "2026-11-10",
1723
+ "connectVersion": "1.5.0",
1724
+ "firmware": "1.00",
1725
+ "testedBy": "KE",
1726
+ "checked": [
1727
+ "paperSize",
1728
+ "charsPerLine",
1729
+ "cut",
1730
+ "drawerKick",
1731
+ "qrMode"
1732
+ ],
1733
+ "checkedPaperSizes": [
1734
+ "mm58",
1735
+ "mm80"
1736
+ ]
1737
+ }
1738
+ }
1739
+ }
1740
+ ],
1741
+ "expected": [
1742
+ {
1743
+ "id": "epson-tm-m30iii",
1744
+ "reason": "device_test_incomplete"
1745
+ }
1746
+ ]
1747
+ },
1748
+ {
1749
+ "name": "device test without the 58 mm paper size",
1750
+ "printers": [
1751
+ {
1752
+ "id": "epson-tm-m30iii",
1753
+ "manufacturer": "Epson",
1754
+ "model": "TM-m30III",
1755
+ "matchNames": [
1756
+ "TM-M30III"
1757
+ ],
1758
+ "paperSizes": [
1759
+ "mm58",
1760
+ "mm80"
1761
+ ],
1762
+ "nativeCharsPerLine": 48,
1763
+ "values": {
1764
+ "paperSize": "mm80",
1765
+ "charsPerLine": 48,
1766
+ "cut": "partial",
1767
+ "drawerKick": true,
1768
+ "qrMode": "escpos",
1769
+ "codePage": "CP1252"
1770
+ },
1771
+ "approval": {
1772
+ "approved": true,
1773
+ "deviceTest": {
1774
+ "date": "2026-11-10",
1775
+ "connectVersion": "1.5.0",
1776
+ "firmware": "1.00",
1777
+ "testedBy": "KE",
1778
+ "checked": [
1779
+ "paperSize",
1780
+ "charsPerLine",
1781
+ "cut",
1782
+ "drawerKick",
1783
+ "qrMode",
1784
+ "codePage"
1785
+ ],
1786
+ "checkedPaperSizes": [
1787
+ "mm80"
1788
+ ]
1789
+ }
1790
+ }
1791
+ }
1792
+ ],
1793
+ "expected": [
1794
+ {
1795
+ "id": "epson-tm-m30iii",
1796
+ "reason": "device_test_incomplete"
1797
+ }
1798
+ ]
1799
+ }
1800
+ ]
1801
+ }
1802
+ }