1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-12-02 09:43:30 +00:00

init capabilities

This commit is contained in:
Fabian Wicker
2023-04-17 12:21:48 +02:00
parent e420575eb6
commit 2b1374681f
38 changed files with 2467 additions and 214 deletions

View File

@@ -0,0 +1,668 @@
# encoding.yml: This file maps known code pages and other character encodings
# to a method of encoding.
#
# Its purpose is to account for the use of different code page names and
# implementations, so that drivers have a common data set to use for converting
# UTF-8 text into something that a printer is likely to understand.
#
# Where multiple encoders are listed, any of them can be used to give identical
# results.
---
CP037:
iconv: CP037
python_encode: cp037
CP038:
iconv: CP038
CP273:
iconv: CP273
python_encode: cp273
CP274:
iconv: CP274
CP275:
iconv: CP275
CP278:
iconv: CP278
CP280:
iconv: CP280
CP281:
iconv: CP281
CP282:
iconv: CP282
CP284:
iconv: CP284
CP285:
iconv: CP285
CP290:
iconv: CP290
CP297:
iconv: CP297
CP367:
iconv: CP367
CP420:
iconv: CP420
CP423:
iconv: CP423
CP424:
iconv: CP424
python_encode: cp424
CP437:
iconv: CP437
python_encode: cp437
CP500:
iconv: CP500
python_encode: cp500
CP720:
python_encode: cp720
CP737:
iconv: CP737
python_encode: cp737
CP747: {}
CP770:
iconv: CP770
CP771:
iconv: CP771
CP772:
iconv: CP772
CP773:
iconv: CP773
CP774:
iconv: CP774
CP775:
iconv: CP775
python_encode: cp775
CP803:
iconv: CP803
CP813:
iconv: CP813
CP819:
iconv: CP819
CP850:
iconv: CP850
python_encode: cp850
CP851:
name: "Greek CP851"
notes: "Not used, due to inconsistencies between implementations."
CP852:
iconv: CP852
python_encode: cp852
CP853: {}
CP855:
iconv: CP855
python_encode: cp855
CP856:
iconv: CP856
python_encode: cp856
CP857:
iconv: CP857
python_encode: cp857
CP858:
python_encode: cp858
CP860:
iconv: CP860
python_encode: cp860
CP861:
iconv: CP861
python_encode: cp861
CP862:
iconv: CP862
python_encode: cp862
CP863:
iconv: CP863
python_encode: cp863
CP864:
iconv: CP864
python_encode: cp864
CP865:
iconv: CP865
python_encode: cp865
CP866:
iconv: CP866
python_encode: cp866
CP866NAV:
iconv: CP866NAV
CP868:
iconv: CP868
CP869:
iconv: CP869
python_encode: cp869
CP870:
iconv: CP870
CP871:
iconv: CP871
CP874:
iconv: CP874
python_encode: cp874
CP875:
iconv: CP875
python_encode: cp875
CP880:
iconv: CP880
CP891:
iconv: CP891
CP901:
iconv: CP901
CP902:
iconv: CP902
CP903:
iconv: CP903
CP904:
iconv: CP904
CP905:
iconv: CP905
CP912:
iconv: CP912
CP915:
iconv: CP915
CP916:
iconv: CP916
CP918:
iconv: CP918
CP920:
iconv: CP920
CP921:
iconv: CP921
CP922:
iconv: CP922
CP928: {}
CP930:
iconv: CP930
CP932:
iconv: CP932
python_encode: cp932
CP933:
iconv: CP933
CP935:
iconv: CP935
CP936:
iconv: CP936
CP937:
iconv: CP937
CP939:
iconv: CP939
CP949:
iconv: CP949
python_encode: cp949
CP950:
iconv: CP950
python_encode: cp950
CP1001:
name: Unimplemented Star-specific CP1001
CP1004:
iconv: CP1004
CP1006:
python_encode: cp1006
CP1008:
iconv: CP1008
CP1025:
iconv: CP1025
CP1026:
iconv: CP1026
python_encode: cp1026
CP1046:
iconv: CP1046
CP1047:
iconv: CP1047
CP1070:
iconv: CP1070
CP1079:
iconv: CP1079
CP1081:
iconv: CP1081
CP1084:
iconv: CP1084
CP1089:
iconv: CP1089
CP1097:
iconv: CP1097
CP1098: {}
CP1112:
iconv: CP1112
CP1122:
iconv: CP1122
CP1123:
iconv: CP1123
CP1124:
iconv: CP1124
CP1125:
iconv: CP1125
python_encode: cp1125
CP1129:
iconv: CP1129
CP1130:
iconv: CP1130
CP1132:
iconv: CP1132
CP1133:
iconv: CP1133
CP1137:
iconv: CP1137
CP1140:
iconv: CP1140
python_encode: cp1140
CP1141:
iconv: CP1141
CP1142:
iconv: CP1142
CP1143:
iconv: CP1143
CP1144:
iconv: CP1144
CP1145:
iconv: CP1145
CP1146:
iconv: CP1146
CP1147:
iconv: CP1147
CP1148:
iconv: CP1148
CP1149:
iconv: CP1149
CP1153:
iconv: CP1153
CP1154:
iconv: CP1154
CP1155:
iconv: CP1155
CP1156:
iconv: CP1156
CP1157:
iconv: CP1157
CP1158:
iconv: CP1158
CP1160:
iconv: CP1160
CP1161:
iconv: CP1161
CP1162:
iconv: CP1162
CP1163:
iconv: CP1163
CP1164:
iconv: CP1164
CP1166:
iconv: CP1166
CP1167:
iconv: CP1167
CP1250:
iconv: CP1250
python_encode: cp1250
CP1251:
iconv: CP1251
python_encode: cp1251
CP1252:
iconv: CP1252
python_encode: cp1252
CP1253:
iconv: CP1253
python_encode: cp1253
CP1254:
iconv: CP1254
python_encode: cp1254
CP1255:
iconv: CP1255
python_encode: cp1255
CP1256:
iconv: CP1256
python_encode: cp1256
CP1257:
iconv: CP1257
python_encode: cp1257
CP1258:
iconv: CP1258
python_encode: cp1258
CP1282:
iconv: CP1282
CP1361:
iconv: CP1361
CP1364:
iconv: CP1364
CP1371:
iconv: CP1371
CP1388:
iconv: CP1388
CP1390:
iconv: CP1390
CP1399:
iconv: CP1399
CP2001:
name: Unimplemented Star-specific CP2001
CP3001:
name: Unimplemented Star-specific CP3001
CP3002:
name: Unimplemented Star-specific CP3002
CP3011:
name: "CP3011 Latvian"
data:
- "ÇüéâäàåçêëèïîìÄÅ"
- "ÉæÆôöòûùÿÖÜ¢£¥₧ƒ"
- "áíóúñѪº¿⌐¬½¼¡«»"
- "░▒▓│┤Ā╢ņ╕╣║╗╝╜╛┐"
- "└┴┬├─┼ā╟╚╔╩╦╠═╬╧"
- "Š╤čČ╘╒ģĪī┘┌█▄ūŪ▀"
- "αßΓπΣσµτΦΘΩδ∞φε∩"
- "ĒēĢķĶļĻžŽ∙·√Ņš■ "
CP3012:
name: "CP3012 Cyrillic"
data:
- "АБВГДЕЖЗИЙКЛМНОП"
- "РСТУФХЦЧШЩЪЫЬЭЮЯ"
- "абвгдежзийклмноп"
- "░▒▓│┤Ā╢ņ╕╣║╗╝Ō╛┐"
- "└┴┬├─┼ā╟╚╔╩╦╠═╬╧"
- "Š╤čČ╘╒ģĪī┘┌█▄ūŪ▀"
- "рстуфхцчшщъыьэюя"
- "ĒēĢķĶļĻžŽ∙·√Ņš■ "
CP3021:
name: Unimplemented Star-specific CP3021
CP3041:
name: Unimplemented Star-specific CP3041
CP3840:
name: Unimplemented Star-specific CP3840
CP3841:
name: Unimplemented Star-specific CP3841
CP3843:
name: Unimplemented Star-specific CP3843
CP3844:
name: Unimplemented Star-specific CP3844
CP3845:
name: Unimplemented Star-specific CP3845
CP3847:
name: Unimplemented Star-specific CP3847
CP3846:
name: Unimplemented Star-specific CP3846
CP3848:
name: Unimplemented Star-specific CP3848
CP4517:
iconv: CP4517
CP4899:
iconv: CP4899
CP4909:
iconv: CP4909
CP4971:
iconv: CP4971
CP5347:
iconv: CP5347
CP9030:
iconv: CP9030
CP9066:
iconv: CP9066
CP9448:
iconv: CP9448
CP10007:
iconv: CP10007
CP12712:
iconv: CP12712
CP16804:
iconv: CP16804
ISO_8859-1:
iconv: "ISO_8859-1"
python_encode: "latin_1"
ISO_8859-2:
iconv: "ISO_8859-2"
python_encode: "iso8859_2"
ISO_8859-3:
iconv: "ISO_8859-3"
python_encode: "iso8859_3"
ISO_8859-4:
iconv: "ISO_8859-4"
python_encode: "iso8859_4"
ISO_8859-5:
iconv: "ISO_8859-5"
python_encode: "iso8859_5"
ISO_8859-6:
iconv: "ISO_8859-6"
python_encode: "iso8859_6"
ISO_8859-7:
iconv: "ISO_8859-7"
python_encode: "iso8859_7"
ISO_8859-8:
iconv: "ISO_8859-8"
python_encode: "iso8859_8"
ISO_8859-9:
iconv: "ISO_8859-9"
python_encode: "iso8859_9"
ISO_8859-10:
iconv: "ISO_8859-10"
python_encode: "iso8859-10"
ISO_8859-11:
iconv: "ISO_8859-11"
python_encode: "iso8859-11"
ISO_8859-13:
iconv: "ISO_8859-13"
python_encode: "iso8859-13"
ISO_8859-14:
iconv: "ISO_8859-14"
python_encode: "iso8859-14"
ISO_8859-15:
iconv: "ISO_8859-15"
python_encode: "iso8859-15"
ISO_8859-16:
iconv: "ISO_8859-16"
python_encode: "iso8859_16"
RK1048:
iconv: RK1048
TCVN-3-1:
name: "Vietnamese TCVN-3 1"
data:
- " "
- " "
- " ăâêôơưđ "
- " àảãáạ ằẳẵắ "
- " ặầẩẫấậè ẻẽ"
- "éẹềểễếệìỉ ĩíịò"
- " ỏõóọồổỗốộờởỡớợù"
- " ủũúụừửữứựỳỷỹýỵ "
TCVN-3-2:
name: "Vietnamese TCVN-3 1"
data:
- " "
- " "
- " ĂÂ Ð ÊÔƠƯ "
- " ÀẢÃÁẠ ẰẲẴẮ "
- " ẶẦẨẪẤẬÈ ẺẼ"
- "ÉẸỀỂỄẾỆÌỈ ĨÍỊÒ"
- " ỎÕÓỌỒỔỖỐỘỜỞỠỚỢÙ"
- " ỦŨÚỤỪỬỮỨỰỲỶỸÝỴ "
OXHOO-EUROPEAN:
name: Oxhoo-specific European
data:
- "ÇüéâäàåçêëèïîìÄÅ"
- "ÉæÆôöòûùÿÖÜñѪº¿"
- "áíóú¢£¥₧ƒ¡ÃãÕõØø"
- "·¨°`´½¼×÷≤≥«»≠√¯"
- "⌠⌡∞◤↵↑↓→←┌┐└┘•®©"
# Some unidentified chars
- "™†§¶Γ◢Θ "
- "ß ε "
- "τ "
Unknown:
name: Unknown
notes: Code page that has not yet been identified.
...

View File

@@ -0,0 +1,29 @@
---
AF-240:
name: AF-240 Customer Display
vendor: Oxhoo
inherits: simple
features:
bitImageRaster: false
bitImageColumn: false
graphics: false
highDensity: false
pulseStandard: false
fonts:
0:
name: Font A
columns: 20
media:
width:
# Approximate measurement
mm: 120
# 5x7 pixels per char, by 20 columns.
pixels: 100
notes: >
This is a two-line, ESC/POS-aware customer display from Oxhoo. The ESC/POS
command mode can be activated persistently by sending:
echo -ne "\n\x02\x05\x43\x31\x03" > /dev/ttyUSB0
codePages:
0: OXHOO-EUROPEAN
...

View File

@@ -0,0 +1,70 @@
---
CT-S651:
name: CT-S651
vendor: "Citizen"
inherits: default
notes: >
Citizen CT-S651 profile. This is a two-color thermal printer,
supporting paper sizes from 58mm up to 83mm
features:
barcodeA: true
barcodeB: true
bitImageRaster: true
bitImageColumn: true
graphics: true
starCommands: false
qrCode: true
pdf417Code: true
highDensity: true
pulseStandard: true
pulseBel: true
paperFullCut: true
paperPartCut: true
colors:
0: black
1: red
fonts:
0:
name: Font A
columns: 48
1:
name: Font B
columns: 64
2:
name: Font C
columns: 72
media:
width:
mm: 80
pixels: 640
codePages:
0: CP437
1: CP932
2: CP850
3: CP860
4: CP863
5: CP865
6: CP852
7: CP866
8: CP857
9: CP1252
16: CP1252
17: CP866
18: CP852
19: CP858
# Thai code11 1 Pass
20: Unknown
# Thai code11 3 Pass
21: Unknown
# Thai code18 1 Pass
25: Unknown
# Thai code18 3 Pass
26: Unknown
# TCVN3
30: TCVN-3-1
# TCVN3 Caps
31: TCVN-3-2
40: CP864
# Space page (For user setting)
255: Unknown
...

View File

@@ -0,0 +1,8 @@
---
NT-5890K:
name: NT-5890K
vendor: Netum
inherits: POS-5890
notes: ""
features:
bitImageColumn: true

View File

@@ -0,0 +1,50 @@
---
OCD-100:
name: OCD-100 Customer Display
vendor: Aures
inherits: simple
features:
bitImageRaster: false
bitImageColumn: false
graphics: false
highDensity: false
pulseStandard: false
fonts:
0:
name: Font A
columns: 20
media:
width:
# 9x5.25mm per char, by 20 columns.
mm: 180
# 5x7 pixels per char, by 20 columns.
pixels: 100
notes: >
This is a two-line, ESC/POS-aware customer display from Aures. It has some
graphics support via custom fonts, but is otherwise text-only.
This profile is also suitable for the OCD-150 pole-mounted display.
codePages:
0: CP437
# Katakana (for Japan)
1: CP932
2: CP850
3: CP860
4: CP863
5: CP865
# Slawie
6: Unknown
# Russia
7: Unknown
# Greek
8: Unknown
9: CP852
10: CP862
11: CP866
12: CP1251
13: CP1254
14: CP1255
15: CP1257
16: CP1252
17: CP1253
19: CP858
...

View File

@@ -0,0 +1,51 @@
---
OCD-300:
name: OCD-300 Customer Display
vendor: Aures
inherits: simple
features:
bitImageRaster: false
bitImageColumn: false
graphics: false
highDensity: false
pulseStandard: false
fonts:
0:
name: Font A
columns: 20
media:
width:
mm: 130.2
# 12x32 pixels per char
pixels: 240
notes: >
This is a two-line, ESC/POS-aware customer display from Aures. It has some
graphics support via vendor-provided tools, but is otherwise text-only.
codePages:
0: CP437
# Katakana (for Japan)
1: CP932
2: CP850
3: CP860
4: CP863
5: CP865
# Slawie
6: Unknown
# Russia
7: Unknown
# Greek
8: Unknown
9: CP852
10: CP862
11: CP866
12: CP1251
13: CP1254
14: CP1255
15: CP1257
16: CP1252
17: CP1253
18: CP1250
19: CP858
# Arabic
20: Unknown
...

View File

@@ -0,0 +1,96 @@
---
P822D:
name: P822D
vendor: PBM
inherits: default
notes: ""
features:
graphics: false
codePages:
0: CP437
# Katakana
1: Unknown
2: CP850
3: CP860
4: CP863
5: CP865
# Western Europe
6: Unknown
# Greek
7: Unknown
# Hebrew
8: Unknown
# Eastern europe
9: Unknown
# Iran
10: Unknown
16: CP1252
17: CP866
18: CP852
19: CP858
# Iran II
20: Unknown
# latvian
21: Unknown
# Arabic
22: Unknown
# PT151, 1251
23: Unknown
24: CP747
25: CP1257
# Vietnam
27: Unknown
28: CP864
29: CP1001
# Uigur
30: Unknown
# Hebrew
31: Unknown
32: CP1255
33: CP720
34: CP1256
35: CP1257
# Thai
255: Unknown
50: CP437
# Jatakana
51: Unknown
52: CP437
53: CP858
54: CP852
55: CP860
56: CP861
57: CP863
58: CP865
59: CP866
60: CP855
61: CP857
62: CP862
63: CP864
64: CP737
65: CP851
66: CP869
67: CP928
68: CP772
69: CP774
70: CP874
71: CP1252
72: CP1250
73: CP1251
74: CP3840
75: CP3841
76: CP3843
77: CP3844
78: CP3845
79: CP3846
80: CP3847
81: CP3848
82: CP1001
83: CP2001
84: CP3001
85: CP3002
86: CP3011
87: CP3012
88: CP3021
89: CP3041
...

View File

@@ -0,0 +1,100 @@
---
POS-5890:
name: POS5890 Series
vendor: Zjiang
inherits: simple
fonts:
0:
name: Font A
columns: 32
1:
name: Font B
columns: 42
media:
width:
mm: 57.5
pixels: 384
notes: >
POS-5890 thermal printer series, also marketed under various other names.
codePages:
0: CP437
1: CP932
2: CP850
3: CP860
4: CP863
5: CP865
# West Europe
6: Unknown
# Greek
7: Unknown
# Hebrew
8: Unknown
# East Europe
9: Unknown
# Iran
10: Unknown
16: CP1252
17: CP866
18: CP852
19: CP858
# Iran II
20: Unknown
# Latvian
21: Unknown
# Arabic
22: Unknown
# PT151, 1251
23: Unknown
24: CP747
25: CP1257
27: CP1258
28: CP864
# Hebrew
31: Unknown
32: CP1255
50: CP437
52: CP437
53: CP858
54: CP852
55: CP860
56: CP861
57: CP863
58: CP865
59: CP866
60: CP855
61: CP857
62: CP862
63: CP864
64: CP737
65: CP851
66: CP869
68: CP772
69: CP774
71: CP1252
72: CP1250
73: CP1251
74: CP3840
76: CP3843
77: CP3844
78: CP3845
79: CP3846
80: CP3847
81: CP3848
83: CP2001
84: CP3001
85: CP3002
86: CP3011
87: CP3012
88: CP3021
89: CP3041
90: CP1253
91: CP1254
92: CP1256
93: CP720
94: CP1258
95: CP775
# Thai 2
96: Unknown
# Thai
255: Unknown
...

View File

@@ -0,0 +1,63 @@
---
RP326:
name: RP326
vendor: Rongta
inherits: default
notes: ""
features:
graphics: false
codePages:
0: CP437
# Katakana
1: Unknown
2: CP850
3: CP860
4: CP863
5: CP865
6: CP1251
7: CP866
# MIK[Cyrillic /Bulgarian]
8: Unknown
# CP755
9: Unknown
# Iran
10: Unknown
15: CP862
16: CP1252
17: CP1253
18: CP852
19: CP858
# Iran II
20: Unknown
# Latvian
21: Unknown
# Arabic
22: Unknown
23: ISO_8859-1
24: CP737
25: CP1257
# Thai
26: Unknown
27: CP720
28: CP855
29: CP857
30: CP1250
31: CP775
32: CP1254
33: CP1255
34: CP1256
35: CP1258
36: ISO_8859-2
37: ISO_8859-3
38: ISO_8859-4
39: ISO_8859-5
40: ISO_8859-6
41: ISO_8859-7
42: ISO_8859-8
43: ISO_8859-9
44: ISO_8859-15
# Thai
45: Unknown
46: CP856
47: CP874
...

View File

@@ -0,0 +1,67 @@
---
SP2000:
name: SP2000 Series
vendor: Star Micronics
inherits: default
notes: Star SP2000 impact printer series with ESC/POS emulation enabled
features:
starCommands: true
codePages:
# "Normal"
0: CP437
1: CP437
2: CP932
3: CP437
4: CP858
5: CP852
6: CP860
7: CP861
8: CP863
9: CP865
10: CP866
11: CP855
12: CP857
13: CP862
14: CP864
15: CP737
16: CP851
17: CP869
18: CP928
19: CP772
20: CP774
21: CP874
32: CP1252
33: CP1250
34: CP1251
64: CP3840
65: CP3841
66: CP3843
67: CP3844
68: CP3845
69: CP3846
70: CP3847
71: CP3848
72: CP1001
73: CP2001
74: CP3001
75: CP3002
76: CP3011
77: CP3012
78: CP3021
79: CP3041
# Thai Character Code 42
96: Unknown
# Thai Character Code 11
97: Unknown
# Thai Character Code 13
98: Unknown
# Thai Character Code 14
99: Unknown
# Thai Character Code 16
100: Unknown
# Thai Character Code 17
101: Unknown
# Thai Character Code 18
102: Unknown
255: Unknown
...

View File

@@ -0,0 +1,51 @@
---
Sunmi-V2:
name: Sunmi V2
vendor: Sunmi
notes: >
Sunmi mini-POS Android device with a built-in Virtual Bluetooth
thermal printer.
inherits: default
features:
# column mode doesn't work reliably on this device
bitImageColumn: false
bitImageRaster: true
# not tested, status unknown
graphics: false
# has no paper cutter
paperFullCut: false
paperPartCut: false
colors:
0: black
fonts:
0:
name: Font A
columns: 32
1:
name: Font B
columns: 42
media:
width:
mm: 57.5
pixels: 384
codePages:
0: CP437
2: CP850
3: CP860
4: CP863
5: CP865
13: CP857
14: CP737
15: ISO_8859-7
16: CP1252
17: CP866
18: CP852
19: CP858
# Thai Character Code 11
21: CP874
33: CP775
34: CP855
36: CP862
37: CP864
254: CP855
...

View File

@@ -0,0 +1,9 @@
---
# More info on this printer is posted at
# https://github.com/mike42/escpos-php/issues/6
TEP-200M:
name: TEP200M Series
vendor: EPOS
notes: ""
inherits: default
...

View File

@@ -0,0 +1,21 @@
---
TM-P80-42col:
name: TM-P80 (42 column mode)
vendor: Epson
inherits: TM-P80
notes: Portable printer (42-column mode)
fonts:
0:
name: Font A
columns: 42
1:
name: Font B
columns: 60
2:
name: Kanji
columns: 21
media:
width:
mm: 63.6
pixels: 546
...

View File

@@ -0,0 +1,21 @@
---
TM-P80:
name: TM-P80
vendor: Epson
inherits: default
notes: Portable printer (48-column mode)
fonts:
0:
name: Font A
columns: 42
1:
name: Font B
columns: 56
2:
name: Kanji
columns: 24
media:
width:
mm: 72
pixels: 576
...

View File

