com.starmicronics.stario
Class StarPrinterStatus

java.lang.Object
  extended by com.starmicronics.stario.StarPrinterStatus
All Implemented Interfaces:
java.lang.Cloneable

public class StarPrinterStatus
extends java.lang.Object
implements java.lang.Cloneable

Note: Not all status values are supported by all printers


Field Summary
 boolean blackMarkError
          Black mark not found of paper
 boolean compulsionSwitch
          True indicates that the cash draw is open, otherwise false
 boolean coverOpen
          Indicates that the cover is open
 boolean cutterError
          Indicates that there is a problem with the cutter
 boolean etbAvailable
          Tell you if the printer supports checked block.
Note:The TSP100 lan does not support checked block even though it reports it does.
 int etbCounter
          Indicates number of time etb character was sent to the printer
 boolean headThermistorError
           
 boolean headUpError
           
 boolean mechError
          Indicates a mechanical error
 boolean offline
          Indicates that the printer is offline
 boolean overTemp
          Indicates that the printer over heated
 boolean pageModeCmdError
           
 boolean peelerPaperPresent
          Indicates that the printer is using labels paper
 boolean presenterPaperJamError
          There is a paper jam in the presenter
 boolean presenterPaperPresent
          Printer is presenter in the presenter, only for the TUP series or printer
 int presenterState
           
 byte[] raw
          The status of the printer in its raw form
 int rawLength
          The length of the raw status read from the printer
 boolean receiptBlackMarkDetection
           
 boolean receiptPaperEmpty
          Indicates the printer is out of paper
 boolean receiptPaperNearEmptyInner
          The printer is nearly out of paper to trigger the receiptPaperNearEmptyInner sensor
 boolean receiptPaperNearEmptyOuter
          The printer is nearly out of paper to trigger the receiptPaperNearEmptyInner sensor
 boolean receiveBufferOverflow
           
 boolean slipBOF
          Use for the HSP7000 only.
 boolean slipCOF
          Used for the HSP7000 only.
 boolean slipPaperPresent
          Indicates that there is paper in the slip
 boolean slipTOF
          Used for the HSP7000 only.
 boolean stackerFull
          Indicates that the stacker for the printer is full
 boolean unrecoverableError
          Indicates that the printer has a unrecoverable error
 boolean validationPaperPresent
           
 boolean voltageError
           
 
Constructor Summary
StarPrinterStatus()
           
 
Method Summary
 java.lang.Object clone()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

coverOpen

public boolean coverOpen
Indicates that the cover is open


offline

public boolean offline
Indicates that the printer is offline


compulsionSwitch

public boolean compulsionSwitch
True indicates that the cash draw is open, otherwise false


overTemp

public boolean overTemp
Indicates that the printer over heated


unrecoverableError

public boolean unrecoverableError
Indicates that the printer has a unrecoverable error


cutterError

public boolean cutterError
Indicates that there is a problem with the cutter


mechError

public boolean mechError
Indicates a mechanical error


headThermistorError

public boolean headThermistorError

receiveBufferOverflow

public boolean receiveBufferOverflow

pageModeCmdError

public boolean pageModeCmdError

blackMarkError

public boolean blackMarkError
Black mark not found of paper


presenterPaperJamError

public boolean presenterPaperJamError
There is a paper jam in the presenter


headUpError

public boolean headUpError

voltageError

public boolean voltageError

receiptBlackMarkDetection

public boolean receiptBlackMarkDetection

receiptPaperEmpty

public boolean receiptPaperEmpty
Indicates the printer is out of paper


receiptPaperNearEmptyInner

public boolean receiptPaperNearEmptyInner
The printer is nearly out of paper to trigger the receiptPaperNearEmptyInner sensor


receiptPaperNearEmptyOuter

public boolean receiptPaperNearEmptyOuter
The printer is nearly out of paper to trigger the receiptPaperNearEmptyInner sensor


presenterPaperPresent

public boolean presenterPaperPresent
Printer is presenter in the presenter, only for the TUP series or printer


peelerPaperPresent

public boolean peelerPaperPresent
Indicates that the printer is using labels paper


stackerFull

public boolean stackerFull
Indicates that the stacker for the printer is full


slipTOF

public boolean slipTOF
Used for the HSP7000 only. Indicates that the top of the slip has paper in it


slipCOF

public boolean slipCOF
Used for the HSP7000 only. Indicates that the middle of the slip has paper in it


slipBOF

public boolean slipBOF
Use for the HSP7000 only. Indicates that the bottom of the slip has paper in it


validationPaperPresent

public boolean validationPaperPresent

slipPaperPresent

public boolean slipPaperPresent
Indicates that there is paper in the slip


etbAvailable

public boolean etbAvailable
Tell you if the printer supports checked block.
Note:The TSP100 lan does not support checked block even though it reports it does.


etbCounter

public int etbCounter
Indicates number of time etb character was sent to the printer


presenterState

public int presenterState

rawLength

public int rawLength
The length of the raw status read from the printer


raw

public byte[] raw
The status of the printer in its raw form

Constructor Detail

StarPrinterStatus

public StarPrinterStatus()
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object