Show / Hide Table of Contents

Class PrinterStatus

PrinterStatusクラスは、Star CloudPRNTプリンタのASBステータスの詳細を表します。 個々のメンバープロパティを調べて、ASBステータスの詳細を確認できます。

Inheritance
System.Object
PrinterStatus
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StarMicronics.CloudPrnt
Assembly: cs.temp.dll.dll
Syntax
public class PrinterStatus

Constructors

PrinterStatus(String)

CloudPRNT status 文字列を有用なクラスにデコードします。

Declaration
public PrinterStatus(string cpStatus)
Parameters
Type Name Description
System.String cpStatus

CloudPRNT POSTリクエストで得られる"status"キーの文字列値

Properties

BlackMarkError

用紙のブラックマーク検知に関するエラー状態を取得します。 trueの場合、用紙のブラックマークが検知出来ずエラー状態であることを表します。

Declaration
public bool BlackMarkError { get; }
Property Value
Type Description
System.Boolean

CompulsionSwitch

コンパルジョンスイッチ: プリンターに接続されたキャッシュドロワーまたは他のRJ11に接続された周辺機器の状態を取得します。

Declaration
public bool CompulsionSwitch { get; }
Property Value
Type Description
System.Boolean

CoverOpen

プリンタのカバーの状態を取得します。 trueの場合、カバーが開いている状態であることを表します。

Declaration
public bool CoverOpen { get; }
Property Value
Type Description
System.Boolean

CutterError

オートカッターエラーの状態を取得します。 trueの場合、オートカッターエラーが起きていることを表します。

Declaration
public bool CutterError { get; }
Property Value
Type Description
System.Boolean

MechanicalError

メカニカルもしくはサーミスターエラーの状態を取得します。 trueの場合、メカニカルもしくはサーミスターエラーが起きていることを表します。

Declaration
public bool MechanicalError { get; }
Property Value
Type Description
System.Boolean

Online

プリンタの動作状態を取得します。 trueの場合、プリンタは印刷可能な状態であることを表します。 falseの場合、プリンタは印刷できない状態であることを表します。

Declaration
public bool Online { get; }
Property Value
Type Description
System.Boolean

OverTemperature

プリンタヘッドの適正温度超過状態の取得をします。 trueの場合、プリンタヘッドが適正温度を超えたためプリンタ動作が停止していることを表します。

Declaration
public bool OverTemperature { get; }
Property Value
Type Description
System.Boolean

PaperEmpty

プリンタ用紙の有無を取得します。 trueの場合、完全に用紙が無くなった状態であることを表します。

Declaration
public bool PaperEmpty { get; }
Property Value
Type Description
System.Boolean

PaperLow

プリンタ用紙のニアエンド状態を取得します。 trueの場合、用紙の終端が近い状態であることを表します。

Declaration
public bool PaperLow { get; }
Property Value
Type Description
System.Boolean

PresenterPaperJam

プレゼンターユニットの用紙詰まりに関する状態を取得します。 trueの場合、プレゼンターユニットで用紙が詰まっていることを表します。(デバイスにプレゼンターユニットが取り付けられている場合)

Declaration
public bool PresenterPaperJam { get; }
Property Value
Type Description
System.Boolean

ReceiveBufferOverflow

プリンタの受信バッファが許容量を超えているかの状態を取得します trueの場合、プリンタが正しいハンドシェイクなしでデータ受信バッファを超えたためエラー状態であることを表します。

Declaration
public bool ReceiveBufferOverflow { get; }
Property Value
Type Description
System.Boolean

Recoverable

自動復帰不可能なエラー状態であるかを取得します trueの場合、現在自動復帰が不可能な状態であることを表します。

Declaration
public bool Recoverable { get; }
Property Value
Type Description
System.Boolean

VoltageError

プリンタの電圧エラーに関する状態を取得します。 trueの場合、プリンタボードが誤った電圧を測定し電源の問題を示していることを表します。

Declaration
public bool VoltageError { get; }
Property Value
Type Description
System.Boolean

Methods

Equals(Object)

For test

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetHashCode()

For test

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()
Back to top