|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.datecs.api.printer.PrinterInformation
public class PrinterInformation
This class represents a various information received from printer.
Field Summary | |
---|---|
static int |
PRINTER_CMP10
|
static int |
PRINTER_DPP250
|
static int |
PRINTER_DPP350
|
static int |
PRINTER_DPP450
|
static int |
PRINTER_DPP500
|
static int |
PRINTER_EP300
|
static int |
PRINTER_EP55
|
static int |
PRINTER_EP60
|
static int |
PRINTER_PP60
|
static int |
PRINTER_UNKNOWN
|
Method Summary | |
---|---|
byte[] |
getData()
Returns a copy of the information data as returned from printer. |
int |
getFeedLines()
Returns the number of dot lines needed to feed last printed line to cutter in. |
int |
getFirmwareVersion()
Returns the printer firmware version. |
java.lang.String |
getFirmwareVersionString()
Returns the printer firmware version as string. |
int |
getMaxPageHeight()
Returns maximum page height in dots. |
int |
getMaxPageWidth()
Returns maximum page width in dots. |
int |
getModel()
Return printer model. |
java.lang.String |
getName()
Returns printer name. |
boolean |
isBarcodeAvailable()
Return true if barcode reader module is available. |
boolean |
isBlackmarkEnabled()
Return true if blackmark mode is enabled. |
boolean |
isBlackmarkSupported()
Return true if blackmark mode is supported. |
boolean |
isFahrenheit()
Return true if head temperature is returned in Fahrenheit scale. |
boolean |
isFirmwareUpdateSupported()
Return true if printer support firmware update. |
boolean |
isIrdaAvailable()
Return true if IRDA module is available. |
boolean |
isMsr3Tack()
Return true if magnetic stripe reader is capable to read track 3. |
boolean |
isMsrAvailable()
Return true if magnetic stripe reader module is available. |
boolean |
isPageSupported()
Return true if page mode is supported. |
boolean |
isUsbAEnabled()
Return true if USB A is enabled. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PRINTER_UNKNOWN
public static final int PRINTER_CMP10
public static final int PRINTER_DPP350
public static final int PRINTER_DPP250
public static final int PRINTER_PP60
public static final int PRINTER_EP55
public static final int PRINTER_DPP450
public static final int PRINTER_EP60
public static final int PRINTER_EP300
public static final int PRINTER_DPP500
Method Detail |
---|
public byte[] getData()
public int getFirmwareVersion()
public java.lang.String getFirmwareVersionString()
public boolean isIrdaAvailable()
true
if IRDA module is available.
true
if IRDA module is available.public boolean isMsrAvailable()
true
if magnetic stripe reader module is available.
true
if magnetic stripe reader module is available.public boolean isMsr3Tack()
true
if magnetic stripe reader is capable to read track 3.
true
if magnetic stripe reader is capable to read track 3.public boolean isFahrenheit()
true
if head temperature is returned in Fahrenheit scale.
true
if head temperature is returned in Fahrenheit scale.public boolean isFirmwareUpdateSupported()
true
if printer support firmware update.
true
if printer support firmware update.public boolean isBlackmarkSupported()
true
if blackmark mode is supported.
true
if blackmark mode is supported.public boolean isBlackmarkEnabled()
true
if blackmark mode is enabled.
On some devices parameter can return incorrect value
true
if blackmark mode is enabled.public boolean isBarcodeAvailable()
true
if barcode reader module is available.
true
if barcode reader module is available.public boolean isPageSupported()
true
if page mode is supported.
true
if page mode is supported.public boolean isUsbAEnabled()
true
if USB A is enabled.
true
if USB A is enabled.public int getModel()
The returned value can be one of PRINTER_*
constant values.
public java.lang.String getName()
public int getMaxPageWidth()
Printer resolution is 203 DPI (dot per inch).
public int getMaxPageHeight()
Printer resolution is 203 DPI (dot per inch).
public int getFeedLines()
Printer resolution is 203 DPI (dot per inch).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |