Share via


ReceiptPrinterCapabilities 類別

定義

表示服務點印表機的回條站功能。

public ref class ReceiptPrinterCapabilities sealed
public ref class ReceiptPrinterCapabilities sealed : ICommonReceiptSlipCapabilities
/// [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 ReceiptPrinterCapabilities final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [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.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.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ReceiptPrinterCapabilities : ICommonReceiptSlipCapabilities
Public NotInheritable Class ReceiptPrinterCapabilities
Public NotInheritable Class ReceiptPrinterCapabilities
Implements ICommonReceiptSlipCapabilities
繼承
Object Platform::Object IInspectable ReceiptPrinterCapabilities
屬性
實作

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 引進)

備註

若要取得服務點印表機的收據站功能,請使用 PosPrinterCapabilities.Receipt

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1903 18362 IsReversePaperFeedByLineSupported
1903 18362 IsReversePaperFeedByMapModeUnitSupported
1903 18362 IsReverseVideoSupported
1903 18362 IsStrikethroughSupported
1903 18362 IsSubscriptSupported
1903 18362 IsSuperscriptSupported

屬性

CanCutPaper

取得收據印表機站是否可以執行紙張剪下。

CartridgeSensors

取得收據印表機站可用來報告印表機站狀態的感應器相關資訊。

ColorCartridgeCapabilities

取得收據印表機站可用來以色彩列印的色彩標籤。

Is180RotationSupported

取得收據印表機站是否可以以旋轉的反轉模式列印。

IsBarcodeSupported

取得收據印表機站是否可以列印條碼。

IsBitmapSupported

取得收據印表機站是否可以列印點陣圖。

IsBoldSupported

取得收據印表機站是否可以列印粗體字元。

IsDoubleHighDoubleWidePrintSupported

取得收據印表機站是否可以列印雙高和雙寬的字元。

IsDoubleHighPrintSupported

取得收據印表機站是否可以列印雙高字元。

IsDoubleWidePrintSupported

取得收據印表機站是否可以列印雙寬字元。

IsDualColorSupported

取得收據印表機站是否可以列印深色加上替代色彩。

IsItalicSupported

取得收據印表機站是否可以列印斜體字元。

IsLeft90RotationSupported

取得收據印表機站是否可以列印向左旋轉 90 度的資訊。

IsPaperEmptySensorSupported

取得收據印表機站是否有紙張外感應器。

IsPaperNearEndSensorSupported

取得收據印表機站是否有低紙張感應器。

IsPrintAreaSupported

取得收據印表機站是否支援設定印表機應該列印之頁面區域的自訂大小。

IsPrinterPresent

取得是否有列印收據的月臺服務點印表機。

IsReversePaperFeedByLineSupported

取得收據印表機站是否可以依行反轉紙張摘要。

IsReversePaperFeedByMapModeUnitSupported

取得收據印表機站是否可以透過地圖模式單位反轉紙張摘要。

IsReverseVideoSupported

取得收據印表機站是否可以以反向視訊樣式列印字元。

IsRight90RotationSupported

取得收據印表機站是否可以列印向右旋轉 90 度的資訊。

IsStampSupported

取得收據印表機站是否有戳記功能。

IsStrikethroughSupported

取得收據印表機站是否可以以刪除線樣式列印字元。

IsSubscriptSupported

取得收據印表機站是否可以以下標樣式列印字元。

IsSuperscriptSupported

取得收據印表機站是否可以以上標樣式列印字元。

IsUnderlineSupported

取得收據印表機站是否可以加上底線字元。

MarkFeedCapabilities

取得收據印表機站可用的標記感知紙張處理類型。

RuledLineCapabilities

取得收據印表機站用來繪製尺規線條之功能的相關資訊。

SupportedBarcodeRotations

取得列印時,收據印表機站可以旋轉條碼的方向清單。

SupportedBitmapRotations

取得列印時,收據印表機站可以旋轉點陣圖的方向清單。

SupportedCharactersPerLine

取得收據印表機站所支援每行字元的行寬集合。

適用於

另請參閱