Uses of EpsonCom.ERROR_CODE in com.epson.EpsonCom |
---|
Methods in com.epson.EpsonCom that return EpsonCom.ERROR_CODE | |
---|---|
EpsonCom.ERROR_CODE |
EpsonComDevice.activateASB(java.lang.Boolean drawer,
java.lang.Boolean onoffline,
java.lang.Boolean error,
java.lang.Boolean paper,
java.lang.Boolean slip,
java.lang.Boolean panelbutton)
activateASB activates the automatic status transmission. |
EpsonCom.ERROR_CODE |
CallbackInterface.CallbackMethod(EpsonComCallbackInfo cbInfo)
CallbackMethod Declaration of the callback method |
EpsonCom.ERROR_CODE |
EpsonComDevice.cancelWaitForSlip()
cancelWaitForSlip Closes and releases the port object |
EpsonCom.ERROR_CODE |
EpsonComDevice.checkAndSetImageParameters(int checkOrCard)
checkAndSetImageParameters checks the image parameters and if ok, sets them |
EpsonCom.ERROR_CODE |
EpsonComDevice.closeDevice()
closeDevice closes and releases the port object |
EpsonCom.ERROR_CODE |
EpsonComDevice.cutPaper()
cutPaper cuts the paper at the current position |
EpsonCom.ERROR_CODE |
EpsonComDevice.deleteCropArea(int num)
deleteCropArea deletes one crop area |
EpsonCom.ERROR_CODE |
EpsonComDevice.ejectCheck()
ejectCheck Ejects the check. |
EpsonCom.ERROR_CODE |
EpsonComDevice.feedSlipToPrintStartPosition()
feedSlipToPrintStartPosition feeds the slip to the print starting position according to the selected side |
EpsonCom.ERROR_CODE |
EpsonComDevice.openDevice()
openDevice Creates and opens the port object. |
EpsonCom.ERROR_CODE |
EpsonComDevice.printPage(int mode)
printPage Finishes a page-mode page and prints it It also ejects any slip that was printed on even when this was not in page mode |
EpsonCom.ERROR_CODE |
EpsonComDevice.printString(java.lang.String string,
EpsonCom.FONT font,
java.lang.Boolean bold,
java.lang.Boolean underlined,
java.lang.Boolean doubleHeight,
java.lang.Boolean doubleWidth)
printString Prints a one-line string with specific formatting |
EpsonCom.ERROR_CODE |
EpsonComDevice.readMICR(EpsonCom.MICR_FONT font,
java.lang.Boolean waitforanswer,
int timeout)
readMICR initiates the check (MICR) reading the result can be obtained by using the getMICR command |
EpsonCom.ERROR_CODE |
EpsonComDevice.readMICRScanCheck(EpsonCom.MICR_FONT font,
java.lang.Boolean waitforanswer,
int timeout)
readMICRScanCheck initiates check (MICR) reading followed by a check image scan if callback is registered, it will result in getting two callbacks, one for MICR and one for the image |
EpsonCom.ERROR_CODE |
Port.registerCallback(CallbackInterface callback)
------------------------------------------------------------------------------------- registerCallback |
EpsonCom.ERROR_CODE |
EpsonComDevice.registerCallback(CallbackInterface callback)
registerCallback registers a callback function to be called when data arrives at the port |
EpsonCom.ERROR_CODE |
EpsonComDevice.requestDeviceStatus(int type,
java.lang.Boolean waitforanswer,
int timeout)
requestDeviceStatus requests the current real-time device status from the device the result can be obtained by using the command getDeviceStatus |
EpsonCom.ERROR_CODE |
EpsonComDevice.resetDevice()
resetDevice resets the printer |
EpsonCom.ERROR_CODE |
EpsonComDevice.scanCheck(java.lang.Boolean waitforanswer,
int timeout)
scanCheck Initiates the check scanning (callback must be registered in order to receive the actual image data) |
EpsonCom.ERROR_CODE |
EpsonComDevice.scanIDCard(java.lang.Boolean waitforanswer,
int timeout)
scanIDCard initiates the ID card scanning (callback must be registered in order to receive the actual image data) |
EpsonCom.ERROR_CODE |
EpsonComDevice.selectAlignment(EpsonCom.ALIGNMENT alignment)
selectAlignment selects the print alignment |
EpsonCom.ERROR_CODE |
EpsonComDevice.selectImageFormat(EpsonCom.IMAGEFORMAT format)
selectImageFormat selects the image format which will be used to return the image data after the next scan |
EpsonCom.ERROR_CODE |
EpsonComDevice.selectPageMode()
selectPageMode switches the printer into page mode. |
EpsonCom.ERROR_CODE |
EpsonComDevice.selectPrintDirection(EpsonCom.PRINTDIRECTION direction)
selectPrintDirection selects the print direction (for page mode only!) |
EpsonCom.ERROR_CODE |
EpsonComDevice.selectReceiptPaper()
selectReceiptPaper selects the paper type to print on |
EpsonCom.ERROR_CODE |
EpsonComDevice.selectSlipPaper(EpsonCom.PAPERSIDE side)
selectSlipPaper selects the slip as active paper and sets on which side to print on |
EpsonCom.ERROR_CODE |
EpsonComDevice.sendCommand(java.lang.String command)
sendCommand sends an ESC/POS command to the printer |
EpsonCom.ERROR_CODE |
EpsonComDevice.sendData(java.util.Vector<java.lang.Byte> data)
sendData sends binary data to the port |
EpsonCom.ERROR_CODE |
EpsonComDevice.setCropArea(int num,
int x1,
int y1,
int x2,
int y2)
setCropArea sets one crop area, defined by two diagonal coordinates |
EpsonCom.ERROR_CODE |
EpsonComDevice.setDeviceParameters(EpsonComDeviceParameters params)
setDeviceParameters Sets the device parameters. |
EpsonCom.ERROR_CODE |
EpsonComDevice.setImageParameters(EpsonCom.BITDEPTH bitdepth,
EpsonCom.IMAGEPROCESSING imageprocessing,
int threshold)
setImageParameters sets the parameters data tone, image processing and threshold |
EpsonCom.ERROR_CODE |
EpsonComDevice.setScanArea(int x1,
int y1,
int x2,
int y2)
setScanArea sets the scan area, defined by two diagonal coordinates |
EpsonCom.ERROR_CODE |
EpsonComDevice.unregisterCallback()
unregisterCallback unregisters the callback function. |
EpsonCom.ERROR_CODE |
EpsonComDeviceParameters.validateParameters()
validateParameters Validates all the set parameters, according to the selected PortType |
static EpsonCom.ERROR_CODE |
EpsonCom.ERROR_CODE.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EpsonCom.ERROR_CODE[] |
EpsonCom.ERROR_CODE.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in com.epson.EpsonCom with parameters of type EpsonCom.ERROR_CODE | |
---|---|
static java.lang.String |
EpsonTools.getErrorText(EpsonCom.ERROR_CODE errorcode)
------------------------------------------------------------------------------------- getErrorText Converts a numeric error code into the corresponding error text |
static java.lang.String |
EpsonCom.getErrorText(EpsonCom.ERROR_CODE errorcode)
getErrorText returns the error text to a given error code |