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 | Print (String,PosPrinterPrintOptions) |
1903 | 18362 | StampPaper |