public sealed class ZplTwinReport
Result of ZplPrinterTwin.Check.
Properties
| Property | Type | Description |
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; } | bool | No warnings or errors (info findings allowed). |
LabelCount { get; } | int | Number of rendered labels (one per format, ^PQ copies not counted). |
LabelLengthDots { get; } | int | Length of the first label in dots (^LL or the default media length). |
LabelWidthDots { get; } | int | Width 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; } | PrinterProfile | The profile checked against (with options and firmware override). |
Methods
| Method Signature | Returns | Description |
# Fails(ZplDiagnosticSeverity severity) | bool | True when a finding has at least severity. |
# ToJson(bool indented = true) | string | The report as JSON: profile id, diagnostics, clips, downloads, memory. |
# ToString() | string | |
# ToText(string? fileName = default) | string | Human-readable report. |