public boolean HavePaper();是否有纸,返回true为有纸,返回false为无纸
public void SetParameter(int iHeatDealyFactory,int iHeatBits,int iStepDelay);
设置打印参数
public void SetFont(int iFont);设置字体
public void DrawString(String str, int x,int y) throws HuayuException;在坐标(x,y)打印字符串
public void DrawString(String str) throws HuayuException;打印字符串
public void NewLine() throws HuayuException;换行
public void PrintRawData(byte[] bRawData,int iLength) throws HuayuException;打印原始数据,数组的长度必须为48的倍数
public void DrawBitmap(InputStream is,int iX, int iY) throws HuayuException;在坐标(x,y)打印图片
public void DoPrint() throws HuayuException;
启动打印
public void DoStep(int iStep);
走纸,iStep大于0出纸 iStep小于0进纸
public void Reset();复位