Class PrinterCapabilities
- Namespace
- combit.Reporting.Printing.Pdf
- Assembly
- combit.ListLabel31.CrossPlatform.Printing.Pdf.dll
Describes the capabilities of a specific printer, including supported media types, paper sizes, duplex mode, color support, and maximum copies.
public sealed record PrinterCapabilities : IEquatable<PrinterCapabilities>
- Inheritance
-
PrinterCapabilities
- Implements
- Inherited Members
Constructors
PrinterCapabilities(IReadOnlyList<string>, IReadOnlyList<string>, bool, bool, bool, int?)
Describes the capabilities of a specific printer, including supported media types, paper sizes, duplex mode, color support, and maximum copies.
public PrinterCapabilities(IReadOnlyList<string> SupportedMediaTypes, IReadOnlyList<string> SupportedPaperSizes, bool SupportsDuplex, bool SupportsColor, bool SupportsPdfPassthrough, int? MaxCopies)
Parameters
SupportedMediaTypesIReadOnlyList<string>The MIME types or media descriptions the printer accepts (for example,
"application/pdf").SupportedPaperSizesIReadOnlyList<string>The paper size names the printer supports (for example,
"A4","Letter").SupportsDuplexboolWhether the printer supports duplex (double-sided) printing.
SupportsColorboolWhether the printer supports color output.
SupportsPdfPassthroughboolWhether the printer accepts raw PDF data for direct printing.
MaxCopiesint?The maximum number of copies the printer can produce in a single job, or null if unknown.
Properties
MaxCopies
The maximum number of copies the printer can produce in a single job, or null if unknown.
public int? MaxCopies { get; init; }
Property Value
- int?
SupportedMediaTypes
The MIME types or media descriptions the printer accepts (for example, "application/pdf").
public IReadOnlyList<string> SupportedMediaTypes { get; init; }
Property Value
SupportedPaperSizes
The paper size names the printer supports (for example, "A4", "Letter").
public IReadOnlyList<string> SupportedPaperSizes { get; init; }
Property Value
SupportsColor
Whether the printer supports color output.
public bool SupportsColor { get; init; }
Property Value
SupportsDuplex
Whether the printer supports duplex (double-sided) printing.
public bool SupportsDuplex { get; init; }
Property Value
SupportsPdfPassthrough
Whether the printer accepts raw PDF data for direct printing.
public bool SupportsPdfPassthrough { get; init; }