@@ -0,0 +1,109 @@
---
TM-T88II:
name: TM-T88II
vendor: "Epson"
inherits: default
notes: >
Epson TM-T88II profile. The specs where taken from a TM-T88IIP machine
(I assume the P just stands for parallel port). The standart 80mm paper
width version was used here. There is also a custom 58mm factory option.
If you are using the custom version change media width to 50.8mm and
360px accordingly. This printer is discontinued by the Vendor and has
similar feature support to the TM-T88III. The code page mapping is
documented in the "TM-T88II/T88III Technical Reference Guide".
fonts:
0:
name: Font A
columns: 42
1:
name: Font B
columns: 56
media:
width:
mm: 72
pixels: 512
codePages:
0: CP437
1: CP932
2: CP850
3: CP860
4: CP863
5: CP865
# Hiragana
6: Unknown
# One-pass printing Kanji characters
7: Unknown
# One-pass printing Kanji characters
8: Unknown
11: Unknown
12: Unknown
13: CP857
14: CP737
15: ISO_8859-7
16: CP1252
17: CP866
18: CP852
19: Unknown
# Thai Character Code 42
20: Unknown
# Thai Character Code 11
21: CP874
# Thai Character Code 13
22: Unknown
# Thai Character Code 14
23: Unknown
# Thai Character Code 16
24: Unknown
# Thai Character Code 17
25: Unknown
# Thai Character Code 18
26: Unknown
30: TCVN-3-1
31: TCVN-3-2
32: Unknown
33: CP775
34: CP855
35: CP861
36: CP862
37: CP864
38: CP869
39: ISO_8859-2
40: ISO_8859-15
41: Unknown
42: CP774
43: CP772
44: CP1125
45: CP1250
46: CP1251
47: CP1253
48: CP1254
49: CP1255
50: CP1256
51: CP1257
52: CP1258
53: RK1048
# Devanagari
66: Unknown
# Bengali
67: Unknown
# Tamil
68: Unknown
# Telugu
69: Unknown
# Assamese
70: Unknown
# Oriya
71: Unknown
# Kannada
72: Unknown
# Malayalam
73: Unknown
# Gujarati
74: Unknown
# Punjabi
75: Unknown
# Marathi
82: Unknown
254: Unknown
255: Unknown
...

View File

@@ -0,0 +1,22 @@
---
TM-T88III:
name: TM-T88III
vendor: "Epson"
inherits: default
notes: >
Epson TM-T88III profile. This printer has similar feature support to the
TM-T88II. The code page mapping is documented in the
"TM-T88II/T88III Technical Reference Guide".
codePages:
0: CP437
1: CP932
2: CP850
3: CP860
4: CP863
5: CP865
16: CP1252
17: CP866
18: CP862
19: CP858
255: Unknown
...

View File

@@ -0,0 +1,25 @@
---
TM-T88IV-SA:
name: TM-T88IV South Asia
vendor: "Epson"
inherits: TM-T88IV
notes: >
Epson TM-T88IV profile (South Asia models)
fonts:
0:
name: Font A
columns: 42
1:
name: Font B
columns: 56
codePages:
0: CP437
# Thai Character Code 42
20: Unknown
# Thai Character Code 11
21: CP874
# Thai Character Code 18
26: Unknown
30: TCVN-3-1
31: TCVN-3-2
...

View File

@@ -0,0 +1,31 @@
---
TM-T88IV:
name: TM-T88IV
vendor: "Epson"
inherits: default
notes: >
Epson TM-T88IV profile
media:
width:
mm: 80
pixels: 512
fonts:
0:
name: Font A
columns: 42
1:
name: Font B
columns: 56
codePages:
0: CP437
1: CP932
2: CP850
3: CP860
4: CP863
5: CP865
16: CP1252
17: CP866
18: CP852
19: CP858
255: Unknown
...

View File

@@ -0,0 +1,57 @@
---
TM-T88V:
name: TM-T88V
vendor: "Epson"
inherits: default
notes: >
Epson TM-T88V profile
media:
width:
mm: 80
pixels: 512
fonts:
0:
name: Font A
columns: 42
1:
name: Font B
columns: 56
codePages:
0: CP437
1: CP932
2: CP850
3: CP860
4: CP863
5: CP865
11: CP851
12: CP853
13: CP857
14: CP737
15: ISO_8859-7
16: CP1252
17: CP866
18: CP852
19: CP858
30: TCVN-3-1
31: TCVN-3-2
32: CP720
33: CP775
34: CP855
35: CP861
36: CP862
37: CP864
38: CP869
39: ISO_8859-2
40: ISO_8859-15
41: CP1098
45: CP1250
46: CP1251
47: CP1253
48: CP1254
49: CP1255
50: CP1256
51: CP1257
52: CP1258
53: RK1048
255: Unknown
...

View File

@@ -0,0 +1,18 @@
---
TM-U220:
name: TM-U220
vendor: Epson
inherits: simple
notes: Two-color impact printer with 80mm output
features:
bitImageRaster: false
bitImageColumn: true
highDensity: false
colors:
0: black
1: alternate
media:
width:
mm: 80
pixels: Unknown
...

View File

@@ -0,0 +1,7 @@
---
TSP600:
name: TSP600 Series
vendor: Star Micronics
inherits: SP2000
notes: Star TSP600 thermal printer series with ESC/POS emulation enabled
...

