Share via


ReceiptPrinterCapabilities Class

Definition

Represents the capabilities of receipt station of a point-of-service printer.

[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ReceiptPrinterCapabilities
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ReceiptPrinterCapabilities : ICommonReceiptSlipCapabilities
Inheritance
Object ReceiptPrinterCapabilities
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

To get the capabilities of the receipt station of a point-of-service printer, use PosPrinterCapabilities.Receipt.

Version history

Windows version SDK version Value added
1903 18362 IsReversePaperFeedByLineSupported
1903 18362 IsReversePaperFeedByMapModeUnitSupported
1903 18362 IsReverseVideoSupported
1903 18362 IsStrikethroughSupported
1903 18362 IsSubscriptSupported
1903 18362 IsSuperscriptSupported

Properties

CanCutPaper

Gets whether the receipt printer station can perform paper cuts.

CartridgeSensors

Gets information about the sensors that the receipt printer station has available to report the status of the printer station.

ColorCartridgeCapabilities

Gets the color cartridges that the receipt printer station can use to print in color.

Is180RotationSupported

Gets whether the receipt printer station can print in a rotated upside-down mode.

IsBarcodeSupported

Gets whether the receipt printer station can print barcodes.

IsBitmapSupported

Gets whether the receipt printer station can print bitmaps.

IsBoldSupported

Gets whether the receipt printer station can print bold characters.

IsDoubleHighDoubleWidePrintSupported

Gets whether the receipt printer station can print characters that are both double-high and double-wide.

IsDoubleHighPrintSupported

Gets whether the receipt printer station can print double-high characters.

IsDoubleWidePrintSupported

Gets whether the receipt printer station can print double-wide characters.

IsDualColorSupported

Gets whether the receipt printer station can print a dark color plus an alternate color.

IsItalicSupported

Gets whether the receipt printer station can print italic characters.

IsLeft90RotationSupported

Gets whether the receipt printer station can print information rotated 90 degrees to the left.

IsPaperEmptySensorSupported

Gets whether the receipt printer station has an out-of-paper sensor.

IsPaperNearEndSensorSupported

Gets whether the receipt printer station has a low-paper sensor.

IsPrintAreaSupported

Gets whether the receipt printer station supports setting a custom size for the area of the page on which the printer should print.

IsPrinterPresent

Gets whether a point-of-service printer with a station that prints receipts is present.

IsReversePaperFeedByLineSupported

Gets whether the receipt printer station can reverse paper feed by line.

IsReversePaperFeedByMapModeUnitSupported

Gets whether the receipt printer station can reverse paper feed by map mode unit.

IsReverseVideoSupported

Gets whether the receipt printer station can print characters in reverse-video style.

IsRight90RotationSupported

Gets whether the receipt printer station can print information rotated 90 degrees to the right.

IsStampSupported

Gets whether the receipt printer station has a stamp capability.

IsStrikethroughSupported

Gets whether the receipt printer station can print characters in strikethrough style.

IsSubscriptSupported

Gets whether the receipt printer station can print characters in subscript style.

IsSuperscriptSupported

Gets whether the receipt printer station can print characters in superscript style.

IsUnderlineSupported

Gets whether the receipt printer station can underline characters.

MarkFeedCapabilities

Gets the type of mark-sensed paper handling that is available for the receipt printer station.

RuledLineCapabilities

Gets information about the capabilities of the receipt printer station to draw ruled lines.

SupportedBarcodeRotations

Gets a list of the directions in which the receipt printer station can rotate a barcode when printing.

SupportedBitmapRotations

Gets a list of the directions in which the receipt printer station can rotate a bitmap when printing.

SupportedCharactersPerLine

Gets a collection of the line widths in characters per line that the receipt printer station supports.

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also