ReceiptPrintJob 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示要在收据打印机上运行的一组打印说明。
public ref class ReceiptPrintJob sealed
public ref class ReceiptPrintJob sealed : IReceiptOrSlipJob
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ReceiptPrintJob final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ReceiptPrintJob final : IReceiptOrSlipJob
[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 ReceiptPrintJob
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ReceiptPrintJob : IReceiptOrSlipJob
Public NotInheritable Class ReceiptPrintJob
Public NotInheritable Class ReceiptPrintJob
Implements IReceiptOrSlipJob
- 继承
- 属性
- 实现
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 中引入)
|
注解
若要为收据打印机创建新的打印作业,请调用 ClaimedReceiptPrinter.CreateJob。 只要创建的 ClaimedReceiptPrinter 对象有效,创建的打印作业对象就有效。
版本历史记录
Windows 版本 | SDK 版本 | 已添加值 |
---|---|---|
1903 | 18362 | FeedPaperByLine |
1903 | 18362 | FeedPaperByMapModeUnit |
1903 | 18362 | 打印 (字符串,PosPrinterPrintOptions) |
1903 | 18362 | StampPaper |