View File

@@ -0,0 +1,7 @@
---
TUP500:
name: TUP500 Series
vendor: Star Micronics
inherits: SP2000
notes: Star TUP500 thermal printer series with ESC/POS emulation enabled
...

View File

@@ -0,0 +1,47 @@
---
ZJ-5870:
name: ZJ-5870 Thermal Receipt Printer
vendor: ZiJiang
notes: >
ESC/POS Profile for ZiJiang ZJ-5870 Thermal Receipt Printer,
which may be branded AGPtEK or Esky,
and identifies itself as a POS-58 Thermal Printer on selftest.
This profile is suitable for alphanumberic character mode,
but is untested on Chinese character mode.
(Change modes by holding down feed button during power-on
until the mode LED turns off, then release immediately.)
features:
barcodeA: false
barcodeB: false
bitImageRaster: true
bitImageColumn: true
graphics: false
starCommands: false
qrCode: false
pdf417Code: false
highDensity: false
pulseStandard: true
pulseBel: false
paperFullCut: false
paperPartCut: false
colors:
0: black
fonts:
0:
name: Font A
columns: 32
media:
width:
mm: 48
pixels: 384
codePages:
0: CP437
1: CP932
2: CP850
3: CP860
4: CP863
5: CP865
16: CP1252
17: CP866
18: CP852
...

View File

@@ -0,0 +1,120 @@
---
default:
name: Default
vendor: Generic
notes: >
Default ESC/POS profile, suitable for standards-compliant or
Epson-branded printers. This profile allows the use of standard
ESC/POS features, and can encode a variety of code pages.
features:
barcodeA: true
barcodeB: true
bitImageRaster: true
bitImageColumn: true
graphics: true
starCommands: false
qrCode: true
pdf417Code: true
highDensity: true
pulseStandard: true
pulseBel: false
paperFullCut: true
paperPartCut: true
colors:
0: black
fonts:
0:
name: Font A
columns: 42
1:
name: Font B
columns: 56
media:
width:
mm: Unknown
pixels: Unknown
codePages:
0: CP437
1: CP932
2: CP850
3: CP860
4: CP863
5: CP865
# Hiragana
6: Unknown
# One-pass printing Kanji characters
7: Unknown
# One-pass printing Kanji characters
8: Unknown
11: CP851
12: CP853
13: CP857
14: CP737
15: ISO_8859-7
16: CP1252
17: CP866
18: CP852
19: CP858
# Thai Character Code 42
20: Unknown
# Thai Character Code 11
21: CP874
# Thai Character Code 13
22: Unknown
# Thai Character Code 14
23: Unknown
# Thai Character Code 16
24: Unknown
# Thai Character Code 17
25: Unknown
# Thai Character Code 18
26: Unknown
30: TCVN-3-1
31: TCVN-3-2
32: CP720
33: CP775
34: CP855
35: CP861
36: CP862
37: CP864
38: CP869
39: ISO_8859-2
40: ISO_8859-15
41: CP1098
42: CP774
43: CP772
44: CP1125
45: CP1250
46: CP1251
47: CP1253
48: CP1254
49: CP1255
50: CP1256
51: CP1257
52: CP1258
53: RK1048
# Devanagari
66: Unknown
# Bengali
67: Unknown
# Tamil
68: Unknown
# Telugu
69: Unknown
# Assamese
70: Unknown
# Oriya
71: Unknown
# Kannada
72: Unknown
# Malayalam
73: Unknown
# Gujarati
74: Unknown
# Punjabi
75: Unknown
# Marathi
82: Unknown
254: Unknown
255: Unknown
...

View File

@@ -0,0 +1,21 @@
---
simple:
name: Simple
vendor: Generic
inherits: default
notes: >
A profile for use in printers with unknown or poor compatibility. This
profile indicates that a small number of features are supported, so that
commands are not sent a printer that is unlikely to understand them.
features:
barcodeA: false
barcodeB: false
bitImageColumn: false
graphics: false
qrCode: false
pdf417Code: false
paperFullCut: false
paperPartCut: false
codePages:
0: CP437
...