Skip to content

Commit

Permalink
add ZJ-5870 #47
Browse files Browse the repository at this point in the history
  • Loading branch information
mike42 committed Jan 30, 2019
1 parent 65ae69e commit ee57f80
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 0 deletions.
47 changes: 47 additions & 0 deletions data/profile/ZJ-5870.yml
Original file line number Diff line number Diff line change
@@ -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
...
46 changes: 46 additions & 0 deletions dist/capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,52 @@
"notes": "Star TUP500 thermal printer series with ESC/POS emulation enabled",
"vendor": "Star Micronics"
},
"ZJ-5870": {
"codePages": {
"0": "CP437",
"1": "CP932",
"2": "CP850",
"3": "CP860",
"4": "CP863",
"5": "CP865",
"16": "CP1252",
"17": "CP866",
"18": "CP852"
},
"colors": {
"0": "black"
},
"features": {
"barcodeA": false,
"barcodeB": false,
"bitImageColumn": true,
"bitImageRaster": true,
"graphics": false,
"highDensity": false,
"paperFullCut": false,
"paperPartCut": false,
"pdf417Code": false,
"pulseBel": false,
"pulseStandard": true,
"qrCode": false,
"starCommands": false
},
"fonts": {
"0": {
"columns": 32,
"name": "Font A"
}
},
"media": {
"width": {
"mm": 48,
"pixels": 384
}
},
"name": "ZJ-5870 Thermal Receipt Printer",
"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.)\n",
"vendor": "ZiJiang"
},
"default": {
"codePages": {
"0": "CP437",
Expand Down
42 changes: 42 additions & 0 deletions dist/capabilities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,48 @@ profiles:
name: "TUP500 Series"
notes: "Star TUP500 thermal printer series with ESC/POS emulation enabled"
vendor: "Star Micronics"
ZJ-5870:
codePages:
0: "CP437"
1: "CP932"
2: "CP850"
3: "CP860"
4: "CP863"
5: "CP865"
16: "CP1252"
17: "CP866"
18: "CP852"
colors:
0: "black"
features:
barcodeA: false
barcodeB: false
bitImageColumn: true
bitImageRaster: true
graphics: false
highDensity: false
paperFullCut: false
paperPartCut: false
pdf417Code: false
pulseBel: false
pulseStandard: true
qrCode: false
starCommands: false
fonts:
0:
columns: 32
name: "Font A"
media:
width:
mm: 48
pixels: 384
name: "ZJ-5870 Thermal Receipt Printer"
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.)\n"
vendor: "ZiJiang"
default:
codePages:
0: "CP437"
Expand Down

0 comments on commit ee57f80

Please sign in to comment.