diff --git a/data/profile/ITPP047.yml b/data/profile/ITPP047.yml new file mode 100644 index 0000000..df910f4 --- /dev/null +++ b/data/profile/ITPP047.yml @@ -0,0 +1,52 @@ +--- +ITPP047: + name: ITPP047 + vendor: "Munbyn" + notes: > + Munbyn ITPP047/ITPP102 receipt printer with cutter. + + This printer has all the standard features, but a + somewhat reduced codepage set. This profile might work + for other china printers (Meihengtong, ...), too. + + For technical information, go to support.munbyn.com, + look for "Printer - Drivers / SDK", then download the + "ITPP047 SDK", which contains the "ITPP047 Program Manual". + inherits: default + media: + width: + mm: 80 + pixels: 512 + codePages: + 0: CP437 + # Katakana (for Japan) + 1: CP932 + # PC850: Multilingual + 2: CP850 + # PC860: Portuguese + 3: CP860 + # PC863 [Canadian French] + 4: CP863 + # PC865:Nodic + 5: CP865 + # West Europe (actually CP1252) + 6: CP1252 + # Greek + 7: Unknown + # Hebrew + 8: Unknown + # CP755 + 9: Unknown + # Iran + 10: Unknown + # docs claim this to be CP1252, but it isn't + # 16: CP1252 + 16: Unknown + 17: CP866 + 18: CP852 + 19: CP858 + # Iran II + 20: Unknown + # Latvian + 21: Unknown +... diff --git a/data/profile/mcPrint.yml b/data/profile/mcPrint.yml new file mode 100644 index 0000000..b91050a --- /dev/null +++ b/data/profile/mcPrint.yml @@ -0,0 +1,102 @@ +--- +mcPrint: + name: Star mcPrint2/mcPrint3 + vendor: "Star Micronics" + inherits: default + notes: > + Star mcPrint2/mcPrint3 printers. Technical documentation is in + the "StarPRNT Command specifications Rev. 2.40" document, which + can be found online. + features: + starCommands: true + codePages: + # "Normal". The actual content of this page can be changed by + # memory switches, so it's not really usable. + 0: Unknown + 1: CP437 + # Katakana + 2: CP932 + 3: CP437 + 4: CP858 + 5: CP852 + 6: CP860 + # Icelandic + 7: CP861 + # Canadian French + 8: CP863 + # Nordic + 9: CP865 + # Cyrillic Russian + 10: CP866 + # Cyrillic Bulgarian + 11: CP855 + # Turkey + 12: CP857 + # Israel (Hebrew) + 13: CP862 + # Arabic + 14: CP864 + # Greek + 15: CP737 + # Greek + 16: CP851 + # Greek + 17: CP869 + # Greek + 18: CP928 + # Lithuanian + 19: CP772 + # Lithuanian + 20: CP774 + # Thai (disabled because Euro sign is missing) + # 21: CP874 + 21: Unknown + # Windows Latin-1 + 32: CP1252 + # Windows Latin-2 + 33: CP1250 + # Windows Cyrillic + 34: CP1251 + # IBM Russian + 64: CP3840 + # Gost + 65: CP3841 + # Polish + 66: CP3843 + # CS2 + 67: CP3844 + # Hungarian + 68: CP3845 + # Turkish + 69: CP3846 + # Brazil-ABNT + 70: CP3847 + # Brazil-ABICOMP + 71: CP3848 + # Arabic + 72: CP1001 + # Lithuanian-KBL + 73: CP2001 + # Estonian-1 + 74: CP3001 + # Estonan-2 + 75: CP3002 + # Latvian-1 + 76: CP3011 + # Latvian-2 + 77: CP3012 + # Bulgarian + 78: CP3021 + # Maltese + 79: CP3041 + # Thai Character Code 42 + 96: Unknown + # Thai Character Code 11 + 97: Unknown + # Thai Character Code 13 + 98: Unknown + # Thai Character Code 18 + 102: Unknown + # "User setting" + 255: Unknown +... diff --git a/data/profile/safe.yml b/data/profile/safe.yml new file mode 100644 index 0000000..31847e2 --- /dev/null +++ b/data/profile/safe.yml @@ -0,0 +1,48 @@ +--- +safe: + name: Safe + vendor: Generic + notes: > + Default "safe" ESC/POS profile, suitable for standards-compliant or + Epson-branded printers. This profile is similar to the "generic" profile, + but has a lot less codepages to avoid encoding errors. + 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 + 16: CP1252 + 17: CP866 + 18: CP852 + 19: CP858 + 255: Unknown +... diff --git a/dist/capabilities.json b/dist/capabilities.json index 229cd9c..20ae689 100644 --- a/dist/capabilities.json +++ b/dist/capabilities.json @@ -459,6 +459,64 @@ "notes": "Citizen CT-S651 profile. This is a two-color thermal printer, supporting paper sizes from 58mm up to 83mm\n", "vendor": "Citizen" }, + "ITPP047": { + "codePages": { + "0": "CP437", + "1": "CP932", + "2": "CP850", + "3": "CP860", + "4": "CP863", + "5": "CP865", + "6": "CP1252", + "7": "Unknown", + "8": "Unknown", + "9": "Unknown", + "10": "Unknown", + "16": "Unknown", + "17": "CP866", + "18": "CP852", + "19": "CP858", + "20": "Unknown", + "21": "Unknown" + }, + "colors": { + "0": "black" + }, + "features": { + "barcodeA": true, + "barcodeB": true, + "bitImageColumn": true, + "bitImageRaster": true, + "graphics": true, + "highDensity": true, + "paperFullCut": true, + "paperPartCut": true, + "pdf417Code": true, + "pulseBel": false, + "pulseStandard": true, + "qrCode": true, + "starCommands": false + }, + "fonts": { + "0": { + "columns": 42, + "name": "Font A" + }, + "1": { + "columns": 56, + "name": "Font B" + } + }, + "media": { + "width": { + "mm": 80, + "pixels": 512 + } + }, + "name": "ITPP047", + "notes": "Munbyn ITPP047/ITPP102 receipt printer with cutter.\nThis printer has all the standard features, but a somewhat reduced codepage set. This profile might work for other china printers (Meihengtong, ...), too.\nFor technical information, go to support.munbyn.com, look for \"Printer - Drivers / SDK\", then download the \"ITPP047 SDK\", which contains the \"ITPP047 Program Manual\".\n", + "vendor": "Munbyn" + }, "KR-306": { "codePages": { "0": "CP437", @@ -3074,6 +3132,146 @@ "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.\n", "vendor": "Generic" }, + "mcPrint": { + "codePages": { + "0": "Unknown", + "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": "Unknown", + "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", + "96": "Unknown", + "97": "Unknown", + "98": "Unknown", + "102": "Unknown", + "255": "Unknown" + }, + "colors": { + "0": "black" + }, + "features": { + "barcodeA": true, + "barcodeB": true, + "bitImageColumn": true, + "bitImageRaster": true, + "graphics": true, + "highDensity": true, + "paperFullCut": true, + "paperPartCut": true, + "pdf417Code": true, + "pulseBel": false, + "pulseStandard": true, + "qrCode": true, + "starCommands": true + }, + "fonts": { + "0": { + "columns": 42, + "name": "Font A" + }, + "1": { + "columns": 56, + "name": "Font B" + } + }, + "media": { + "dpi": "Unknown", + "width": { + "mm": "Unknown", + "pixels": "Unknown" + } + }, + "name": "Star mcPrint2/mcPrint3", + "notes": "Star mcPrint2/mcPrint3 printers. Technical documentation is in the \"StarPRNT Command specifications Rev. 2.40\" document, which can be found online.\n", + "vendor": "Star Micronics" + }, + "safe": { + "codePages": { + "0": "CP437", + "1": "CP932", + "2": "CP850", + "3": "CP860", + "4": "CP863", + "5": "CP865", + "16": "CP1252", + "17": "CP866", + "18": "CP852", + "19": "CP858", + "255": "Unknown" + }, + "colors": { + "0": "black" + }, + "features": { + "barcodeA": true, + "barcodeB": true, + "bitImageColumn": true, + "bitImageRaster": true, + "graphics": true, + "highDensity": true, + "paperFullCut": true, + "paperPartCut": true, + "pdf417Code": true, + "pulseBel": false, + "pulseStandard": true, + "qrCode": true, + "starCommands": false + }, + "fonts": { + "0": { + "columns": 42, + "name": "Font A" + }, + "1": { + "columns": 56, + "name": "Font B" + } + }, + "media": { + "width": { + "mm": "Unknown", + "pixels": "Unknown" + } + }, + "name": "Safe", + "notes": "Default \"safe\" ESC/POS profile, suitable for standards-compliant or Epson-branded printers. This profile is similar to the \"generic\" profile, but has a lot less codepages to avoid encoding errors.\n", + "vendor": "Generic" + }, "simple": { "codePages": { "0": "CP437" diff --git a/dist/capabilities.yml b/dist/capabilities.yml index 94f9a4c..99bb735 100644 --- a/dist/capabilities.yml +++ b/dist/capabilities.yml @@ -450,6 +450,69 @@ profiles: vendor: "Citizen" + ITPP047: + + codePages: + 0: "CP437" + 1: "CP932" + 10: "Unknown" + 16: "Unknown" + 17: "CP866" + 18: "CP852" + 19: "CP858" + 2: "CP850" + 20: "Unknown" + 21: "Unknown" + 3: "CP860" + 4: "CP863" + 5: "CP865" + 6: "CP1252" + 7: "Unknown" + 8: "Unknown" + 9: "Unknown" + + colors: + 0: "black" + + features: + barcodeA: yes + barcodeB: yes + bitImageColumn: yes + bitImageRaster: yes + graphics: yes + highDensity: yes + paperFullCut: yes + paperPartCut: yes + pdf417Code: yes + pulseBel: no + pulseStandard: yes + qrCode: yes + starCommands: no + + fonts: + 0: + columns: 42 + name: "Font A" + 1: + columns: 56 + name: "Font B" + + media: + width: + mm: 80 + pixels: 512 + + name: "ITPP047" + + notes: "Munbyn ITPP047/ITPP102 receipt printer with cutter.\nThis printer has\ + \ all the standard features, but a somewhat reduced codepage set. This profile\ + \ might work for other china printers (Meihengtong, ...), too.\nFor technical\ + \ information, go to support.munbyn.com, look for \"Printer - Drivers / SDK\"\ + , then download the \"ITPP047 SDK\", which contains the \"ITPP047 Program Manual\"\ + .\n" + + vendor: "Munbyn" + KR-306: codePages: @@ -3948,6 +4011,195 @@ profiles: vendor: "Generic" + mcPrint: + + codePages: + + 0: "Unknown" + + 1: "CP437" + + 10: "CP866" + + 102: "Unknown" + + 11: "CP855" + + 12: "CP857" + + 13: "CP862" + + 14: "CP864" + + 15: "CP737" + + 16: "CP851" + + 17: "CP869" + + 18: "CP928" + + 19: "CP772" + + 2: "CP932" + + 20: "CP774" + + 21: "Unknown" + + 255: "Unknown" + + 3: "CP437" + + 32: "CP1252" + + 33: "CP1250" + + 34: "CP1251" + + 4: "CP858" + + 5: "CP852" + + 6: "CP860" + + 64: "CP3840" + + 65: "CP3841" + + 66: "CP3843" + + 67: "CP3844" + + 68: "CP3845" + + 69: "CP3846" + + 7: "CP861" + + 70: "CP3847" + + 71: "CP3848" + + 72: "CP1001" + + 73: "CP2001" + + 74: "CP3001" + + 75: "CP3002" + + 76: "CP3011" + + 77: "CP3012" + + 78: "CP3021" + + 79: "CP3041" + + 8: "CP863" + + 9: "CP865" + + 96: "Unknown" + + 97: "Unknown" + + 98: "Unknown" + + colors: + 0: "black" + + features: + barcodeA: yes + barcodeB: yes + bitImageColumn: yes + bitImageRaster: yes + graphics: yes + highDensity: yes + paperFullCut: yes + paperPartCut: yes + pdf417Code: yes + pulseBel: no + pulseStandard: yes + qrCode: yes + starCommands: yes + + fonts: + 0: + columns: 42 + name: "Font A" + 1: + columns: 56 + name: "Font B" + + media: + dpi: "Unknown" + width: + mm: "Unknown" + pixels: "Unknown" + + name: "Star mcPrint2/mcPrint3" + + notes: "Star mcPrint2/mcPrint3 printers. Technical documentation is in the \"\ + StarPRNT Command specifications Rev. 2.40\" document, which can be found online.\n" + + vendor: "Star Micronics" + + safe: + + codePages: + 0: "CP437" + 1: "CP932" + 16: "CP1252" + 17: "CP866" + 18: "CP852" + 19: "CP858" + 2: "CP850" + 255: "Unknown" + 3: "CP860" + 4: "CP863" + 5: "CP865" + + colors: + 0: "black" + + features: + barcodeA: yes + barcodeB: yes + bitImageColumn: yes + bitImageRaster: yes + graphics: yes + highDensity: yes + paperFullCut: yes + paperPartCut: yes + pdf417Code: yes + pulseBel: no + pulseStandard: yes + qrCode: yes + starCommands: no + + fonts: + 0: + columns: 42 + name: "Font A" + 1: + columns: 56 + name: "Font B" + + media: + width: + mm: "Unknown" + pixels: "Unknown" + + name: "Safe" + + notes: "Default \"safe\" ESC/POS profile, suitable for standards-compliant or\ + \ Epson-branded printers. This profile is similar to the \"generic\" profile,\ + \ but has a lot less codepages to avoid encoding errors.\n" + + vendor: "Generic" + simple: codePages: 0: "CP437"