Skip to content

Fix: Correct mistake in ZPL sensor configs #155

Fix: Correct mistake in ZPL sensor configs

Fix: Correct mistake in ZPL sensor configs #155

Triggered via pull request January 5, 2025 15:29
Status Failure
Total duration 33s
Artifacts

build_npm.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
src/Languages/Zpl/CmdXmlQuery.test.ts > parseCmdXmlQueryResponse > Full config extract > ZD410: src/Languages/Zpl/CmdXmlQuery.test.ts#L9
Error: Snapshot `parseCmdXmlQueryResponse > Full config extract > ZD410 1` mismatched - Expected + Received @@ -42,9 +42,22 @@ "thermalPrintMode": 0, }, "printerSettings": { "backfeedAfterTaken": "10", }, + "printerZplSettings": { + "actionHeadClose": "feedBlank", + "actionPowerUp": "none", + "markGain": 17, + "markMediaThreshold": 4, + "markThreshold": 50, + "mediaThreshold": 96, + "ribbonGain": 40, + "ribbonThreshold": 75, + "transBrightness": undefined, + "transGain": 35, + "webThreshold": 36, + }, }, ], "remainder": "", } ❯ src/Languages/Zpl/CmdXmlQuery.test.ts:9:7
src/Languages/Zpl/CmdXmlQuery.test.ts > parseCmdXmlQueryResponse > Full config extract > ZD411: src/Languages/Zpl/CmdXmlQuery.test.ts#L12
Error: Snapshot `parseCmdXmlQueryResponse > Full config extract > ZD411 1` mismatched - Expected + Received @@ -42,9 +42,22 @@ "thermalPrintMode": 0, }, "printerSettings": { "backfeedAfterTaken": "90", }, + "printerZplSettings": { + "actionHeadClose": "feedBlank", + "actionPowerUp": "none", + "markGain": 64, + "markMediaThreshold": 4, + "markThreshold": 70, + "mediaThreshold": 96, + "ribbonGain": 0, + "ribbonThreshold": 67, + "transBrightness": undefined, + "transGain": 40, + "webThreshold": 53, + }, }, ], "remainder": "", } ❯ src/Languages/Zpl/CmdXmlQuery.test.ts:12:7
src/Languages/Zpl/CmdXmlQuery.test.ts > parseCmdXmlQueryResponse > Full config extract > ZP505: src/Languages/Zpl/CmdXmlQuery.test.ts#L15
Error: Snapshot `parseCmdXmlQueryResponse > Full config extract > ZP505 1` mismatched - Expected + Received @@ -41,9 +41,22 @@ "thermalPrintMode": 0, }, "printerSettings": { "backfeedAfterTaken": "90", }, + "printerZplSettings": { + "actionHeadClose": "none", + "actionPowerUp": "none", + "markGain": 28, + "markMediaThreshold": 95, + "markThreshold": 50, + "mediaThreshold": 96, + "ribbonGain": 40, + "ribbonThreshold": 75, + "transBrightness": undefined, + "transGain": 10, + "webThreshold": 43, + }, }, ], "remainder": "", } ❯ src/Languages/Zpl/CmdXmlQuery.test.ts:15:7
src/Languages/Zpl/CmdXmlQuery.test.ts > parseCmdXmlQueryResponse > Full config extract > R2844_Z: src/Languages/Zpl/CmdXmlQuery.test.ts#L18
Error: Snapshot `parseCmdXmlQueryResponse > Full config extract > R2844_Z 1` mismatched - Expected + Received @@ -40,9 +40,22 @@ "thermalPrintMode": 0, }, "printerSettings": { "backfeedAfterTaken": "90", }, + "printerZplSettings": { + "actionHeadClose": "calibrateWebSensor", + "actionPowerUp": "calibrateWebSensor", + "markGain": 84, + "markMediaThreshold": 0, + "markThreshold": 50, + "mediaThreshold": 87, + "ribbonGain": 50, + "ribbonThreshold": 75, + "transBrightness": undefined, + "transGain": 59, + "webThreshold": 72, + }, }, ], "remainder": "", } ❯ src/Languages/Zpl/CmdXmlQuery.test.ts:18:7
src/Languages/Zpl/CmdXmlQuery.test.ts > parseCmdXmlQueryResponse > Full config extract > LP2844_Z: src/Languages/Zpl/CmdXmlQuery.test.ts#L21
Error: Snapshot `parseCmdXmlQueryResponse > Full config extract > LP2844_Z 1` mismatched - Expected + Received @@ -40,9 +40,22 @@ "thermalPrintMode": 0, }, "printerSettings": { "backfeedAfterTaken": "90", }, + "printerZplSettings": { + "actionHeadClose": "none", + "actionPowerUp": "none", + "markGain": 43, + "markMediaThreshold": 27, + "markThreshold": 46, + "mediaThreshold": 46, + "ribbonGain": 0, + "ribbonThreshold": 75, + "transBrightness": undefined, + "transGain": 34, + "webThreshold": 38, + }, }, ], "remainder": "", } ❯ src/Languages/Zpl/CmdXmlQuery.test.ts:21:7
src/Languages/Zpl/CmdXmlQuery.test.ts > parseCmdXmlQueryResponse > Full config extract > TLP2844_Z: src/Languages/Zpl/CmdXmlQuery.test.ts#L24
Error: Snapshot `parseCmdXmlQueryResponse > Full config extract > TLP2844_Z 1` mismatched - Expected + Received @@ -40,9 +40,22 @@ "thermalPrintMode": 0, }, "printerSettings": { "backfeedAfterTaken": "90", }, + "printerZplSettings": { + "actionHeadClose": "calibrateWebSensor", + "actionPowerUp": "calibrateWebSensor", + "markGain": 81, + "markMediaThreshold": 0, + "markThreshold": 50, + "mediaThreshold": 84, + "ribbonGain": 0, + "ribbonThreshold": 75, + "transBrightness": undefined, + "transGain": 65, + "webThreshold": 73, + }, }, ], "remainder": "", } ❯ src/Languages/Zpl/CmdXmlQuery.test.ts:24:7
src/Languages/Zpl/CmdXmlQuery.test.ts > parseCmdXmlQueryResponse > Full config extract > LP2824PLUS: src/Languages/Zpl/CmdXmlQuery.test.ts#L27
Error: Snapshot `parseCmdXmlQueryResponse > Full config extract > LP2824PLUS 1` mismatched - Expected + Received @@ -40,9 +40,22 @@ "thermalPrintMode": 0, }, "printerSettings": { "backfeedAfterTaken": "90", }, + "printerZplSettings": { + "actionHeadClose": "feedBlank", + "actionPowerUp": "none", + "markGain": 11, + "markMediaThreshold": 95, + "markThreshold": 50, + "mediaThreshold": 96, + "ribbonGain": 40, + "ribbonThreshold": 75, + "transBrightness": undefined, + "transGain": 18, + "webThreshold": 48, + }, }, ], "remainder": "", } ❯ src/Languages/Zpl/CmdXmlQuery.test.ts:27:7
src/Languages/Zpl/CmdXmlQuery.test.ts > parseCmdXmlQueryResponse > Partials > Handles extra content at the end of the document: src/Languages/Zpl/CmdXmlQuery.test.ts#L38
Error: Snapshot `parseCmdXmlQueryResponse > Partials > Handles extra content at the end of the document 1` mismatched - Expected + Received @@ -42,10 +42,23 @@ "thermalPrintMode": 0, }, "printerSettings": { "backfeedAfterTaken": "10", }, + "printerZplSettings": { + "actionHeadClose": "feedBlank", + "actionPowerUp": "none", + "markGain": 17, + "markMediaThreshold": 4, + "markThreshold": 50, + "mediaThreshold": 96, + "ribbonGain": 40, + "ribbonThreshold": 75, + "transBrightness": undefined, + "transGain": 35, + "webThreshold": 36, + }, }, ], "remainder": "� +21.0 DARKNESS MEDIUM DARKNESS SWITCH 6.0 IPS PRINT SPEED ❯ src/Languages/Zpl/CmdXmlQuery.test.ts:38:7
build
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636