共用方式為


ICommonClaimedPosPrinterStation 介面

定義

代表服務點印表機之所有類型的宣告月臺通用的屬性和動作。

public interface class ICommonClaimedPosPrinterStation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3085657768, 65162, 19707, 139, 66, 227, 91, 40, 12, 178, 124)]
struct ICommonClaimedPosPrinterStation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3085657768, 65162, 19707, 139, 66, 227, 91, 40, 12, 178, 124)]
public interface ICommonClaimedPosPrinterStation
Public Interface ICommonClaimedPosPrinterStation
衍生
屬性

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

屬性

CharactersPerLine

取得或設定月臺每行文字可以列印的字元數。

ColorCartridge

取得或設定印表機站在列印時應該使用的色彩標籤。

IsCartridgeEmpty

取得印表機站的針筒目前是否不在筆墨或手寫筆跡中。

IsCartridgeRemoved

取得印表機月臺的目前是否移除。

IsCoverOpen

取得印表機月臺的涵蓋範圍目前是否開啟。

IsHeadCleaning

取得印表機站目前是否正在清除列印頭。

IsLetterQuality

取得或設定印表機站是否以高品質或高速列印。

IsPaperEmpty

取得印表機站是否需要紙張。

IsPaperNearEnd

取得印表機站是否幾乎是紙張不足。

IsReadyToPrint

取得印表機站是否開啟並接受列印工作。

LineHeight

取得或設定印表機站列印線條的目前高度,以 ClaimedPosPrinter.MapMode 屬性所指定的單位為單位。

LineSpacing

取得或設定印表機站每個單一高列印線的間距,以 ClaimedPosPrinter.MapMode 屬性所指定的單位為單位。 此間距包括列印線條的高度,以及每對線條之間的空白字元。

LineWidth

取得印表機站列印線條的目前寬度,以 ClaimedPosPrinter.MapMode 屬性所指定的單位為單位。

方法

ValidateData(String)

決定資料序列是否包含一或多個逸出序列,對於印表機站有效,在您呼叫 IPosPrinterJob.PrintIPosPrinterJob.ExecuteAsync 方法時,請先使用該資料順序。

適用於

另請參閱