Table of Contents

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

SupportedMediaTypes IReadOnlyList<string>

The MIME types or media descriptions the printer accepts (for example, "application/pdf").

SupportedPaperSizes IReadOnlyList<string>

The paper size names the printer supports (for example, "A4", "Letter").

SupportsDuplex bool

Whether the printer supports duplex (double-sided) printing.

SupportsColor bool

Whether the printer supports color output.

SupportsPdfPassthrough bool

Whether the printer accepts raw PDF data for direct printing.

MaxCopies int?

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

IReadOnlyList<string>

SupportedPaperSizes

The paper size names the printer supports (for example, "A4", "Letter").

public IReadOnlyList<string> SupportedPaperSizes { get; init; }

Property Value

IReadOnlyList<string>

SupportsColor

Whether the printer supports color output.

public bool SupportsColor { get; init; }

Property Value

bool

SupportsDuplex

Whether the printer supports duplex (double-sided) printing.

public bool SupportsDuplex { get; init; }

Property Value

bool

SupportsPdfPassthrough

Whether the printer accepts raw PDF data for direct printing.

public bool SupportsPdfPassthrough { get; init; }

Property Value

bool