zplCore.comzplCore.com
record8 members

PrinterDetection

public record PrinterDetection

Result of PrinterProfiles.Detect.

Constructors

SignatureDescription
# PrinterDetection(PrinterIdentity Identity, PrinterProfile Profile, ProfileMatch Match, IReadOnlyList<PrinterProfile> Candidates, IReadOnlyList<string> Notes)Result of PrinterProfiles.Detect. Identity: Parsed values. · Profile: Best profile (with the reported firmware applied via PrinterProfile.WithFirmware), null if none. · Match: Match quality. · Candidates: All profiles that fit. · Notes: Why the match is not exact, conflicts …

Properties

PropertyTypeDescription
Candidates { get; init; }IReadOnlyList<PrinterProfile>All profiles that fit.
Identity { get; init; }PrinterIdentityParsed values.
Match { get; init; }ProfileMatchMatch quality.
Notes { get; init; }IReadOnlyList<string>Why the match is not exact, conflicts …
Profile { get; init; }PrinterProfileBest profile (with the reported firmware applied via PrinterProfile.WithFirmware), null if none.

Methods

Method SignatureReturnsDescription
# Deconstruct(out PrinterIdentity Identity, out PrinterProfile Profile, out ProfileMatch Match, out IReadOnlyList<PrinterProfile> Candidates, out IReadOnlyList<string> Notes)void
# ToJson(bool indented = true)string