|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citizen.jpos.command.CPCL
com.citizen.jpos.printer.CPCLPrinter
public class CPCLPrinter
CPCLPrinter
Constructor Summary | |
---|---|
CPCLPrinter()
|
|
CPCLPrinter(java.lang.String charset)
|
Method Summary | |
---|---|
int |
getEmulation()
LK-P20 , LK-P21, LK-P31 µî ¿µ¼öÁõ Àü¿ëÀº Áö¿ø ¾ÈÇÔ. |
void |
printBitmap(android.graphics.Bitmap bmp,
int printX,
int printY)
|
int |
printBitmap(java.lang.String filePath,
int printX,
int printY)
Print the bitmap image. |
int |
printerCheck()
|
int |
printerCheck(int timeout)
This method is used for printer status checking. |
void |
printForm()
Used for setting the paper at the top of the form after printing. |
void |
sendPrinter()
Deprecated. |
int |
status()
This function is used for getting the printer status. |
double |
temperature()
|
double |
voltage()
|
Methods inherited from class com.citizen.jpos.command.CPCL |
---|
clearBuffer, concatText, getBuffer, inverseLine, multiLineData, multiLineText, printBox, printCPCL2DBarCode, printCPCLBarcode, printCPCLImage, printCPCLText, 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 |
---|
@Deprecated public void sendPrinter() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public void printForm() throws java.io.UnsupportedEncodingException
CPCL
printForm
in class CPCL
java.io.UnsupportedEncodingException
public int printerCheck(int timeout)
public int printerCheck()
public int status()
public int getEmulation()
public double temperature()
public double voltage()
public int printBitmap(java.lang.String filePath, int printX, int printY) throws java.io.IOException
java.io.IOException
public void printBitmap(android.graphics.Bitmap bmp, 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 |