From ee57f809092e308cbb5572a05a8a9fa5092e975f Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 31 Jan 2019 06:30:07 +1100 Subject: [PATCH] add ZJ-5870 #47 --- data/profile/ZJ-5870.yml | 47 ++++++++++++++++++++++++++++++++++++++++ dist/capabilities.json | 46 +++++++++++++++++++++++++++++++++++++++ dist/capabilities.yml | 42 +++++++++++++++++++++++++++++++++++ 3 files changed, 135 insertions(+) create mode 100644 data/profile/ZJ-5870.yml diff --git a/data/profile/ZJ-5870.yml b/data/profile/ZJ-5870.yml new file mode 100644 index 0000000..3f7c7ca --- /dev/null +++ b/data/profile/ZJ-5870.yml @@ -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 +... diff --git a/dist/capabilities.json b/dist/capabilities.json index e113b21..c8f87a7 100644 --- a/dist/capabilities.json +++ b/dist/capabilities.json @@ -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", diff --git a/dist/capabilities.yml b/dist/capabilities.yml index 950dc9d..31a545b 100644 --- a/dist/capabilities.yml +++ b/dist/capabilities.yml @@ -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"