From b34e666c669e6246c950701d54a8de34ba18a892 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sat, 2 Dec 2023 11:27:02 +0100 Subject: [PATCH] collate and use inheritance --- data/profile/TM-U220B.yml | 11 ++-------- dist/capabilities.json | 43 +++++++++++++++++++++++++++++++++++++++ dist/capabilities.yml | 35 +++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 9 deletions(-) diff --git a/data/profile/TM-U220B.yml b/data/profile/TM-U220B.yml index ab549ed..89046f6 100644 --- a/data/profile/TM-U220B.yml +++ b/data/profile/TM-U220B.yml @@ -4,19 +4,12 @@ TM-U220B: name: TM-U220B vendor: Epson - inherits: simple + inherits: TM-U220 notes: Two-color impact printer with 76mm output features: bitImageRaster: false bitImageColumn: true highDensity: false paperPartCut: true - colors: - 0: black - 1: alternate - media: - width: - # @page 20 - mm: 63.4 - pixels: 400 + ... diff --git a/dist/capabilities.json b/dist/capabilities.json index f50f71f..62a9292 100644 --- a/dist/capabilities.json +++ b/dist/capabilities.json @@ -2620,6 +2620,49 @@ "notes": "Two-color impact printer with 80mm output", "vendor": "Epson" }, + "TM-U220B": { + "codePages": { + "0": "CP437" + }, + "colors": { + "0": "black", + "1": "alternate" + }, + "features": { + "barcodeA": false, + "barcodeB": false, + "bitImageColumn": true, + "bitImageRaster": false, + "graphics": false, + "highDensity": false, + "paperFullCut": false, + "paperPartCut": true, + "pdf417Code": false, + "pulseBel": false, + "pulseStandard": true, + "qrCode": false, + "starCommands": false + }, + "fonts": { + "0": { + "columns": 42, + "name": "Font A" + }, + "1": { + "columns": 56, + "name": "Font B" + } + }, + "media": { + "width": { + "mm": 63.4, + "pixels": 400 + } + }, + "name": "TM-U220B", + "notes": "Two-color impact printer with 76mm output", + "vendor": "Epson" + }, "TSP600": { "codePages": { "0": "CP437", diff --git a/dist/capabilities.yml b/dist/capabilities.yml index 1c7c3ed..7a2b706 100644 --- a/dist/capabilities.yml +++ b/dist/capabilities.yml @@ -3336,6 +3336,41 @@ profiles: notes: "Two-color impact printer with 80mm output" vendor: "Epson" + TM-U220B: + codePages: + 0: "CP437" + colors: + 0: "black" + 1: "alternate" + features: + barcodeA: no + barcodeB: no + bitImageColumn: yes + bitImageRaster: no + graphics: no + highDensity: no + paperFullCut: no + paperPartCut: yes + pdf417Code: no + pulseBel: no + pulseStandard: yes + qrCode: no + starCommands: no + fonts: + 0: + columns: 42 + name: "Font A" + 1: + columns: 56 + name: "Font B" + media: + width: + mm: 63.4 + pixels: 400 + name: "TM-U220B" + notes: "Two-color impact printer with 76mm output" + vendor: "Epson" + TSP600: codePages: