-api-id | -api-type | -api-device-family-note |
---|---|---|
P:Windows.Devices.PointOfService.ClaimedPosPrinter.Receipt |
winrt property |
xbox |
Gets an object that represents the receipt station for a claimed point-of-service printer.
The receipt station is used to print transaction information that is typically given to the customer, or for store reports. The receipt station contains either a knife to automatically cut the paper between transactions, or a tear bar to manually cut the paper.
There is only one instance of this object per ClaimedPosPrinter instance. Additionally, this is only valid to access if ReceiptPrinterCapabilities.IsPrinterPresent indicates it is present.
An object that represents the receipt station for a claimed point-of-service printer. Null if a receipt station is not present.
You should check the value of the ReceiptPrinterCapabilities.IsPrinterPresent property before you try to use the ClaimedPosPrinter.Receipt property.
ClaimedReceiptPrinter, ReceiptPrinterCapabilities.IsPrinterPresent