public class PrinterStatusMessages
extends Object
PrinterStatus
instance. Modifier and Type | Field and Description |
---|---|
static String |
HEAD_OPEN_MSG
Message to indicate the head is open
|
static String |
HEAD_TOO_HOT_MSG
Message to indicate the head is too hot
|
static String |
NULL_MSG
Message to indicate
printerStatus is null |
static String |
PAPER_OUT_MSG
Message to indicate the paper is out
|
static String |
PAUSE_MSG
Message to indicate printer is paused
|
static String |
RECEIVE_BUFFER_FULL_MSG
Message to indicate the receive buffer is full
|
static String |
RIBBON_OUT_MSG
Message to indicate the ribbon is out
|
Constructor and Description |
---|
PrinterStatusMessages(PrinterStatus printerStatus)
Used to acquire a human readable string of the current errors/warnings stored in
printerStatus |
Modifier and Type | Method and Description |
---|---|
String[] |
getStatusMessage()
Used to acquire a human readable string of the current errors/warnings passed to this instance
|
public static final String HEAD_OPEN_MSG
public static final String HEAD_TOO_HOT_MSG
public static final String PAPER_OUT_MSG
public static final String RIBBON_OUT_MSG
public static final String RECEIVE_BUFFER_FULL_MSG
public static final String PAUSE_MSG
public static final String NULL_MSG
printerStatus
is nullpublic PrinterStatusMessages(PrinterStatus printerStatus)
printerStatus
printerStatus
- an instance of PrinterStatus
that will be used to acquire the human readable string
of warnings/errors stored in printerStatus
© 2017 ZIH Corp. All Rights Reserved.