ReceiptPrinterCapabilities Class
Definition
Represents the capabilities of receipt station of a point-of-service printer.
public ref class ReceiptPrinterCapabilities sealed
public ref class ReceiptPrinterCapabilities sealed : ICommonReceiptSlipCapabilities
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ReceiptPrinterCapabilities final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ReceiptPrinterCapabilities final : ICommonReceiptSlipCapabilities
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
[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.DualApiPartition(version=167772160)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ReceiptPrinterCapabilities : ICommonReceiptSlipCapabilities
Public NotInheritable Class ReceiptPrinterCapabilities
Public NotInheritable Class ReceiptPrinterCapabilities
Implements ICommonReceiptSlipCapabilities
- Inheritance
-
ReceiptPrinterCapabilities
- Attributes
- Implements
Windows 10 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. |