|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sewoo.jpos.command.CPCL
com.sewoo.jpos.printer.CPCLPrinter
public class CPCLPrinter
CPCLPrinter
Constructor Summary | |
---|---|
CPCLPrinter()
|
|
CPCLPrinter(java.lang.String charset)
|
Method Summary | |
---|---|
int |
printBitmap(java.lang.String filePath,
int printX,
int printY)
Print the bitmap image. |
int |
printCheck()
This method is used for printer status checking. |
void |
sendPrinter()
|
int |
status()
This function is used for getting the printer status. |
Methods inherited from class com.sewoo.jpos.command.CPCL |
---|
clearBuffer, concatText, getBuffer, inverseLine, multiLineData, multiLineText, printBox, printCPCL2DBarCode, printCPCLBarcode, printCPCLImage, printCPCLText, printForm, printGraphic, printLine, resetConcat, resetCountry, resetMagnify, resetMultiLine, setConcat, setContrast, setCountry, setCPCLBarcode, setForm, setFormMode, setJournalMode, setJustification, setMagnify, setMeasure, setMedia, setMultiLine, setPageWidth, setPattern, setSpeed, setTone |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CPCLPrinter()
public CPCLPrinter(java.lang.String charset)
Method Detail |
---|
public void sendPrinter() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public int printCheck()
public int status()
public int printBitmap(java.lang.String filePath, int printX, int printY) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |