zplCore.comzplCore.com
class14 members

ZplTwinReport

public sealed class ZplTwinReport

Result of ZplPrinterTwin.Check.

Properties

PropertyTypeDescription
Clips { get; }IReadOnlyList<ZplTwinClip>Fields cut off by the printhead width.
Diagnostics { get; }IReadOnlyList<ZplDiagnostic>Findings, ordered by source position (ZPL5xxx and the cutter codes ZPL41xx).
Downloads { get; }IReadOnlyList<ZplTwinDownload>Objects the job stores on printer drives.
IsClean { get; }boolNo warnings or errors (info findings allowed).
LabelCount { get; }intNumber of rendered labels (one per format, ^PQ copies not counted).
LabelLengthDots { get; }intLength of the first label in dots (^LL or the default media length).
LabelWidthDots { get; }intWidth of the first label in dots as the printer prints it (printhead width or a smaller ^PW).
MaxSeverity { get; }ZplDiagnosticSeverity?Highest severity, null without findings.
Memory { get; }IReadOnlyList<ZplTwinMemoryUse>Memory use per drive.
Profile { get; }PrinterProfileThe profile checked against (with options and firmware override).

Methods

Method SignatureReturnsDescription
# Fails(ZplDiagnosticSeverity severity)boolTrue when a finding has at least severity.
# ToJson(bool indented = true)stringThe report as JSON: profile id, diagnostics, clips, downloads, memory.
# ToString()string
# ToText(string? fileName = default)stringHuman-readable report.