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
NamestringThe system name of the printer (for example,
"HP LaserJet Pro").DescriptionstringAn optional human-readable description of the printer.
LocationstringAn optional location string (for example,
"3rd Floor").IsDefaultboolWhether this printer is the system default.
IsAvailableboolWhether the printer is currently online and available.
SupportsPdfPassthroughboolWhether 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
IsAvailable
Whether the printer is currently online and available.
public bool IsAvailable { get; init; }
Property Value
IsDefault
Whether this printer is the system default.
public bool IsDefault { get; init; }
Property Value
Location
An optional location string (for example, "3rd Floor").
public string? Location { get; init; }
Property Value
Name
The system name of the printer (for example, "HP LaserJet Pro").
public string Name { get; init; }
Property Value
SupportsPdfPassthrough
Whether the printer accepts raw PDF data without rasterization.
public bool SupportsPdfPassthrough { get; init; }