zplCore.comzplCore.com

PrinterProfileFit

public sealed class PrinterProfileFit : IZplPrinterFit

A Printer Twin profile (PrinterProfiles) as IZplPrinterFit: LabelAssertions.FitsPrinter and zplcore check --printer ZD421d-203 run ZplPrinterTwin.Check (printhead width and clipped fields, maximum length, resolution, firmware, options, fonts, encodings, memory, speed/darkness) and report its ZPL5xxx diagnostics. Unknown profile facts (ZPL5001) are infos and never fail a test.

Constructors

SignatureDescription
# PrinterProfileFit(PrinterProfile profile, ZplTwinOptions? options = default)Wraps profile; options override what the test context supplies. profile: The printer model profile (built-in or loaded with PrinterProfiles.Load). · options: Twin options. By default the design resolution is the resolution the test renders at (a different profile resolution is reported as ZPL5104), and the field values and default label length come from the test.

Properties

PropertyTypeDescription
Name { get; }string
Profile { get; }PrinterProfileThe wrapped profile.

Methods

Method SignatureReturnsDescription
# Check(PrinterFitContext context)IEnumerable<PrinterFitIssue>
# ToString()string