zplCore.comzplCore.com

ZplCheckCommand

public static class ZplCheckCommand

Command line of zplcore check (alias zplcore test, also dotnet zplcore check as a local tool) and zplcore snapshot accept. Lives in the Testing package so the CLI, the GitHub Action and tests share it.

Fields & Constants

FieldTypeDescription
const Usage = "zplcore check – semantic label check…"stringHelp text of zplcore check --help.

Methods

Method SignatureReturnsDescription
static # ParsePacks(string value)IReadOnlyList<ComplianceRulePack>"gs1-logistic,ups" or "all" (ids as in zplcore comply).
static # ParsePrinter(string value)PrinterSpec"203:104" or "300:104:991" (dpi : print width mm : max label length mm).
static # ParsePrinterFit(string value)IZplPrinterFit--printer: "203:104" / "300:104:991" (ZplCheckCommand.ParsePrinter) or the id or alias of a Printer Twin profile ("ZD421d-203", "ZD421-203"; PrinterProfileFit).
static # ParseTolerance(string value)SnapshotTolerance"0.5%", "0.5", "25px", "exact".
static # Run(IReadOnlyList<string> args, TextWriter stdout, TextWriter stderr)intRuns check/test/snapshot with args (the command name first). Returns the exit code.