PosPrinterCapabilities 类

定义

表示服务点打印机的功能。

public ref class PosPrinterCapabilities sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PosPrinterCapabilities final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PosPrinterCapabilities
Public NotInheritable Class PosPrinterCapabilities
继承
Object Platform::Object IInspectable PosPrinterCapabilities
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

若要获取服务点打印机的功能,请使用 PosPrinter.Capabilities 属性。

属性

CanMapCharacterSet

获取服务点打印机是否可以将应用程序发送 (ClaimedPosPrinter.CharacterSet 属性定义的字符集中) 映射到 PosPrinter.SupportedCharacterSets 属性定义的字符集。

DefaultCharacterSet

获取服务点打印机默认使用的字符集。

HasCoverSensor

获取服务点打印机是否具有检测打印机盖是否打开的传感器。

IsStatisticsReportingSupported

获取服务点打印机是否支持报告统计信息。

IsStatisticsUpdatingSupported

获取服务点打印机是否支持更新统计信息。

IsTransactionSupported

获取服务点打印机是否支持打印机事务。

Journal

获取服务点打印机的日记站的功能。

日记站用于记录存储中出于审核和其他目的而保留的事务和活动信息的简单文本消息。

PowerReportingType

获取服务点打印机的电源报告功能。

Receipt

获取服务点打印机的接收站的功能。

收据站用于打印通常提供给客户或商店报表的交易信息。 收据包含用于在事务之间自动切纸的刀,或用于手动剪切纸张的撕裂条。

Slip

获取服务点打印机的滑点站的功能。

滑移站用于在通常提供给客户的窗体上打印信息,或在窗体上打印验证信息。 窗体类型通常是检查或信用卡滑。

适用于

另请参阅