Table of Contents

Class PrinterInfo

Namespace
combit.Reporting.Printing.Pdf
Assembly
combit.ListLabel31.CrossPlatform.Printing.Pdf.dll

Describes a printer discovered on the system, including its name, availability, and PDF passthrough support.

public sealed record PrinterInfo : IEquatable<PrinterInfo>
Inheritance
PrinterInfo
Implements
Inherited Members

Constructors

PrinterInfo(string, string?, string?, bool, bool, bool)

Describes a printer discovered on the system, including its name, availability, and PDF passthrough support.

public PrinterInfo(string Name, string? Description, string? Location, bool IsDefault, bool IsAvailable, bool SupportsPdfPassthrough)

Parameters

Name string

The system name of the printer (for example, "HP LaserJet Pro").

Description string

An optional human-readable description of the printer.

Location string

An optional location string (for example, "3rd Floor").

IsDefault bool

Whether this printer is the system default.

IsAvailable bool

Whether the printer is currently online and available.

SupportsPdfPassthrough bool

Whether the printer accepts raw PDF data without rasterization.

Properties

Description

An optional human-readable description of the printer.

public string? Description { get; init; }

Property Value

string

IsAvailable

Whether the printer is currently online and available.

public bool IsAvailable { get; init; }

Property Value

bool

IsDefault

Whether this printer is the system default.

public bool IsDefault { get; init; }

Property Value

bool

Location

An optional location string (for example, "3rd Floor").

public string? Location { get; init; }

Property Value

string

Name

The system name of the printer (for example, "HP LaserJet Pro").

public string Name { get; init; }

Property Value

string

SupportsPdfPassthrough

Whether the printer accepts raw PDF data without rasterization.

public bool SupportsPdfPassthrough { get; init; }

Property Value

bool