A B C D E F G H I J K L M N O P Q R S T U V W X Z 
所有类 所有程序包

A

a() - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
a(Object) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
a(String, Object) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
ABOVE - com.gainscha.sdk2.command.EscCommand.HRI_POSITION
已过时。
 
ABOVE_AND_BELOW - com.gainscha.sdk2.command.EscCommand.HRI_POSITION
已过时。
 
add(byte[]) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加指令
add(char) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
 
add(String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加指令
add(String, Object...) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加格式化指令(自动添加指令前缀)
add1DBarcode(int, int, String, int, boolean, int, int, int, String) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:在标签上绘制一维条码
add1DBarcode(int, int, String, int, boolean, int, String) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:在标签上绘制一维条码
addArabicText(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:插入阿拉伯文字
addBackFeed(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:退纸 单位为dot 1mm为8dot
addBar(int, int, int, int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:在标签上画线
addBarcode(int, int, int, boolean, int, String) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
 
addBarcode(int, String) - 类 中的方法com.gainscha.sdk2.command.Esc
添加条码
addBarcode(int, String) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
addBarcode(CpclCommand.COMMAND, CpclCommand.CPCLBARCODETYPE, int, int, int, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addBarcode(CpclCommand.COMMAND, CpclCommand.CPCLBARCODETYPE, int, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
横向打印条形码 ,选择理想宽窄比和理想窄点宽
addBarcode(CpclCommand.COMMAND, CpclCommand.CPCLBARCODETYPE, int, CpclCommand.BARCODERATIO, int, int, int, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addBarcode(CpclCommand.COMMAND, CpclCommand.CPCLBARCODETYPE, int, CpclCommand.BARCODERATIO, int, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addBarcode11(Rotation, int, boolean, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加Code11条码(USD-8码)每个字符由三个条和两个空格组成,字符集为 10 个数字和连接符(-) 打印比例调整:2.0 到 3.0 ^FD(Field Data:数据字段)限制:100+字符。
addBarcode128(Rotation, int, boolean, boolean, boolean, Code128Mode, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印Code128码 (Code 128)条码是一种高密度、变长、连续型字母数字型符号码。
addBarcode39(Rotation, int, boolean, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印Code39码 39 码的每个字符由九个元素组成:五个条,四个空和字符间隙,这九个元素中,三个是宽的,六个是窄的 打印比例调整:2.0 到 3.0 ^FD(Field Data:数据字段)限制:100+字符。
addBarcode49(Rotation, int, boolean, boolean, char, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印Code49码 (Code 49 码)是一种多行、连续、可变长的兼容 128 位全 ASCII 字符集的条码。
addBarcode93(Rotation, int, boolean, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印CODE93码 (Code 93)条码命令是一种变长、连续型符号码。
addBarcodeAztec(Rotation, int, boolean, int, boolean, int, String, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加Aztec条码
addBarcodeBKANSICodabar(Rotation, int, boolean, boolean, boolean, char, char, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印ANSI库德巴 (ANSI 库德巴) 条码通常广泛地用于图书馆、药品工业和快递公司的应用中。
addBarcodeDataMatrix(Rotation, int, int, int, int, DataMatrixFormat, char, int, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印Data Matrix条码
addBarcodeEAN13(Rotation, int, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印EAN13码 (EAN-8)条码命令是类似 UPC-A 的条码,它在欧州和日本的零售商场得到非常广泛的应用。
addBarcodeEAN8(Rotation, int, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印EAN-8码 (EAN-8)条码命令是 EAN-13 的缩短版,参见 EAN-13 可以得到更多的关于 EAN 的信息。
addBarcodeIndustrial2Of5(Rotation, int, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印工业二五码 (工业二五码)条码是自校验,连续的数字型条码。
addBarcodeInterleaved2Of5(Rotation, int, boolean, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印交叉25码 交叉二五码)是高密度的、自校验的、连续的、数字的符号。
addBarcodeLogoMars(Rotation, int, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印LogoMars码 (LOGMARS) 条码在美国国防部中作为39码的一种特殊应用。
addBarcodeMicroPDF417(Rotation, int, int, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加微型PDF417码 (微型 PDF417)条码是二维、多层、连续、堆栈型和 PDF417 一样,不同之处在于 PDF417 使用 17 个模块宽的起始符终止符和左右层指示。
addBarcodeMsi(Rotation, int, boolean, boolean, boolean, ParityMode, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印MSI条码
addBarcodePDF417(Rotation, int, int, int, int, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印PDF417码 (PDF417)条码命令是一个二维、多层、连续、堆栈的符号码。
addBarcodePlanet(Rotation, int, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印Planet条码 邮码是所有条码打印机支持的常用条码。
addBarcodePlessey(Rotation, int, boolean, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印Plessey条码 (Plessey) 条码是脉冲宽度调制的,连续的,无自校验的条码。
addBarcodePostNet(Rotation, int, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印PostNet条码 (POSTNET,邮政网)条码用于自动分检信件。
addBarcodeQRCODE(boolean, int, ErrorLevel, int, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印QR条码 QR条码是在一个正方形范围内用大量的小的正方形模块组成的矩阵图像,在四角的其中三个位置有特殊的正方块辅助判断二维码的大小,位置和旋转角度。
addBarcodeStandard2Of5(Rotation, int, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印标准25码 (标准二五码)条码是自校验,连续的数字型条码。
addBarcodeText(int, int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
/** 注释条码
addBarcodeTextOff() - 类 中的方法com.gainscha.sdk2.command.CpclCommand
禁用注释条码
addBarcodeUPCA(Rotation, int, boolean, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印UPC-A码 (UPC-A)条码是固定长度、数字、连续型的条码,它主要用于零售业的包装标签。
addBarcodeUPCE(Rotation, int, boolean, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印UPC-E码 (UPC-E)条码命令是 UPC 系统的一种变化用于数字系统 0,UPC 是美国统一代码(Universal Product Code)的缩写。
addBarcodeUPCEANExtend(Rotation, int, boolean, boolean, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印UPC/EAN扩展码 (UPC/EAN 扩展)是出版商的 ISBN(国际标准书号)的 2 到 5 位的附加数字。
addBeep(int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
蜂鸣器发出给定时间长度的声音
addBitmap(int, int, Bitmap, boolean, boolean) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
打印图片
addBitmap(int, int, Bitmap, int, TscCommand.BITMAP_MODE, boolean) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:在标签上绘制图片
addBitmap(Bitmap, boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
添加图片(光栅位图)
addBitmap(Bitmap, boolean) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
添加图片,GP-76系列不能添加光栅位图, 位图数据只支持8位
addBitmap(Bitmap, boolean, int) - 类 中的方法com.gainscha.sdk2.command.Esc
添加图片
addBitmap(Bitmap, boolean, int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
addBitmap(Bitmap, int, boolean) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印图片
addBitmap(Bitmap, BitmapDataFormat, boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加图片 注意:发送直接二进制和压缩二进制有问题
addBitmap(ZFile) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加图片,从打印机存储中读取图片数据,图片的位置是上一个FO设置的位置
addBitmapFromFlash(int, boolean, boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
添加图片,从Flash中添加已下载的图片 Esc.setBitmapToFlash(boolean, Bitmap...) 图片不存在时指令无效 标准模式下,只有在打印缓冲区无数据时此指令才有效 打印完后自动换行
addBitmapFromFlash(int, boolean, boolean) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
addBitmapFromMemory(boolean, boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
添加图片,从内存中添加已下载的图片 Esc.setBitmapToMemory(Bitmap, boolean) 图片不存在时指令无效 标准模式下,只有在打印缓冲区无数据时此指令才有效 打印完后自动换行
addBitmapFromMemory(boolean, boolean) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
addBlineGap(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置黑标高度,单位mm
addBox(int, int, int, boolean, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加矩形框
addBox(int, int, int, int, int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
绘制指定线条宽度的矩形
addBox(int, int, int, int, int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:在标签上绘制矩形
addBQrcode(int, int, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
打印二维码
addBQrcode(int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addBuffer(byte) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
addBuffer(byte[]) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
addBuffer(String) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
addBuffer(String, Charset) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
addCancelKanjiMode() - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置汉字无效
addCancelUserDefinedCharacters(byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置取消自定义字符
addCashdrwer(int, int, int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:打开钱箱命令
addCircle(int, int, boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加圆形
addCls() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:清除打印缓冲区
addCODABAR(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印CODABAR码
addCODE128(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印CODE128码
addCODE39(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印UPCE条码
addCODE93(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印CODE93码
addCodePage(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置国际代码页
addCommand(byte) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
添加指令内容
addCommand(byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
添加指令内容
addCommand(byte) - 类 中的方法com.gainscha.sdk2.command.TscCommand
添加指令内容
addCommand(byte[]) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
添加指令内容
addCommand(byte[]) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
添加指令内容
addCommand(byte[]) - 类 中的方法com.gainscha.sdk2.command.TscCommand
添加指令内容
addCommand(String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
添加指令内容
addCommand(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
添加指令内容
addCommand(String) - 类 中的方法com.gainscha.sdk2.command.TscCommand
添加指令内容
addComment(String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加注释 ^FX(注释)指令是当你要在标签格式中加入信息注解时有效的方式。
addConnectionListener(ConnectionListener) - 类 中的静态方法com.gainscha.sdk2.Printer
添加打印机连接状态广播接收者
addCount(String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
打印多条标签数字文本依次递增或递减
addCountry(CpclCommand.COUNTRY) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
选择国际字符集
addCutAndFeedPaper(byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置切纸后走纸
addCutPaper() - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:切纸
addCutter(boolean) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置切刀是否有效
addCutterBatch() - 类 中的方法com.gainscha.sdk2.command.TscCommand
打印到最后一张切纸
addCutterPieces(short) - 类 中的方法com.gainscha.sdk2.command.TscCommand
设置打印几张后切纸,如果调用addPrint的打印份数小于number,则不会进行切纸
addDeleteFile(String) - 类 中的方法com.gainscha.sdk2.command.TscCommand
删除打印机DRAM中的文件
addDensity(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置打印浓度
addDevice(String, int) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
addDiagonalLine(int, int, int, DiagonalLineMode) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加对角线
addDirection(boolean, boolean) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置打印方向
addDownloadBMP(Bitmap, String, int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
下载BMP图片到打印机DRAM
addDownloadDataFile(String, byte[]) - 类 中的方法com.gainscha.sdk2.command.TscCommand
下载数据文件到打印机DRAM
addDownloadProgramFile(String, byte[]) - 类 中的方法com.gainscha.sdk2.command.TscCommand
下载程序文件到打印机DRAM
addEAN13(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印EAN13码
addEAN8(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印EAN8码
addEnd() - 类 中的方法com.gainscha.sdk2.command.CpclCommand
终止指令
addEndFlag() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
字段结束标志
addErase(int, int, int, int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:该指令用于清除影像缓冲区部份区域的数据
addFeed(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:进纸 单位为dot 1mm为8dot
addForm() - 类 中的方法com.gainscha.sdk2.command.CpclCommand
打印结束后切换到下一张的顶部
addFormFeed() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:走一张标签
addGap(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置标签间隙尺寸 单位mm
addGeneratePlus(EscCommand.FOOT, byte, byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:开钱箱
addGeneratePluseAtRealtime(EscCommand.FOOT, byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:立即开启钱箱
addHome() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:校准标签纸
addHorTab() - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:插入水平跳格
addInitializePrinter() - 类 中的方法com.gainscha.sdk2.command.CpclCommand
标签初始化指令
addInitializePrinter() - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印机初始化
addInitializePrinter(int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addInitializePrinter(int, int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addInitializePrinter(int, int, int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addInverseLine(int, int, int, int, int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
绘制任意长度,角度,宽度的线条但在线条区域内黑色区域重绘为白色,白色区域重绘为黑色(反白框)
addItem(PrinterDevice) - 类 中的方法com.gainscha.sdk2.ui.adapter.ConnectDeviceAdapter
 
addITF(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印ITF条码
addJustification(CpclCommand.ALIGNMENT) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
控制字段对齐方式
addJustification(CpclCommand.ALIGNMENT, int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addLimitFeed(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明 :该指令用于设定打印机进纸时,若经过所设定的长度仍无法侦测到垂直间距, 则打印机发生错误,停止进纸
addLine(int, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加直线
addLine(int, int, int, int, int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
绘制任意长度,角度,宽度的线条
addLoadBmpFile(int, int, String) - 类 中的方法com.gainscha.sdk2.command.TscCommand
添加BMP格式的文件,文件必须先下载到打印机中
addLoadPcxFile(int, int, String) - 类 中的方法com.gainscha.sdk2.command.TscCommand
添加PCX格式的文件,文件必须先下载到打印机中
addNote(String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
注释指令 concat与endconcat不能注释
addOffset(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置剥离模式下标签停止的位置 单位mm
addOval(int, int, int, boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加椭圆
addPagewidth(int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
设置标签内存宽度
addPartialCutter(boolean) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置切刀半切是否有效
addPdf417(CpclCommand.COMMAND, int, int, int, int, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addPdf417(CpclCommand.COMMAND, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addPeel(boolean) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置打印机剥离模式
addPOSTtension(int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
打印后走纸
addPREtension(int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
走纸后打印
addPrint() - 类 中的方法com.gainscha.sdk2.command.CpclCommand
打印标签指令
addPrint(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:执行打印
addPrint(int, int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:执行打印
addPrintAndFeedLines(byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印并且走纸多少行
addPrintAndFeedPaper(byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置打印后走纸距离
addPrintAndLineFeed() - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:进纸一行
addPrintKey(boolean) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置是否按键打印有效
addPrintKey(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置按键打印份数
addPrintQRCode() - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印存储的QRCode
addQrcode(int, int, String) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
 
addQrcode(String) - 类 中的方法com.gainscha.sdk2.command.Esc
添加二维码Qrcode
addQrcode(String) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
addQRCode(int, int, String, int, int, String) - 类 中的方法com.gainscha.sdk2.command.TscCommand
打印二维码
addQrcodeFromMemory() - 类 中的方法com.gainscha.sdk2.command.Esc
添加二维码Qrcode,从内存符号存储器读取保存的二维码
addQrcodeFromMemory() - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
addQueryPrinterCodePage() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:查询打印机代码页
addQueryPrinterFile() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:查询打印机存储文档
addQueryPrinterLife() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:查询打印机已打印里程
addQueryPrinterMemory() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:查询打印机内存
addQueryPrinterModel() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明 :查询打印机型号
addQueryPrinterStatus() - 类 中的方法com.gainscha.sdk2.command.CpclCommand
询问打印机状态指令
addQueryPrinterStatus() - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
此方法一般在一张订单的最后加入, 打印机打印完成时, 会接收到一条GpCom.ACTION_DEVICE_STATUS广播, 可以在此广播里发送下一条订单给打印机
addQueryPrinterStatus() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:查询打印机实时状态
addReference(int, int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置标签原点坐标
addReprint(boolean) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置出现错误时是否打印上一张内容
addResetPrinter() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:打印机复位
addResponseMode(TscCommand.RESPONSE_MODE) - 类 中的方法com.gainscha.sdk2.command.TscCommand
此方法一般在一张订单的最后加入, 打印机打印完成时, 会接收到一条GpCom.ACTION_DEVICE_STATUS广播, 可以在此广播里发送下一条订单给打印机
addReverse(int, int, int, int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:该指令用于清除影像缓冲区部份区域的数据
addRunProgramFile(String) - 类 中的方法com.gainscha.sdk2.command.TscCommand
运行打印机中的程序文件
addSelectCharacterFont(EscCommand.FONT) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置字符类型
addSelectCodePage(EscCommand.CODEPAGE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置代码页
addSelectDefualtLineSpacing() - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置为默认行间距
addSelectErrorCorrectionLevelForQRCode(byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置QRCode纠错级别
addSelectInternationalCharacterSet(EscCommand.CHARACTER_SET) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置国际字符集
addSelectJustification(EscCommand.JUSTIFICATION) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置对齐方式
addSelectKanjiMode() - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置汉字有效
addSelectOrCancelUserDefineCharacter(EscCommand.ENABLE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置是否取消自定义字符
addSelectPrintingPositionForHRICharacters(EscCommand.HRI_POSITION) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置条码可识别字符
addSelectPrintModes(EscCommand.FONT, EscCommand.ENABLE, EscCommand.ENABLE, EscCommand.ENABLE, EscCommand.ENABLE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置打印模式
addSelectSizeOfModuleForQRCode(byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置QRCode单元模块大小
addSelfTest() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:打印自检页
addSetAbsolutePrintPosition(short) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置绝对打印位置
addSetAutoSatusBack(EscCommand.ENABLE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置打印机是否自动返回状态
addSetBarcodeHeight(byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置条码高度
addSetBarcodeWidth(byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置条码单元宽度
addSetbold(CpclCommand.BOLD) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
行模式 文本加粗
addSetCharcterSize(EscCommand.WIDTH_ZOOM, EscCommand.HEIGHT_ZOOM) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置字符放大
addSetFontForHRICharacter(EscCommand.FONT) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置条码字符种类
addSetHorAndVerMotionUnits(byte, byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置水平和垂直单位距离
addSetKanjiFontMode(EscCommand.ENABLE, EscCommand.ENABLE, EscCommand.ENABLE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置是否汉字字体
addSetKanjiLefttandRightSpace(byte, byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置汉字左右间距
addSetKanjiUnderLine(EscCommand.UNDERLINE_MODE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置汉字下划线
addSetLeftMargin(short) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置打印左间距
addSetlf(int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
行模式 不更改字体,更改每行高度
addSetLineSpacing(byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置行间距
addSetlp(int, int, int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addSetmag(int, int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
放大字体指令
addSetPrintingAreaWidth(short) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置打印宽度
addSetQuadrupleModeForKanji(EscCommand.ENABLE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置汉字倍宽倍高
addSetRelativePrintPositon(short) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置相对打印位置
addSetRightSideCharacterSpacing(byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置字符右间距
addSetsp(int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
设置文本字符间距
addShif(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置标签偏移距离 单位mm
addSize(int, int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置标签尺寸的宽和高
addSound(byte, byte) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
蜂鸣器
addSound(int, int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置蜂鸣器
addSpaceAfterArabicString(String, int) - 类 中的静态方法com.gainscha.sdk2.util.GpUtils
 
addSpeed(int) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置打印速度
addSpeed(CpclCommand.CPCLSPEED) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
设置打印速度
addStoreQRCodeData(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:存入QRCode数据在打印机
addTear(boolean) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:设置打印机撕离模式
addText(int, int, String, int, int, int, String) - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:在标签上绘制文字
addText(CpclCommand.TEXT_FONT, int, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addText(CpclCommand.TEXT_FONT, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
在打印缓冲器添加文字指令
addText(CpclCommand.TEXTFONT, int, int, String, CpclCommand.ALIGNMENT, int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addText(String) - 类 中的方法com.gainscha.sdk2.command.Esc
添加文本制表符
addText(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:插入文字
addText(String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加文本 (字段数据)指令定义字段的数据串。
addText(String, String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:插入文字
addText180(CpclCommand.TEXT_FONT, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addText180(CpclCommand.TEXTFONT, int, int, String, int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addText270(CpclCommand.TEXT_FONT, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addText90(CpclCommand.TEXT_FONT, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addTextBlock(int, int, int, TextJustification, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加文本块
addTextBlock(Rotation, int, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加文本块 TB 指令定义一个有长宽的文本框。
addTextConcat(int, int, String[]) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
TEXT横向串联指令
addTextESC(char) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印十六进制转义字符 FH(十六进制段)指令允许你在^FD 语句里直接输入任何十六进制值。
addTextReverseColor(String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加黑色反色的文本
addTextSerialized(int, int, boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加序列号数字
addTextSerialized(String, String, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加格式化字符串
addTextSpecialSysbol(Rotation, int, int, SpecialSysbol) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
添加特殊符号
addTextTab() - 类 中的方法com.gainscha.sdk2.command.Esc
添加文本制表符
addTurn90ClockWiseRotatin(EscCommand.ENABLE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置字符是否旋转90°
addTurnDoubleStrikeOnOrOff(EscCommand.ENABLE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置加重模式
addTurnEmphasizedModeOnOrOff(EscCommand.ENABLE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置加粗模式
addTurnReverseModeOnOrOff(EscCommand.ENABLE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置反白模式
addTurnUnderlineModeOnOrOff(EscCommand.UNDERLINE_MODE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置下划线
addTurnUpsideDownModeOnOrOff(EscCommand.ENABLE) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:设置倒置模式
addUPCA(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印UPCA条码
addUPCE(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明 打印UPCE条码
addUserCommand(byte[]) - 类 中的方法com.gainscha.sdk2.command.Esc
添加用户自定义指令
addVBQrcode(int, int, int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addVBQrcode(int, int, String) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
addWait(int) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
打印一个标签后延时
AddWifiDeviceDialog - com.gainscha.sdk2.ui.dialog中的类
 
AddWifiDeviceDialog(Context, String, int) - 类 的构造器com.gainscha.sdk2.ui.dialog.AddWifiDeviceDialog
 
AddWifiDeviceDialog.OnPosiTiveListener - com.gainscha.sdk2.ui.dialog中的接口
 
ALIGN_CENTER - 类 中的静态变量com.gainscha.sdk2.command.Esc
居中对齐
ALIGN_LEFT - 类 中的静态变量com.gainscha.sdk2.command.Esc
左对齐
ALIGN_RIGHT - 类 中的静态变量com.gainscha.sdk2.command.Esc
右对齐
ALL - com.gainscha.sdk2.command.zpl.ZFileType
 
ARABIC - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
ARABIC - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
ASCII - com.gainscha.sdk2.command.zpl.BitmapDataFormat
 
ASCII_128 - com.gainscha.sdk2.command.zpl.DataMatrixFormat
 
AUTO - com.gainscha.sdk2.command.zpl.Code128Mode
 
AUTO - com.gainscha.sdk2.command.zpl.PaperType
 
AUTO - com.gainscha.sdk2.command.zpl.TextAlignment
 

B

b64(byte[]) - 类 中的静态方法com.gainscha.sdk2.util.ZplCompressUtil
使用B64压缩
BARCODE - com.gainscha.sdk2.command.CpclCommand.COMMAND
 
BARCODE_CODABAR - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BARCODE_CODE_128 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_128M - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_25 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_25C - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_39 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_39C - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_93 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_CODEBAR - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_CPOST - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_EAN128 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_EAN13 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_EAN13_2 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_EAN13_5 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_EAN14 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_EAN8 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_EAN8_2 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_EAN8_5 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_ITF14 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_MSI - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_MSIC - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_PLESSEY - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_POST - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_UPCA - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_UPCA_2 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_UPCA_5 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_UPCE13 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_UPCE13_2 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE_UPCE13_5 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_CODE128 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BARCODE_CODE39 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BARCODE_CODE93 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BARCODE_EAN13 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BARCODE_EAN8 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BARCODE_ERROR_LEVEL_HEIGHT - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_ERROR_LEVEL_LOW - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_ERROR_LEVEL_MEDIUM - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_ERROR_LEVEL_Q - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
BARCODE_HUMAN_READ_TEXT_ABOVE - 类 中的静态变量com.gainscha.sdk2.command.Esc
条码可读字符在上方
BARCODE_HUMAN_READ_TEXT_ABOVE_BOTTOM - 类 中的静态变量com.gainscha.sdk2.command.Esc
条码可读字符在上方和下方
BARCODE_HUMAN_READ_TEXT_BOTTOM - 类 中的静态变量com.gainscha.sdk2.command.Esc
条码可读字符在下方
BARCODE_HUMAN_READ_TEXT_NONE - 类 中的静态变量com.gainscha.sdk2.command.Esc
条码可读字符无
BARCODE_ITF - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BARCODE_UPC_A - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BARCODE_UPC_E - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
Base64 - com.gainscha.sdk2.util中的类
This class consists exclusively of static methods for obtaining encoders and decoders for the Base64 encoding scheme.
Base64.Decoder - com.gainscha.sdk2.util中的类
This class implements a decoder for decoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
Base64.Encoder - com.gainscha.sdk2.util中的类
This class implements an encoder for encoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
BATCH - com.gainscha.sdk2.command.TscCommand.RESPONSE_MODE
 
baud - 类 中的静态变量com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
BELOW - com.gainscha.sdk2.command.EscCommand.HRI_POSITION
已过时。
 
BIG_ENDIAN - com.gainscha.sdk2.command.ByteBuffer.ByteOrder
 
BINARY - com.gainscha.sdk2.command.zpl.BitmapDataFormat
 
BITMAP_MODE_24_BITS - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BITMAP_MODE_24_BITS_DUAL - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BITMAP_MODE_8_BITS - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BITMAP_MODE_8_BITS_DUAL - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
BitmapCanvas - com.gainscha.sdk2中的类
 
BitmapCanvas(Context, Bitmap) - 类 的构造器com.gainscha.sdk2.BitmapCanvas
 
BitmapCanvas(Context, Bitmap, boolean) - 类 的构造器com.gainscha.sdk2.BitmapCanvas
 
BitmapDataFormat - com.gainscha.sdk2.command.zpl中的枚举
 
BitmapUtil - com.gainscha.sdk2.util中的类
 
BitmapUtil() - 类 的构造器com.gainscha.sdk2.util.BitmapUtil
 
BLACKLINE - com.gainscha.sdk2.command.zpl.PaperType
 
BLUETOOTH - com.gainscha.sdk2.ConnectType
 
BluetoothConnection - com.gainscha.sdk2.internal.connection中的类
 
BluetoothConnection(Context, String, ConnectionListenerInternal) - 类 的构造器com.gainscha.sdk2.internal.connection.BluetoothConnection
 
buffer - 类 中的变量com.gainscha.sdk2.command.Esc
 
build() - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
ByteBuffer - com.gainscha.sdk2.command中的类
 
ByteBuffer() - 类 的构造器com.gainscha.sdk2.command.ByteBuffer
 
ByteBuffer(int) - 类 的构造器com.gainscha.sdk2.command.ByteBuffer
 
ByteBuffer.ByteOrder - com.gainscha.sdk2.command中的枚举
 
bytes(String) - 类 中的静态方法com.gainscha.sdk2.util.HexUtil
hex字符串转byte数组

C

CANADIAN_STANDARDS_ASSOCIATION_APPROVAL - com.gainscha.sdk2.command.zpl.SpecialSysbol
 
CENTER - com.gainscha.sdk2.command.CpclCommand.ALIGNMENT
 
CENTER - com.gainscha.sdk2.command.EscCommand.JUSTIFICATION
已过时。
 
CENTER - com.gainscha.sdk2.command.zpl.TextJustification
 
changePointPx(byte[]) - 类 中的方法com.gainscha.sdk2.util.PicFromPrintUtils
将[1,0,0,1,0,0,0,1]这样的二进制转为化十进制的数值
changePointPx1(byte[]) - 类 中的静态方法com.gainscha.sdk2.util.PicFromPrintUtils
将[1,0,0,1,0,0,0,1]这样的二进制转为化十进制的数值(效率更高)
CHARSET_ASCII - 类 中的静态变量com.gainscha.sdk2.label.LabelBuilder
 
CHARSET_GB18030 - 类 中的静态变量com.gainscha.sdk2.label.LabelBuilder
 
CHARSET_GBK - 类 中的静态变量com.gainscha.sdk2.label.LabelBuilder
 
CHARSET_UTF_8 - 类 中的静态变量com.gainscha.sdk2.label.LabelBuilder
 
checkUsbDevicePidVid(UsbDevice) - 类 中的静态方法com.gainscha.sdk2.PrinterFinder
检查usbDevice的pid和vid是否正确
CHINA - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
clearBuffer() - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
clickAdd(View) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
添加设备
clickBack(View) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
clickSearch(View) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
搜索设备
close() - 类 中的方法com.gainscha.sdk2.internal.UdpClient
关闭UDP监听
clrCommand() - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
 
clrCommand() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:清除命令缓冲区
CODABAR - com.gainscha.sdk2.command.CpclCommand.CPCLBARCODETYPE
 
CODE_PAGE_1251 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_ARABIC - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_CANADIAN - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_CYRILLIC2 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_EAST_EUROPE - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_GREEK - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_HEBREW1 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_HEBREW2 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_IRAN - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_IRAN2 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_ISRAEL - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_KATAKANA - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_LATIN2 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_LATVIAN - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_MULTI_LINGUA1 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_NORDIC - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_PC1001 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_PC747 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_PC858 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_PC864 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_PORTUGUESE - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_STD_EUROPE - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_THAI - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_UYGUR - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_VIETNAM - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_WEST_EUROPE - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_WPC1252 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_WPC1257 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE_PAGE_WPC1257_N - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
CODE128 - com.gainscha.sdk2.command.CpclCommand.CPCLBARCODETYPE
 
Code128Mode - com.gainscha.sdk2.command.zpl中的枚举
 
CODE39 - com.gainscha.sdk2.command.CpclCommand.CPCLBARCODETYPE
 
CODE93 - com.gainscha.sdk2.command.CpclCommand.CPCLBARCODETYPE
 
com.gainscha.sdk2 - 程序包 com.gainscha.sdk2
 
com.gainscha.sdk2.command - 程序包 com.gainscha.sdk2.command
 
com.gainscha.sdk2.command.zpl - 程序包 com.gainscha.sdk2.command.zpl
 
com.gainscha.sdk2.internal - 程序包 com.gainscha.sdk2.internal
 
com.gainscha.sdk2.internal.command - 程序包 com.gainscha.sdk2.internal.command
 
com.gainscha.sdk2.internal.command.udp - 程序包 com.gainscha.sdk2.internal.command.udp
 
com.gainscha.sdk2.internal.connection - 程序包 com.gainscha.sdk2.internal.connection
 
com.gainscha.sdk2.internal.model - 程序包 com.gainscha.sdk2.internal.model
 
com.gainscha.sdk2.label - 程序包 com.gainscha.sdk2.label
 
com.gainscha.sdk2.model - 程序包 com.gainscha.sdk2.model
 
com.gainscha.sdk2.ui - 程序包 com.gainscha.sdk2.ui
 
com.gainscha.sdk2.ui.adapter - 程序包 com.gainscha.sdk2.ui.adapter
 
com.gainscha.sdk2.ui.dialog - 程序包 com.gainscha.sdk2.ui.dialog
 
com.gainscha.sdk2.util - 程序包 com.gainscha.sdk2.util
 
Command - com.gainscha.sdk2.command中的类
 
Command() - 类 的构造器com.gainscha.sdk2.command.Command
 
CommandFactory - com.gainscha.sdk2.internal中的类
 
CommandFactory() - 类 的构造器com.gainscha.sdk2.internal.CommandFactory
 
CommandUDP - com.gainscha.sdk2.internal中的类
 
CommandUDP() - 类 的构造器com.gainscha.sdk2.internal.CommandUDP
 
compress(byte[], int, int) - 类 中的静态方法com.gainscha.sdk2.util.ZLibUtils
压缩
COMPRESS - com.gainscha.sdk2.command.zpl.BitmapDataFormat
 
compressBitmap(Bitmap) - 类 中的静态方法com.gainscha.sdk2.util.PicFromPrintUtils
对图片进行压缩(不去除透明度)
compressPic(Bitmap) - 类 中的静态方法com.gainscha.sdk2.util.PicFromPrintUtils
对图片进行压缩(去除透明度)
connect() - 类 中的方法com.gainscha.sdk2.internal.connection.BluetoothConnection
 
connect() - 类 中的方法com.gainscha.sdk2.internal.Connection
连接打印机
connect() - 类 中的方法com.gainscha.sdk2.internal.connection.NfcConnection
 
connect() - 类 中的方法com.gainscha.sdk2.internal.connection.SerialPortConnection
 
connect() - 类 中的方法com.gainscha.sdk2.internal.connection.TcpConnection
 
connect() - 类 中的方法com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
connect() - 类 中的方法com.gainscha.sdk2.internal.connection.UsbDeviceConnection
 
connect(PrinterDevice) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectPresenter
 
CONNECT_TIMEOUT_MILLISECOND - 类 中的静态变量com.gainscha.sdk2.internal.connection.TcpConnection
 
connectByBlueTooth(BluetoothDevice) - 类 中的方法com.gainscha.sdk2.Printer
连接到蓝牙打印机
connectByBlueTooth(String) - 类 中的方法com.gainscha.sdk2.Printer
连接到蓝牙打印机
connectBySerial(String, int) - 类 中的方法com.gainscha.sdk2.Printer
连接到串口打印机
connectByTcp(String, int) - 类 中的方法com.gainscha.sdk2.Printer
连接到WIFI打印机
connectByUsb(UsbDevice) - 类 中的方法com.gainscha.sdk2.Printer
连接到USB打印机
connectByUsbAccessory(UsbAccessory) - 类 中的方法com.gainscha.sdk2.Printer
连接到USB配件打印机
ConnectDeviceAdapter - com.gainscha.sdk2.ui.adapter中的类
 
ConnectDeviceAdapter() - 类 的构造器com.gainscha.sdk2.ui.adapter.ConnectDeviceAdapter
 
Connection - com.gainscha.sdk2.internal中的类
 
Connection(Context, ConnectionListenerInternal) - 类 的构造器com.gainscha.sdk2.internal.Connection
 
connectionListener - 类 中的变量com.gainscha.sdk2.internal.Connection
 
ConnectionListener - com.gainscha.sdk2中的接口
打印机状态Callback,在主线程运行
ConnectionListenerInternal - com.gainscha.sdk2中的接口
打印机状态Callback,在主线程运行
connectType - 类 中的变量com.gainscha.sdk2.internal.Connection
 
ConnectType - com.gainscha.sdk2中的枚举
 
Constants - com.gainscha.sdk2.internal中的类
 
Constants() - 类 的构造器com.gainscha.sdk2.internal.Constants
 
context - 类 中的变量com.gainscha.sdk2.internal.Connection
 
context - 类 中的静态变量com.gainscha.sdk2.PrinterContentProvider
 
CONTINUOUS - com.gainscha.sdk2.command.zpl.PaperType
 
convertGrayBitmap(Bitmap) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
转换图片为灰色图,效果比是要Android的ColorFilter差,但是执行效率高
convertGrayBitmapByColorFilter(Bitmap) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
 
copyFile(ZFile, ZFile) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
复制对象或一组对象到另一个位置
COPYRIGHT - com.gainscha.sdk2.command.zpl.SpecialSysbol
 
CPCL - com.gainscha.sdk2.model.Instruction
面单指令集
CpclCommand - com.gainscha.sdk2.command中的类
⾯单打印指令集
CpclCommand() - 类 的构造器com.gainscha.sdk2.command.CpclCommand
构造方法
CpclCommand.ALIGNMENT - com.gainscha.sdk2.command中的枚举
 
CpclCommand.BARCODERATIO - com.gainscha.sdk2.command中的枚举
 
CpclCommand.BOLD - com.gainscha.sdk2.command中的枚举
 
CpclCommand.COMMAND - com.gainscha.sdk2.command中的枚举
 
CpclCommand.COUNTRY - com.gainscha.sdk2.command中的枚举
 
CpclCommand.CPCLBARCODETYPE - com.gainscha.sdk2.command中的枚举
 
CpclCommand.CPCLSPEED - com.gainscha.sdk2.command中的枚举
 
CpclCommand.TEXT_FONT - com.gainscha.sdk2.command中的枚举
 
CpclCommand.TEXTFONT - com.gainscha.sdk2.command中的枚举
 
crc16Xmodem(byte[], int, int) - 类 中的静态方法com.gainscha.sdk2.util.ZplCompressUtil
Name: CRC-16/XMODEM x16+x12+x5+1 Poly: 0x1021 Init: 0x0000 Refin: False Refout: False Xorout: 0x0000 Alias: CRC-16/ZMODEM,CRC-16/ACORN
create(PrinterConfig, Bitmap, int) - 类 中的静态方法com.gainscha.sdk2.internal.CommandFactory
 
CUT - com.gainscha.sdk2.model.TearMode
 
CUT_END - com.gainscha.sdk2.model.TearMode
 
CUT_MODE_FULL - 类 中的静态变量com.gainscha.sdk2.command.Esc
全切
CUT_MODE_HALF - 类 中的静态变量com.gainscha.sdk2.command.Esc
半切
CUT_MODE_HALF_OFFSET - 类 中的静态变量com.gainscha.sdk2.command.Esc
偏移后半切
cutBitmapByHeight(Bitmap, int) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
 

D

d() - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
d(Object) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
d(String, Object) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
dataBits - 类 中的静态变量com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
DataMatrixFormat - com.gainscha.sdk2.command.zpl中的枚举
 
decode(byte[]) - 类 中的方法com.gainscha.sdk2.util.Base64.Decoder
Decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into a newly-allocated output byte array.
decode(byte[], byte[]) - 类 中的方法com.gainscha.sdk2.util.Base64.Decoder
Decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into the given output byte array, starting at offset 0.
decode(String) - 类 中的方法com.gainscha.sdk2.util.Base64.Decoder
Decodes a Base64 encoded String into a newly-allocated byte array using the Base64 encoding scheme.
decode(ByteBuffer) - 类 中的方法com.gainscha.sdk2.util.Base64.Decoder
Decodes all bytes from the input byte buffer using the Base64 encoding scheme, writing the results into a newly-allocated ByteBuffer.
delete(Uri, String, String[]) - 类 中的方法com.gainscha.sdk2.PrinterContentProvider
 
deleteAllPicture() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
从存储中删除所有的图象(标签格式图象和十六进制图象)
deleteFile(ZFile) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
删除任意对象 ID 命令从存储设备中删除对象,图片,字体和存储的格式。
DENMARK_I - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
DENMARK_II - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
DENMARK_NORWAY - com.gainscha.sdk2.command.zpl.Language
 
DeviceFilter - com.gainscha.sdk2.model中的类
 
DeviceFilter() - 类 的构造器com.gainscha.sdk2.model.DeviceFilter
 
DiagonalLineMode - com.gainscha.sdk2.command.zpl中的枚举
 
DIRECT_THERMAL - com.gainscha.sdk2.command.zpl.PrintMode
 
DIRECT_THERMAL - com.gainscha.sdk2.model.PrintMode
 
disconnect() - 类 中的方法com.gainscha.sdk2.internal.connection.BluetoothConnection
 
disconnect() - 类 中的方法com.gainscha.sdk2.internal.Connection
 
disconnect() - 类 中的方法com.gainscha.sdk2.internal.connection.SerialPortConnection
 
disconnect() - 类 中的方法com.gainscha.sdk2.internal.connection.TcpConnection
 
disconnect() - 类 中的方法com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
disconnect() - 类 中的方法com.gainscha.sdk2.internal.connection.UsbDeviceConnection
 
disconnect() - 类 中的方法com.gainscha.sdk2.Printer
断开与打印机的连接
disconnect(String) - 类 中的静态方法com.gainscha.sdk2.Printer
断开打印机连接
dismissConnectionDialog() - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
DOT - com.gainscha.sdk2.command.zpl.LengthUnit
 
Dpi - com.gainscha.sdk2.model中的枚举
 
DPI_203 - com.gainscha.sdk2.model.Dpi
 
DPI_300 - com.gainscha.sdk2.model.Dpi
 
DRAM - com.gainscha.sdk2.command.zpl.MemoryDevice
 
draw2PxPoint(Bitmap) - 类 中的静态方法com.gainscha.sdk2.util.PicFromPrintUtils
把一张Bitmap图片转化为打印机可以打印的bit(将图片压缩为360*360) 效率很高(相对于下面)
drawBarcode(int, int, String, String, int, int, int) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawBarcode(int, int, String, String, int, int, int) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawBarcodeByBitmap(int, int, String, String, int, int, int) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawBarcodeByBitmap(int, int, String, String, int, int, int) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawBitmap(int, int, Bitmap, int, int, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawBitmap(int, int, Bitmap, int, int, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawBitmapWaterMark(int, int, Bitmap, int, int) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawBitmapWaterMark(int, int, Bitmap, int, int) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawBox(int, int, int, int, int, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawBox(int, int, int, int, int, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawImage(int, int, Bitmap) - 类 中的方法com.gainscha.sdk2.BitmapCanvas
绘制图片
drawLine(int, int, int, int, int) - 类 中的方法com.gainscha.sdk2.BitmapCanvas
绘制线段
drawLine(int, int, int, int, int, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawLine(int, int, int, int, int, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawQrcode(int, int, String, String, int, int, int) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawQrcode(int, int, String, String, int, int, int) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawQrcodeByBitmap(int, int, String, String, int, int, int) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawQrcodeByBitmap(int, int, String, String, int, int, int) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawRect(int, int, int, int, int) - 类 中的方法com.gainscha.sdk2.BitmapCanvas
绘制矩形
drawText(int, int, String, int) - 类 中的方法com.gainscha.sdk2.BitmapCanvas
绘制文本
drawText(int, int, String, int, int, boolean, boolean, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawText(int, int, String, int, int, boolean, boolean, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawText(int, int, String, int, Typeface) - 类 中的方法com.gainscha.sdk2.BitmapCanvas
绘制文本
drawText(int, int, String, int, Typeface, int) - 类 中的方法com.gainscha.sdk2.BitmapCanvas
绘制文本
drawText(int, int, String, int, Typeface, int, int, int) - 类 中的方法com.gainscha.sdk2.BitmapCanvas
绘制文本
drawTextByBitmap(int, int, String, int, int, boolean, boolean, boolean, Typeface) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawTextByBitmap(int, int, String, int, int, boolean, boolean, boolean, Typeface) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawTextCenter(int, int, int, int, String, int, boolean, boolean, boolean, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawTextCenter(int, int, int, int, String, int, boolean, boolean, boolean, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawTextToBitmap(int, String, int, boolean, boolean, Typeface) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
以图片的方式打印文字,可以设置为任意字体、任意字号
drawTextWaterMark(int, int, String, int, int, boolean, boolean, boolean, int, Typeface) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawTextWaterMark(int, int, String, int, int, boolean, boolean, boolean, int, Typeface) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 
drawTextWordWrap(int, int, String, int, int, boolean, boolean, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
drawTextWordWrap(int, int, String, int, int, boolean, boolean, boolean) - 类 中的方法com.gainscha.sdk2.label.LabelTsplBuilder
 

E

e() - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
e(Object) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
e(String, Object) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
EAN_13 - com.gainscha.sdk2.command.CpclCommand.CPCLBARCODETYPE
 
EAN_8 - com.gainscha.sdk2.command.CpclCommand.CPCLBARCODETYPE
 
EAST_EUROPE - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
EAST_EUROPE - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
encode(byte[]) - 类 中的方法com.gainscha.sdk2.util.Base64.Encoder
Encodes all bytes from the specified byte array into a newly-allocated byte array using the Base64 encoding scheme.
encode(byte[], byte[]) - 类 中的方法com.gainscha.sdk2.util.Base64.Encoder
Encodes all bytes from the specified byte array using the Base64 encoding scheme, writing the resulting bytes to the given output byte array, starting at offset 0.
encode(ByteBuffer) - 类 中的方法com.gainscha.sdk2.util.Base64.Encoder
Encodes all remaining bytes from the specified byte buffer into a newly-allocated ByteBuffer using the Base64 encoding scheme.
ENCODE - com.gainscha.sdk2.command.zpl.ZFileType
 
encodeToString(byte[]) - 类 中的方法com.gainscha.sdk2.util.Base64.Encoder
Encodes the specified byte array into a String using the Base64 encoding scheme.
EPROM - com.gainscha.sdk2.command.zpl.MemoryDevice
 
ErrorLevel - com.gainscha.sdk2.command.zpl中的枚举
 
Esc - com.gainscha.sdk2.command中的类
佳博打印机票据指令集
Esc() - 类 的构造器com.gainscha.sdk2.command.Esc
 
ESC - com.gainscha.sdk2.model.Instruction
票据指令集
ESC - 类 中的静态变量com.gainscha.sdk2.internal.command.PrinterModelCommand
 
Esc.Align - com.gainscha.sdk2.command中的注释类型
 
Esc.BarcodeHumanReadTextLocation - com.gainscha.sdk2.command中的注释类型
 
Esc.BarcodeType - com.gainscha.sdk2.command中的注释类型
 
Esc.BitmapMode - com.gainscha.sdk2.command中的注释类型
 
Esc.CharacterSet - com.gainscha.sdk2.command中的注释类型
 
Esc.CodePage - com.gainscha.sdk2.command中的注释类型
 
Esc.CutMode - com.gainscha.sdk2.command中的注释类型
 
Esc.PrintBehavior - com.gainscha.sdk2.command中的注释类型
 
Esc.QrcodeErrorLevel - com.gainscha.sdk2.command中的注释类型
 
Esc.TextColor - com.gainscha.sdk2.command中的注释类型
 
Esc.TextFont - com.gainscha.sdk2.command中的注释类型
 
Esc.TextUnderLine - com.gainscha.sdk2.command中的注释类型
 
EscCommand - com.gainscha.sdk2.command中的类
已过时。
EscCommand() - 类 的构造器com.gainscha.sdk2.command.EscCommand
已过时。
 
EscCommand.CHARACTER_SET - com.gainscha.sdk2.command中的枚举
已过时。
 
EscCommand.CODEPAGE - com.gainscha.sdk2.command中的枚举
已过时。
 
EscCommand.ENABLE - com.gainscha.sdk2.command中的枚举
已过时。
 
EscCommand.FONT - com.gainscha.sdk2.command中的枚举
已过时。
 
EscCommand.FOOT - com.gainscha.sdk2.command中的枚举
已过时。
 
EscCommand.HEIGHT_ZOOM - com.gainscha.sdk2.command中的枚举
已过时。
 
EscCommand.HRI_POSITION - com.gainscha.sdk2.command中的枚举
已过时。
 
EscCommand.JUSTIFICATION - com.gainscha.sdk2.command中的枚举
已过时。
 
EscCommand.STATUS - com.gainscha.sdk2.command中的枚举
已过时。
 
EscCommand.UNDERLINE_MODE - com.gainscha.sdk2.command中的枚举
已过时。
 
EscCommand.WIDTH_ZOOM - com.gainscha.sdk2.command中的枚举
已过时。
 
EscForDotPrinter - com.gainscha.sdk2.command中的类
76针式打印机指令 大部分指令使用沿用ESC指令 只有标准模式,无页模式 无打印条码和二维码指令 无打印图片指令
EscForDotPrinter() - 类 的构造器com.gainscha.sdk2.command.EscForDotPrinter
 
EXTRA_PRINTER_ID - 类 中的静态变量com.gainscha.sdk2.ui.PrinterConnectActivity
 

F

F2 - com.gainscha.sdk2.command.EscCommand.FOOT
已过时。
 
F5 - com.gainscha.sdk2.command.EscCommand.FOOT
已过时。
 
FLASH - com.gainscha.sdk2.command.zpl.MemoryDevice
 
flowControl - 类 中的静态变量com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
FONT_0 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_1 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_1 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_10 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_10 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_11 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_13 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_18 - com.gainscha.sdk2.command.CpclCommand.TEXTFONT
 
FONT_2 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_2 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_20 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_24 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_24 - com.gainscha.sdk2.command.CpclCommand.TEXTFONT
 
FONT_3 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_3 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_32 - com.gainscha.sdk2.command.CpclCommand.TEXTFONT
 
FONT_4 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_4 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_41 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_42 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_43 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_44 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_45 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_46 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_47 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_48 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_49 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_5 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_5 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_55 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_6 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_6 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_7 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_7 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_8 - com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
FONT_8 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_9 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_K - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_TSS24 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONT_TST24 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
FONTA - com.gainscha.sdk2.command.EscCommand.FONT
已过时。
 
FONTB - com.gainscha.sdk2.command.EscCommand.FONT
已过时。
 
FRANCE - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
FRANCE - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
FRANCE1 - com.gainscha.sdk2.command.zpl.Language
 
FRANCE2 - com.gainscha.sdk2.command.zpl.Language
 

G

GAP - com.gainscha.sdk2.command.zpl.PaperType
 
genCode128(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
 
genCodeB(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
 
genCodeC(String) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
 
GERMANY - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
GERMANY - com.gainscha.sdk2.command.zpl.Language
 
getBitmap() - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
getBlackLineHeight() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getBluetoothDeviceMajor() - 类 中的方法com.gainscha.sdk2.model.DeviceFilter
 
getBlueToothFilter() - 类 中的方法com.gainscha.sdk2.model.DeviceFilter
 
getBufferData() - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
 
getBytes() - 类 中的方法com.gainscha.sdk2.command.ByteBuffer
 
getCommand() - 类 中的方法com.gainscha.sdk2.command.Command
获取发送命令的内容
getCommand() - 类 中的方法com.gainscha.sdk2.command.CpclCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:获得打印命令
getCommand() - 类 中的方法com.gainscha.sdk2.command.TscCommand
方法说明:获得打印命令
getCommand() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
获得打印命令
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.PrintCompleteCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.PrinterModelCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.PrinterStateCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.SelfTestCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.SettingGatewayCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.SettingIPCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.SettingMacCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.SettingNetmaskCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.udp.RebootCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.udp.ResetCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.udp.SearchDeviceCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.udp.SelfTestCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.udp.SettingDHCPCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.udp.SettingDHCPTimeoutCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.udp.SettingGatewayCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.udp.SettingIPCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.command.udp.SettingNetmaskCommand
 
getCommand() - 类 中的方法com.gainscha.sdk2.internal.SimpleCommand
 
getCommandRaw() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
获得打印命令
getConnectedPrinters() - 类 中的静态方法com.gainscha.sdk2.Printer
获取已连接的打印机列表
getConnectType() - 类 中的方法com.gainscha.sdk2.internal.Connection
 
getConnectType() - 类 中的方法com.gainscha.sdk2.internal.model.PrinterDevice
 
getConnectType() - 类 中的方法com.gainscha.sdk2.Printer
获取打印机连接方式
getCount() - 类 中的方法com.gainscha.sdk2.ui.adapter.ConnectDeviceAdapter
 
getData() - 类 中的方法com.gainscha.sdk2.command.Esc
 
getDecoder() - 类 中的静态方法com.gainscha.sdk2.util.Base64
Returns a Base64.Decoder that decodes using the Basic type base64 encoding scheme.
getDensity() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getDevice() - 类 中的方法com.gainscha.sdk2.internal.model.PrinterDevice
 
getDeviceName() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
getDeviceName() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
getDevices() - 类 中的方法com.gainscha.sdk2.ui.adapter.ConnectDeviceAdapter
 
getDhcpTimeout() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
getDhcpTimeout() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
getDotMatrixOfBitmapForPrint(Bitmap, boolean) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
把图片转换为可打印的数据格式
getDotMatrixOfBitmapForPrint(Bitmap, boolean, boolean) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
 
getDotMatrixOfBitmapForPrintVertical(Bitmap, boolean) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
 
getDpi() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getDrawBitmap() - 类 中的方法com.gainscha.sdk2.BitmapCanvas
获取绘制的图片
getEncoder() - 类 中的静态方法com.gainscha.sdk2.util.Base64
Returns a Base64.Encoder that encodes using the Basic type base64 encoding scheme.
getExtras() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getGap() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getGateway() - 类 中的方法com.gainscha.sdk2.internal.model.NetworkDevice
 
getGateway() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
getGateway() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
getGateway(String, byte[]) - 类 中的静态方法com.gainscha.sdk2.util.NetworkUtils
 
getId() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
getId() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
getInstruction() - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
getInstruction() - 类 中的方法com.gainscha.sdk2.internal.command.PrintCompleteCommand
 
getInstruction() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getIp() - 类 中的方法com.gainscha.sdk2.internal.model.NetworkDevice
 
getIp() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
getIp() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
getIP(String, byte[]) - 类 中的静态方法com.gainscha.sdk2.util.NetworkUtils
 
getItem(int) - 类 中的方法com.gainscha.sdk2.ui.adapter.ConnectDeviceAdapter
 
getItemId(int) - 类 中的方法com.gainscha.sdk2.ui.adapter.ConnectDeviceAdapter
 
getLabelHeight() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getLabelWidth() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getLocalIP(Context) - 类 中的方法com.gainscha.sdk2.ui.dialog.UdpChangeIPDialog
 
getMac() - 类 中的方法com.gainscha.sdk2.internal.model.NetworkDevice
 
getMac() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
getMac() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
getMac(String, byte[]) - 类 中的静态方法com.gainscha.sdk2.util.NetworkUtils
 
getMemoryDevice() - 类 中的方法com.gainscha.sdk2.command.zpl.ZFile
 
getMfc() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
getMfc() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
getMimeDecoder() - 类 中的静态方法com.gainscha.sdk2.util.Base64
Returns a Base64.Decoder that decodes using the MIME type base64 decoding scheme.
getMimeEncoder() - 类 中的静态方法com.gainscha.sdk2.util.Base64
Returns a Base64.Encoder that encodes using the MIME type base64 encoding scheme.
getMimeEncoder(int, byte[]) - 类 中的静态方法com.gainscha.sdk2.util.Base64
Returns a Base64.Encoder that encodes using the MIME type base64 encoding scheme with specified line length and line separators.
getName() - 类 中的方法com.gainscha.sdk2.command.zpl.ZFile
 
getName() - 类 中的方法com.gainscha.sdk2.internal.model.PrinterDevice
 
getNetmask() - 类 中的方法com.gainscha.sdk2.internal.model.NetworkDevice
 
getNetmask() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
getNetmask() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
getNetmask(String, byte[]) - 类 中的静态方法com.gainscha.sdk2.util.NetworkUtils
 
getPaperType() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getPicPx(Bitmap) - 类 中的方法com.gainscha.sdk2.util.PicFromPrintUtils
得到位图的某个点的像素值
getPort() - 类 中的方法com.gainscha.sdk2.internal.model.NetworkDevice
 
getPrintCount() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getPrinter(String) - 类 中的静态方法com.gainscha.sdk2.Printer
获取已连接的打印机实例
getPrinterBrand() - 类 中的方法com.gainscha.sdk2.command.Esc
获取打印机品牌
getPrinterBrand() - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
getPrinterConfiguration() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
获取打印机配置信息
getPrinterId() - 类 中的方法com.gainscha.sdk2.Printer
获取打印机ID
getPrinterMemoryInfo() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
获取打印机的内存信息
getPrinterModel() - 类 中的方法com.gainscha.sdk2.command.Esc
获取打印机型号
getPrinterModel() - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
getPrinterModel(Instruction, PrinterResponse<String>) - 类 中的方法com.gainscha.sdk2.Printer
获取打印机型号 指定指令类型,效率高
getPrinterModel(PrinterResponse<String>) - 类 中的方法com.gainscha.sdk2.Printer
获取打印机型号,只有TSC和ESC指令有效 通过发送两种指令请求来获取响应,效率较差
getPrinterPort() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
getPrinterPort() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
getPrinterStatus() - 类 中的方法com.gainscha.sdk2.command.Esc
获取打印机状态,网口打印机使用4000端口发送,打印机数据用9100端口
getPrinterStatus() - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
getPrinterStatus() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
获取打印机的状态信息
getPrinterStatus(int) - 类 中的方法com.gainscha.sdk2.command.Esc
获取打印机状态,打印机在前面的数据处理完后才执行此指令,发送和返回有时间滞后
getPrinterStatus(Instruction, PrinterResponse<PrinterState>) - 类 中的方法com.gainscha.sdk2.Printer
获取打印机状态,只有TSC,ESC,CPCL指令有效
getPrinterStatusRT(int) - 类 中的方法com.gainscha.sdk2.command.Esc
获取打印机状态,实时状态传送,发送后立即返回
getPrintMode() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getResponseListener() - 类 中的方法com.gainscha.sdk2.command.Command
 
getResponseMap(byte[]) - 类 中的静态方法com.gainscha.sdk2.command.Command
 
getResponseTimeout() - 类 中的方法com.gainscha.sdk2.command.Command
 
getRotation() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getSn() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
getSn() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
getSpeed() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getStatus() - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
getTearMode() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getType() - 类 中的方法com.gainscha.sdk2.command.zpl.ZFile
 
getType(Uri) - 类 中的方法com.gainscha.sdk2.PrinterContentProvider
 
getUploadedPicture(ZFile) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
获取上传到打印机的图片文件CRF
getUploadedZpl(ZFile) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
获取上传到打印机的指令文件ZPL
getUrlDecoder() - 类 中的静态方法com.gainscha.sdk2.util.Base64
Returns a Base64.Decoder that decodes using the URL and Filename safe type base64 encoding scheme.
getUrlEncoder() - 类 中的静态方法com.gainscha.sdk2.util.Base64
Returns a Base64.Encoder that encodes using the URL and Filename safe type base64 encoding scheme.
getUsbAccessoryFilter() - 类 中的方法com.gainscha.sdk2.model.DeviceFilter
 
getUsbDeviceFilter() - 类 中的方法com.gainscha.sdk2.model.DeviceFilter
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.CpclCommand.ALIGNMENT
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.CpclCommand.BOLD
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.CpclCommand.COMMAND
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.CpclCommand.CPCLBARCODETYPE
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.CpclCommand.CPCLSPEED
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.CpclCommand.TEXTFONT
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.EscCommand.ENABLE
已过时。
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.EscCommand.FONT
已过时。
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.EscCommand.FOOT
已过时。
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.EscCommand.HEIGHT_ZOOM
已过时。
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.EscCommand.HRI_POSITION
已过时。
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.EscCommand.JUSTIFICATION
已过时。
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.EscCommand.STATUS
已过时。
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.EscCommand.UNDERLINE_MODE
已过时。
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.EscCommand.WIDTH_ZOOM
已过时。
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.TscCommand.BITMAP_MODE
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.TscCommand.RESPONSE_MODE
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.BitmapDataFormat
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.ErrorLevel
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.LengthUnit
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.MemoryDevice
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.PaperType
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.ParityMode
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.PrintMode
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.Rotation
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.SpecialSysbol
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.TextAlignment
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.TextJustification
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.TextOrientation
 
getValue() - 枚举 中的方法com.gainscha.sdk2.command.zpl.ZFileType
 
getVersion() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
getVersion() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
getView(int, View, ViewGroup) - 类 中的方法com.gainscha.sdk2.ui.adapter.ConnectDeviceAdapter
 
getWifiGateway(Context) - 类 中的静态方法com.gainscha.sdk2.util.NetworkUtils
 
getWifiIp(Context) - 类 中的方法com.gainscha.sdk2.ui.dialog.UdpChangeIPDialog
 
getWifiIp(Context) - 类 中的静态方法com.gainscha.sdk2.util.NetworkUtils
 
getWifiMac(Context) - 类 中的静态方法com.gainscha.sdk2.util.NetworkUtils
 
getWifiNetmask(Context) - 类 中的静态方法com.gainscha.sdk2.util.NetworkUtils
 
getWriteTimeStamp() - 类 中的方法com.gainscha.sdk2.command.Command
 
getX() - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
getxOffset() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
getY() - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
getyOffset() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
GpUtils - com.gainscha.sdk2.util中的类
 
GpUtils() - 类 的构造器com.gainscha.sdk2.util.GpUtils
 
GREEK - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
GREEK - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 

H

HEBREW - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
HEBREW - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
HEIGHT - com.gainscha.sdk2.command.zpl.ErrorLevel
 
HEIGHTEST - com.gainscha.sdk2.command.zpl.ErrorLevel
 
hex(byte) - 类 中的静态方法com.gainscha.sdk2.util.HexUtil
 
hex(byte[]) - 类 中的静态方法com.gainscha.sdk2.util.HexUtil
 
hex(byte[], boolean) - 类 中的静态方法com.gainscha.sdk2.util.HexUtil
 
HexUtil - com.gainscha.sdk2.util中的类
 
HexUtil() - 类 的构造器com.gainscha.sdk2.util.HexUtil
 
HOLLAND - com.gainscha.sdk2.command.zpl.Language
 
HORIZONTAL - com.gainscha.sdk2.command.zpl.TextOrientation
 
httpRebootPrinter(String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
 
httpSetPrinterNetwork(String, boolean, int, String, String, String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
 

I

i() - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
i(Object) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
i(String, Object) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
IBM850 - com.gainscha.sdk2.command.zpl.Language
 
INCH - com.gainscha.sdk2.command.zpl.LengthUnit
 
init(boolean) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
init(boolean, File) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
initMemoryDevice(char) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
初始化闪存 初始化闪存操作可能持续几分钟,必须等待足够长的时间让打印机初始化闪存,再去做其他操作 todo 使用MemoryDevice代替Char
initPrinter() - 类 中的方法com.gainscha.sdk2.command.Esc
初始化打印机 清理打印缓冲区 参数恢复默认值 选择字符打印方式 删除自定义字符
inputStream - 类 中的变量com.gainscha.sdk2.internal.Connection
 
insert(Uri, ContentValues) - 类 中的方法com.gainscha.sdk2.PrinterContentProvider
 
Instruction - com.gainscha.sdk2.model中的枚举
 
IRAN - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
IRAN - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
IRANII - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
IRANII - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
isAvailableByPing(String) - 类 中的静态方法com.gainscha.sdk2.util.NetworkUtils
 
isBeep() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
isBitmapShake() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
isCompressBitmap() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
isConnected - 类 中的变量com.gainscha.sdk2.internal.Connection
 
isConnected() - 类 中的方法com.gainscha.sdk2.internal.Connection
 
isConnected() - 类 中的方法com.gainscha.sdk2.Printer
是否已经连接到打印机
isConnected(String) - 类 中的静态方法com.gainscha.sdk2.Printer
判断打印机是否已连接
isDhcp() - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
isDhcp() - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
isJampPaper() - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
isNoCarbon() - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
ISO_256 - com.gainscha.sdk2.command.zpl.DataMatrixFormat
 
isOpen() - 类 中的方法com.gainscha.sdk2.internal.UdpClient
判断是否已打开UDP监听
isOpenCover() - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
isOpenNetwork(Context) - 类 中的静态方法com.gainscha.sdk2.util.NetworkUtils
对网络连接状态进行判断
isOtherError() - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
isOutOfPaper() - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
isPausePrint() - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
isPrintCompleted() - 类 中的方法com.gainscha.sdk2.internal.command.PrintCompleteCommand.Response
 
isPrinting() - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
isReadUntilTimeout() - 类 中的方法com.gainscha.sdk2.command.Command
 
isRemoveBluetoothBle() - 类 中的方法com.gainscha.sdk2.model.DeviceFilter
 
isServerClosed() - 类 中的方法com.gainscha.sdk2.internal.connection.TcpConnection
服务端在线检测,GP-76xx打印机不支持发送紧急数据,会把此数据当作打印内容处理 在Windows的TCP服务端,接收17次UrgentData后会自动断开客户端
isSlice() - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
isThreshold() - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
isThresholdShake() - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
isWifiConnected(Context) - 类 中的静态方法com.gainscha.sdk2.util.NetworkUtils
 
ITALY - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
ITALY - com.gainscha.sdk2.command.zpl.Language
 

J

JAPAN - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
JAPAN - com.gainscha.sdk2.command.zpl.Language
 
json(String) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
json(String, String) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
JUSTIFIED - com.gainscha.sdk2.command.zpl.TextJustification
 

K

KATAKANA - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
KATAKANA - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
KLog - com.gainscha.sdk2.util中的类
 
KLog() - 类 的构造器com.gainscha.sdk2.util.KLog
 
KOREAN - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 

L

LabelBuilder - com.gainscha.sdk2.label中的类
 
LabelBuilder() - 类 的构造器com.gainscha.sdk2.label.LabelBuilder
 
LabelCanvasBuilder - com.gainscha.sdk2.label中的类
 
LabelCanvasBuilder() - 类 的构造器com.gainscha.sdk2.label.LabelCanvasBuilder
 
LabelTsplBuilder - com.gainscha.sdk2.label中的类
 
LabelTsplBuilder() - 类 的构造器com.gainscha.sdk2.label.LabelTsplBuilder
 
Language - com.gainscha.sdk2.command.zpl中的枚举
 
LATIN_AMERCIA - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
LATVIAN - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
LATVIAN - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
LEFT - com.gainscha.sdk2.command.CpclCommand.ALIGNMENT
 
LEFT - com.gainscha.sdk2.command.EscCommand.JUSTIFICATION
已过时。
 
LEFT - com.gainscha.sdk2.command.zpl.TextAlignment
 
LEFT - com.gainscha.sdk2.command.zpl.TextJustification
 
LEFT_LEANING - com.gainscha.sdk2.command.zpl.DiagonalLineMode
 
LengthUnit - com.gainscha.sdk2.command.zpl中的枚举
 
LITTLE_ENDIAN - com.gainscha.sdk2.command.ByteBuffer.ByteOrder
 
LoadingDialog - com.gainscha.sdk2.ui.dialog中的类
 
LoadingDialog(Context) - 类 的构造器com.gainscha.sdk2.ui.dialog.LoadingDialog
 
LoadingDialog(Context, String) - 类 的构造器com.gainscha.sdk2.ui.dialog.LoadingDialog
 
LOW - com.gainscha.sdk2.command.zpl.ErrorLevel
 

M

ManufacturerString - 类 中的静态变量com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
measureTextWidth(String, int) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
测量文本的宽度 这里通过判断字符范围-128-127为单字节,其他为双字节,对于一些特殊字符(4字节)会计算错误,对于不显示的字符会计算错误。
MEDIUM - com.gainscha.sdk2.command.zpl.ErrorLevel
 
MemoryDevice - com.gainscha.sdk2.command.zpl中的枚举
 
mergeBitmap(boolean, Bitmap...) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
合并多张图片
MILLEMETER - com.gainscha.sdk2.command.zpl.LengthUnit
 
MODE_1_MOD_10 - com.gainscha.sdk2.command.zpl.ParityMode
 
MODE_1_MOD_10_AND_1_MOD_11 - com.gainscha.sdk2.command.zpl.ParityMode
 
MODE_2_MOD_10 - com.gainscha.sdk2.command.zpl.ParityMode
 
MODE_MOD_NONE - com.gainscha.sdk2.command.zpl.ParityMode
 
ModelString1 - 类 中的静态变量com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
moveFile(ZFile, ZFile) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
 
moveTo(int, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
移动位置
MUL_1 - com.gainscha.sdk2.command.EscCommand.HEIGHT_ZOOM
已过时。
 
MUL_1 - com.gainscha.sdk2.command.EscCommand.WIDTH_ZOOM
已过时。
 
MUL_2 - com.gainscha.sdk2.command.EscCommand.HEIGHT_ZOOM
已过时。
 
MUL_2 - com.gainscha.sdk2.command.EscCommand.WIDTH_ZOOM
已过时。
 
MUL_3 - com.gainscha.sdk2.command.EscCommand.HEIGHT_ZOOM
已过时。
 
MUL_3 - com.gainscha.sdk2.command.EscCommand.WIDTH_ZOOM
已过时。
 
MUL_4 - com.gainscha.sdk2.command.EscCommand.HEIGHT_ZOOM
已过时。
 
MUL_4 - com.gainscha.sdk2.command.EscCommand.WIDTH_ZOOM
已过时。
 
MUL_5 - com.gainscha.sdk2.command.EscCommand.HEIGHT_ZOOM
已过时。
 
MUL_5 - com.gainscha.sdk2.command.EscCommand.WIDTH_ZOOM
已过时。
 
MUL_6 - com.gainscha.sdk2.command.EscCommand.HEIGHT_ZOOM
已过时。
 
MUL_6 - com.gainscha.sdk2.command.EscCommand.WIDTH_ZOOM
已过时。
 
MUL_7 - com.gainscha.sdk2.command.EscCommand.HEIGHT_ZOOM
已过时。
 
MUL_7 - com.gainscha.sdk2.command.EscCommand.WIDTH_ZOOM
已过时。
 
MUL_8 - com.gainscha.sdk2.command.EscCommand.HEIGHT_ZOOM
已过时。
 
MUL_8 - com.gainscha.sdk2.command.EscCommand.WIDTH_ZOOM
已过时。
 

N

NetworkDevice - com.gainscha.sdk2.internal.model中的类
 
NetworkDevice(String, String, int, String, String) - 类 的构造器com.gainscha.sdk2.internal.model.NetworkDevice
 
NetWorkStateReceiver - com.gainscha.sdk2.internal.connection中的类
 
NetWorkStateReceiver() - 类 的构造器com.gainscha.sdk2.internal.connection.NetWorkStateReceiver
 
NetworkUtils - com.gainscha.sdk2.util中的类
 
NetworkUtils() - 类 的构造器com.gainscha.sdk2.util.NetworkUtils
 
NfcConnection - com.gainscha.sdk2.internal.connection中的类
 
NfcConnection(Context, ConnectionListenerInternal) - 类 的构造器com.gainscha.sdk2.internal.connection.NfcConnection
 
NO_PRINT - com.gainscha.sdk2.command.EscCommand.HRI_POSITION
已过时。
 
NONE - com.gainscha.sdk2.command.zpl.Code128Mode
 
NORWAY - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
NUMBER_BLANK - com.gainscha.sdk2.command.zpl.DataMatrixFormat
 
NUMBER_UPPER_LETTER_BLANK - com.gainscha.sdk2.command.zpl.DataMatrixFormat
 

O

OFF - com.gainscha.sdk2.command.CpclCommand.BOLD
 
OFF - com.gainscha.sdk2.command.EscCommand.ENABLE
已过时。
 
OFF - com.gainscha.sdk2.command.EscCommand.UNDERLINE_MODE
已过时。
 
OFF - com.gainscha.sdk2.command.TscCommand.RESPONSE_MODE
 
ON - com.gainscha.sdk2.command.CpclCommand.BOLD
 
ON - com.gainscha.sdk2.command.EscCommand.ENABLE
已过时。
 
ON - com.gainscha.sdk2.command.TscCommand.RESPONSE_MODE
 
onAddWifiDevice(String, int) - 接口 中的方法com.gainscha.sdk2.ui.dialog.AddWifiDeviceDialog.OnPosiTiveListener
 
onClick(View) - 类 中的方法com.gainscha.sdk2.ui.dialog.AddWifiDeviceDialog
 
onCreate() - 类 中的方法com.gainscha.sdk2.PrinterContentProvider
 
onCreate(Bundle) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
onDestroy() - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
onDestroy() - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectPresenter
 
onItemClick(AdapterView<?>, View, int, long) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
onMainScheduler(Runnable) - 类 中的静态方法com.gainscha.sdk2.util.ThreadPool
 
onPrinterConnected() - 接口 中的方法com.gainscha.sdk2.ConnectionListenerInternal
打印机连接成功
onPrinterConnected(String) - 接口 中的方法com.gainscha.sdk2.ConnectionListener
打印机连接成功
onPrinterConnected(String) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectPresenter
 
onPrinterConnectFail() - 接口 中的方法com.gainscha.sdk2.ConnectionListenerInternal
打印机连接失败
onPrinterConnectFail(String) - 接口 中的方法com.gainscha.sdk2.ConnectionListener
打印机连接失败
onPrinterConnectFail(String) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectPresenter
 
onPrinterDisconnect() - 接口 中的方法com.gainscha.sdk2.ConnectionListenerInternal
打印机连接断开
onPrinterDisconnect(String) - 接口 中的方法com.gainscha.sdk2.ConnectionListener
打印机连接断开
onPrinterDisconnect(String) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectPresenter
 
onPrinterResponse(T) - 接口 中的方法com.gainscha.sdk2.PrinterResponse
打印机返回内容
onReceive(Context, Intent) - 类 中的方法com.gainscha.sdk2.internal.connection.NetWorkStateReceiver
 
onRequestPermissionsResult(int, String[], int[]) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
onSearchBluetoothPrinter(BluetoothDevice, int) - 接口 中的方法com.gainscha.sdk2.PrinterFinder.SearchPrinterResultListener
搜索到蓝牙设备
onSearchBluetoothPrinter(BluetoothDevice, int) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
onSearchCompleted() - 接口 中的方法com.gainscha.sdk2.PrinterFinder.SearchPrinterResultListener
搜索完成
onSearchCompleted() - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
onSearchNetworkPrinter(String, String, String, String, int) - 接口 中的方法com.gainscha.sdk2.PrinterFinder.SearchPrinterResultListener
搜索网络设备
onSearchNetworkPrinter(String, String, String, String, int) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
onSearchSerialPortPrinter(String) - 接口 中的方法com.gainscha.sdk2.PrinterFinder.SearchPrinterResultListener
搜索到串口设备
onSearchSerialPortPrinter(String) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
onSearchUsbPrinter(UsbAccessory) - 接口 中的方法com.gainscha.sdk2.PrinterFinder.SearchPrinterResultListener
搜索到USB设备(配件模式)
onSearchUsbPrinter(UsbAccessory) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
onSearchUsbPrinter(UsbDevice) - 接口 中的方法com.gainscha.sdk2.PrinterFinder.SearchPrinterResultListener
搜索到USB设备
onSearchUsbPrinter(UsbDevice) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
OnUdpChangedIp(NetworkDevice) - 接口 中的方法com.gainscha.sdk2.ui.dialog.UdpChangeIPDialog.OnUdpChangedIpCallback
 
open(int, PrinterResponse<byte[]>) - 类 中的方法com.gainscha.sdk2.internal.UdpClient
打开UDP广播监听
OR - com.gainscha.sdk2.command.TscCommand.BITMAP_MODE
 
OTHER - com.gainscha.sdk2.command.zpl.Language
 
outputStream - 类 中的变量com.gainscha.sdk2.internal.Connection
 
OVERWRITE - com.gainscha.sdk2.command.TscCommand.BITMAP_MODE
 
OVERWRITE_COMPRESS - com.gainscha.sdk2.command.TscCommand.BITMAP_MODE
 

P

PAPER_58_WIDTH - 类 中的静态变量com.gainscha.sdk2.util.GpUtils
 
PAPER_80_WIDTH - 类 中的静态变量com.gainscha.sdk2.util.GpUtils
 
PAPER_TYPE_BLACK_LINE - com.gainscha.sdk2.model.PaperType
 
PAPER_TYPE_CONTINUOUS - com.gainscha.sdk2.model.PaperType
 
PAPER_TYPE_INTERVAL - com.gainscha.sdk2.model.PaperType
 
PaperType - com.gainscha.sdk2.command.zpl中的枚举
 
PaperType - com.gainscha.sdk2.model中的枚举
 
parity - 类 中的静态变量com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
ParityMode - com.gainscha.sdk2.command.zpl中的枚举
 
PC1001 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
PC1001 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
PC437 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
PC747 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
PC747 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
PC850 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
PC850 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
PC852 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
PC852 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
PC858 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
PC858 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
PC860 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
PC860 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
PC863 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
PC864 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
PC864 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
PC865 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
PC865 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
PC866 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
PC866 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
PEEL - com.gainscha.sdk2.model.TearMode
 
PermissionUtils - com.gainscha.sdk2.util中的类
 
PermissionUtils() - 类 的构造器com.gainscha.sdk2.util.PermissionUtils
 
pic2PxPoint(Bitmap, int) - 类 中的静态方法com.gainscha.sdk2.util.PicFromPrintUtils
把一张Bitmap图片转化为打印机可以打印的bit 打印24*24 双精度
pic8PxPoint(Bitmap, int) - 类 中的静态方法com.gainscha.sdk2.util.PicFromPrintUtils
针打8位位图指令打印
PicFromPrintUtils - com.gainscha.sdk2.util中的类
https://www.it610.com/article/4039797.htm
PicFromPrintUtils() - 类 的构造器com.gainscha.sdk2.util.PicFromPrintUtils
 
PICTURE - com.gainscha.sdk2.command.zpl.ZFileType
 
PNG - com.gainscha.sdk2.command.zpl.ZFileType
 
Point0 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point1 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point2 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point20 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point21 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point22 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point23 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point24 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point25 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point26 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point27 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point28 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point29 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point3 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point30 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
Point4 - com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
 
print() - 类 中的方法com.gainscha.sdk2.command.Esc
打印并走纸1行 行间距值 Esc.setTextLineSpace(int)
print(byte[]) - 类 中的方法com.gainscha.sdk2.Printer
发送数据到打印机
print(byte[], int, boolean, PrinterResponse<byte[]>) - 类 中的方法com.gainscha.sdk2.Printer
发送数据到打印机,等待返回内容(超时时间内接收到的全部数据)
print(byte[], int, PrinterResponse<byte[]>) - 类 中的方法com.gainscha.sdk2.Printer
发送数据到打印机,等待返回内容(超时时间内首次接收到的数据)
print(byte[], PrinterResponse<byte[]>) - 类 中的方法com.gainscha.sdk2.Printer
发送数据到打印机
print(Bitmap, int, PrinterConfig) - 类 中的方法com.gainscha.sdk2.Printer
打印图片
PRINT_BEHAVIOR_BEEP - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
PRINT_BEHAVIOR_BEEP_LED_LIGHT - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
PRINT_BEHAVIOR_LED_LIGHT - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
PRINT_BEHAVIOR_NONE - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
printAndExitPageMode() - 类 中的方法com.gainscha.sdk2.command.Esc
打印页缓冲区数据并返回标准模式,清理页缓冲区
printAndExitPageMode() - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
printAndFeedLines(int) - 类 中的方法com.gainscha.sdk2.command.Esc
打印并走纸
printAndFeedUnits(int) - 类 中的方法com.gainscha.sdk2.command.Esc
打印并走纸N个单位
printAndKeepPageMode() - 类 中的方法com.gainscha.sdk2.command.Esc
打印页缓冲区数据并保持页模式,页缓冲区内容不变
printAndKeepPageMode() - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
PrintBitmapCommand - com.gainscha.sdk2.internal.command中的类
 
PrintBitmapCommand(Bitmap, Instruction) - 类 的构造器com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
PrintBitmapCommand(Bitmap, Instruction, boolean, boolean) - 类 的构造器com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
PrintBitmapCommand(Bitmap, Instruction, boolean, boolean, boolean) - 类 的构造器com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
PrintCompleteCommand - com.gainscha.sdk2.internal.command中的类
 
PrintCompleteCommand(Instruction) - 类 的构造器com.gainscha.sdk2.internal.command.PrintCompleteCommand
 
PrintCompleteCommand.Response - com.gainscha.sdk2.internal.command中的类
 
Printer - com.gainscha.sdk2中的类
 
Printer() - 类 的构造器com.gainscha.sdk2.Printer
 
Printer(String) - 类 的构造器com.gainscha.sdk2.Printer
 
PRINTER_ERROR - com.gainscha.sdk2.command.EscCommand.STATUS
已过时。
 
PRINTER_OFFLINE - com.gainscha.sdk2.command.EscCommand.STATUS
已过时。
 
PRINTER_PAPER - com.gainscha.sdk2.command.EscCommand.STATUS
已过时。
 
PRINTER_STATUS - com.gainscha.sdk2.command.EscCommand.STATUS
已过时。
 
PrinterConfig - com.gainscha.sdk2中的类
 
PrinterConfig() - 类 的构造器com.gainscha.sdk2.PrinterConfig
 
PrinterConnectActivity - com.gainscha.sdk2.ui中的类
 
PrinterConnectActivity() - 类 的构造器com.gainscha.sdk2.ui.PrinterConnectActivity
 
PrinterConnectPresenter - com.gainscha.sdk2.ui中的类
 
PrinterConnectPresenter(Context, IPrinterConnect) - 类 的构造器com.gainscha.sdk2.ui.PrinterConnectPresenter
 
PrinterContentProvider - com.gainscha.sdk2中的类
 
PrinterContentProvider() - 类 的构造器com.gainscha.sdk2.PrinterContentProvider
 
PrinterDevice - com.gainscha.sdk2.internal.model中的类
 
PrinterDevice(String, ConnectType) - 类 的构造器com.gainscha.sdk2.internal.model.PrinterDevice
 
PrinterDevice(String, ConnectType, Object) - 类 的构造器com.gainscha.sdk2.internal.model.PrinterDevice
 
PrinterFinder - com.gainscha.sdk2中的类
 
PrinterFinder() - 类 的构造器com.gainscha.sdk2.PrinterFinder
 
PrinterFinder.SearchPrinterResultListener - com.gainscha.sdk2中的接口
扫描打印机设备的回调接口
PrinterModelCommand - com.gainscha.sdk2.internal.command中的类
获取打印机型号指令
PrinterModelCommand(Instruction) - 类 的构造器com.gainscha.sdk2.internal.command.PrinterModelCommand
 
PrinterNetworkCommand - com.gainscha.sdk2.command中的类
 
PrinterNetworkCommand() - 类 的构造器com.gainscha.sdk2.command.PrinterNetworkCommand
 
PrinterResponse<T> - com.gainscha.sdk2中的接口
 
PrinterState - com.gainscha.sdk2.model中的类
 
PrinterState() - 类 的构造器com.gainscha.sdk2.model.PrinterState
 
PrinterStateCommand - com.gainscha.sdk2.internal.command中的类
 
PrinterStateCommand(Instruction) - 类 的构造器com.gainscha.sdk2.internal.command.PrinterStateCommand
 
PrinterStateCommand(Instruction, int) - 类 的构造器com.gainscha.sdk2.internal.command.PrinterStateCommand
 
PrintMode - com.gainscha.sdk2.command.zpl中的枚举
 
PrintMode - com.gainscha.sdk2.model中的枚举
 
printSelfTestPage(Instruction) - 类 中的方法com.gainscha.sdk2.Printer
打印自检页
PT1251 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
PT151 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
putByte(byte) - 类 中的方法com.gainscha.sdk2.command.ByteBuffer
 
putBytes(byte[]) - 类 中的方法com.gainscha.sdk2.command.ByteBuffer
 
putBytes(byte[], int, int) - 类 中的方法com.gainscha.sdk2.command.ByteBuffer
 
putInt(int) - 类 中的方法com.gainscha.sdk2.command.ByteBuffer
 
putShort(short) - 类 中的方法com.gainscha.sdk2.command.ByteBuffer
 
putString(String) - 类 中的方法com.gainscha.sdk2.command.ByteBuffer
 
putString(String, Charset) - 类 中的方法com.gainscha.sdk2.command.ByteBuffer
 
px2Byte(int, int, Bitmap) - 类 中的静态方法com.gainscha.sdk2.util.PicFromPrintUtils
图片二值化,黑色是1,白色是0

Q

QRCODE_ERROR_LEVEL_H - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
QRCODE_ERROR_LEVEL_L - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
QRCODE_ERROR_LEVEL_M - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
QRCODE_ERROR_LEVEL_Q - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
query(Uri, String[], String, String[], String) - 类 中的方法com.gainscha.sdk2.PrinterContentProvider
 

R

READ_TIMEOUT_MILLISECOND - 类 中的静态变量com.gainscha.sdk2.internal.connection.TcpConnection
 
readImmediately() - 类 中的方法com.gainscha.sdk2.internal.Connection
 
readImmediately() - 类 中的方法com.gainscha.sdk2.internal.connection.UsbDeviceConnection
 
readImmediately(byte[]) - 类 中的方法com.gainscha.sdk2.internal.connection.NfcConnection
 
readImmediately(byte[]) - 类 中的方法com.gainscha.sdk2.internal.Connection
 
readImmediately(byte[]) - 类 中的方法com.gainscha.sdk2.internal.connection.UsbDeviceConnection
 
readImmediately(byte[], int, int) - 类 中的方法com.gainscha.sdk2.internal.Connection
 
readImmediately(byte[], int, int) - 类 中的方法com.gainscha.sdk2.internal.connection.UsbDeviceConnection
 
readThread - 类 中的变量com.gainscha.sdk2.internal.Connection
 
RealtimeStatusTransmission(EscCommand.STATUS) - 类 中的方法com.gainscha.sdk2.command.EscCommand
已过时。
方法说明:打印机实时状态请求
RebootCommand - com.gainscha.sdk2.internal.command.udp中的类
 
RebootCommand(String) - 类 的构造器com.gainscha.sdk2.internal.command.udp.RebootCommand
 
REGEX_IP - 类 中的静态变量com.gainscha.sdk2.ui.dialog.AddWifiDeviceDialog
正则:IP地址
REGISTERED_TRADE_MARK - com.gainscha.sdk2.command.zpl.SpecialSysbol
 
removeConnectionListener(ConnectionListener) - 类 中的静态方法com.gainscha.sdk2.Printer
解除打印机连接状态广播接收者
requestPermission(Activity, int) - 类 中的静态方法com.gainscha.sdk2.util.PermissionUtils
 
ResetCommand - com.gainscha.sdk2.internal.command.udp中的类
 
ResetCommand(byte[]) - 类 的构造器com.gainscha.sdk2.internal.command.udp.ResetCommand
 
ResetCommand(String) - 类 的构造器com.gainscha.sdk2.internal.command.udp.ResetCommand
 
resetTextLineSpace() - 类 中的方法com.gainscha.sdk2.command.Esc
恢复默认行间距 默认值:3.75mm 行间距在标准模式和页模式下是独立的
resizeBitmap(Bitmap, int, int) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
缩放图片
resizeBitmap(Bitmap, int, int, boolean) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
缩放图片
resolveResponseData(byte[]) - 类 中的方法com.gainscha.sdk2.internal.command.PrintCompleteCommand
 
resolveResponseData(byte[]) - 类 中的静态方法com.gainscha.sdk2.internal.command.udp.SearchDeviceCommand
 
resolveResponseData(byte[], Instruction) - 类 中的静态方法com.gainscha.sdk2.internal.command.PrinterStateCommand
 
Response() - 类 的构造器com.gainscha.sdk2.internal.command.PrintCompleteCommand.Response
 
REVERSE - com.gainscha.sdk2.command.zpl.TextOrientation
 
reverseLetterAndNumber(String) - 类 中的静态方法com.gainscha.sdk2.util.GpUtils
反转字母和数字
RIGHT - com.gainscha.sdk2.command.CpclCommand.ALIGNMENT
 
RIGHT - com.gainscha.sdk2.command.EscCommand.JUSTIFICATION
已过时。
 
RIGHT - com.gainscha.sdk2.command.zpl.TextAlignment
 
RIGHT - com.gainscha.sdk2.command.zpl.TextJustification
 
RIGHT_LEANING - com.gainscha.sdk2.command.zpl.DiagonalLineMode
 
ROTATE_0 - com.gainscha.sdk2.command.zpl.Rotation
 
ROTATE_0 - 类 中的静态变量com.gainscha.sdk2.label.LabelBuilder
 
ROTATE_180 - com.gainscha.sdk2.command.zpl.Rotation
 
ROTATE_180 - 类 中的静态变量com.gainscha.sdk2.label.LabelBuilder
 
ROTATE_270 - com.gainscha.sdk2.command.zpl.Rotation
 
ROTATE_270 - 类 中的静态变量com.gainscha.sdk2.label.LabelBuilder
 
ROTATE_90 - com.gainscha.sdk2.command.zpl.Rotation
 
ROTATE_90 - 类 中的静态变量com.gainscha.sdk2.label.LabelBuilder
 
ROTATE_ARRAY - 类 中的静态变量com.gainscha.sdk2.label.LabelBuilder
 
rotateBitmap(Bitmap, float) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
旋转图片
Rotation - com.gainscha.sdk2.command.zpl中的枚举
 
ROTATION_0 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
ROTATION_180 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
ROTATION_360 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 
ROTATION_90 - 类 中的静态变量com.gainscha.sdk2.command.TscCommand
 

S

saveCurrentAsBitmap(ZFile) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
保存当前标签内容为图片,一般写在标签的最后
saveCurrentAsBitmapAndPrint(ZFile) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
保存当前标签内容为图片并且打印当前内容,一般写在标签的最后
saveParameter() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
保存当前参数,下次开机自动使用保存的参数
SDCARD - com.gainscha.sdk2.command.zpl.MemoryDevice
 
SearchDeviceCommand - com.gainscha.sdk2.internal.command.udp中的类
 
SearchDeviceCommand() - 类 的构造器com.gainscha.sdk2.internal.command.udp.SearchDeviceCommand
 
searchPrinterDevice(PrinterFinder.SearchPrinterResultListener) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectPresenter
 
searchPrinters(ConnectType, PrinterFinder.SearchPrinterResultListener) - 类 中的方法com.gainscha.sdk2.PrinterFinder
获取可连接的设备列表
searchPrinters(PrinterFinder.SearchPrinterResultListener) - 类 中的方法com.gainscha.sdk2.PrinterFinder
获取所有连接方式的设备列表
SelfTestCommand - com.gainscha.sdk2.internal.command中的类
 
SelfTestCommand - com.gainscha.sdk2.internal.command.udp中的类
 
SelfTestCommand() - 类 的构造器com.gainscha.sdk2.internal.command.udp.SelfTestCommand
 
SelfTestCommand(Instruction) - 类 的构造器com.gainscha.sdk2.internal.command.SelfTestCommand
 
SERIAL_PORT - com.gainscha.sdk2.ConnectType
 
SerialPortConnection - com.gainscha.sdk2.internal.connection中的类
 
SerialPortConnection(Context, String, int, ConnectionListenerInternal) - 类 的构造器com.gainscha.sdk2.internal.connection.SerialPortConnection
 
setAlign(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置对齐方式,仅标准模式下有效
setAutoReConnect(boolean, int) - 类 中的方法com.gainscha.sdk2.Printer
设置自动重连打印机,连接被动断开时执行重连 使用TCP或蓝牙连接时才会自动重连,其它方式连接自动重连也没有意义
setBarcodeDefaultSize(int, float, int, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
条码字段默认大小 这个命令用来改变窄元素(窄条或窄空)的宽度模块。
setBarcodeHeight(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置条码高度
setBarcodeHeight(int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setBarcodeHumanReadTextFont(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置条码可读字符的字体
setBarcodeHumanReadTextFont(int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setBarcodeHumanReadTextLocation(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置条码可读字符的位置
setBarcodeHumanReadTextLocation(int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setBarcodeModuleWidth(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置条码模块宽度 Esc.setBarcodeHeight(int) 单基本模块条码有: UPC-A UPC-E EAN13 EAN8 CODE93 CODE128 双基本模块条码有: CODE39 ITF CODEBAR
setBarcodeModuleWidth(int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setBeep(boolean) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setBeepAndLedLightOnPrint(int, int, int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置打印时蜂鸣器鸣叫和报警灯闪烁
setBeepAndLedLightOnPrint(int, int, int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setBitmap(Bitmap) - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
setBitmapShake(boolean) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setBitmapToFlash(boolean, Bitmap...) - 类 中的方法com.gainscha.sdk2.command.Esc
下载图片到flash存储器,容量一般为8K 使用方法 Esc.addBitmapFromFlash(int, boolean, boolean) 一个位图下载后在flash占用空间: 头信息4字节 + 数据 指令执行过程不打印,不响应查询 数据持久化存储,关机重启数据保留 频繁写入容易损坏flash存储器,建议尽量少写数据到flash,可使用下载图片到内存的方式替换 Esc.setBitmapToMemory(Bitmap, boolean)
setBitmapToFlash(boolean, Bitmap...) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setBitmapToMemory(Bitmap, boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
下载图片到打印机内存 使用方法: Esc.addBitmapFromMemory(boolean, boolean) 下载的位图在以下情况下被清除 1.
setBitmapToMemory(Bitmap, boolean) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setBlackLineHeight(int) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setBluetoothDeviceMajor(int[]) - 类 中的方法com.gainscha.sdk2.model.DeviceFilter
 
setBlueToothFilter(String) - 类 中的方法com.gainscha.sdk2.model.DeviceFilter
 
setByteOrder(ByteBuffer.ByteOrder) - 类 中的方法com.gainscha.sdk2.command.ByteBuffer
 
setCharacterSet(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置国际字符集
setCleanUpAfterPrint(boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置打印后清除图像缓冲区,默认清除
setClearPageModeBuffer() - 类 中的方法com.gainscha.sdk2.command.Esc
清理页缓冲区的数据
setClearPageModeBuffer() - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setCodePage(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置字符代码页 字符代码页用于选择0x80-0xfe的打印字符,各打印机支持的代码页可能不同,请查看自检页上的代码页信息
setCodeValidation(boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置是否开启代码校验功能 CV(代码检验)是一个开关,它打开或关闭代码检验功能。
setCommandFormatDelimiter(char) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置指令内容分隔符
setCommandFormatPrefix(char) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置格式指令前缀 不要设任何和另一个前缀相同的值
setCommandPrefix(char) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置指令前缀
setCompressBitmap(boolean) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setConnectFailed() - 类 中的方法com.gainscha.sdk2.internal.Connection
 
setConnectStatus(String, boolean) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
setConnectSuccess() - 类 中的方法com.gainscha.sdk2.internal.Connection
 
setConnectType(ConnectType) - 类 中的方法com.gainscha.sdk2.internal.model.PrinterDevice
 
setCustomCharacter(int, int, int, int, byte[]) - 类 中的方法com.gainscha.sdk2.command.Esc
设置自定义字符
setCutOffsetByBlackMark(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置切纸/撕纸偏移(相对于黑标位置偏移)
setCutterAfterPrint(int, int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置打印后切纸(半切)
setDefaultFont(char, int, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置默认字体
setDensity(int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置打印浓度
setDensity(int) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setDevice(Object) - 类 中的方法com.gainscha.sdk2.internal.model.PrinterDevice
 
setDeviceName(String) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setDeviceName(String) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setDhcp(boolean) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setDhcp(boolean) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setDhcpTimeout(String) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setDhcpTimeout(String) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setDisableCustomCharacter(int) - 类 中的方法com.gainscha.sdk2.command.Esc
取消单个自定义字符
setDpi(Dpi) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setEnableCustomCharacterSet(boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
设置是否使用自定义字符
setEnableKeyPress(boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
允许/禁止按键
setEncoding(ZFile) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置编码表
setEnterPageMode() - 类 中的方法com.gainscha.sdk2.command.Esc
进入页模式
setEnterPageMode() - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setExtras(String) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setFactoryInternetParameter() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
加载出厂默认参数(网络参数)
setFactoryParameter() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
加载出厂默认参数
setFeedToBlackLineAfterPrint() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置打印完后走纸到下一个黑标的起始位置
setFont(char, Rotation, int, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
使用字体编号调用字体,下载字体到EPROM后可通过^CW来设置字体ID 默认字体ID为0,宽度为12,高度为15
setFont(ZFile, Rotation, int, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
使用字体路径调用字体
setFontId(char, ZFile) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置字体ID 所有机内字体有一字符标识如 A、B、C 等。
setGap(int) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setGateway(String) - 类 中的方法com.gainscha.sdk2.internal.model.NetworkDevice
 
setGateway(String) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setGateway(String) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setGlobalLengthUnit(LengthUnit) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置全局的长度单位
setHorizontalJumpPositions(byte...) - 类 中的方法com.gainscha.sdk2.command.Esc
设置横向跳格位置
setHorizontalMirror(boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置打印内容水平镜像翻转
setId(String) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setId(String) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setInstruction(Instruction) - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
setInstruction(Instruction) - 类 中的方法com.gainscha.sdk2.internal.command.PrintCompleteCommand
 
setInstruction(Instruction) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setIp(String) - 类 中的方法com.gainscha.sdk2.internal.model.NetworkDevice
 
setIp(String) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setIp(String) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setJampPaper(boolean) - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
setLabelHeight(int) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setLabelWidth(int) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setListener(PrinterResponse<byte[]>) - 类 中的方法com.gainscha.sdk2.internal.UdpClient
设置UDP监听回调
setLogEnable(boolean, File) - 类 中的静态方法com.gainscha.sdk2.Printer
设置是否打印日志,日志保存文件,需确保应用具有文件读写权限
setMac(String) - 类 中的方法com.gainscha.sdk2.internal.model.NetworkDevice
 
setMac(String) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setMac(String) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setMarginLeft(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置左边距
setMarginLeft(int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setMemoryDeviceAlias(String, String, String, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置可存储设备的别名
setMfc(String) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setMfc(String) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setMoveCursorRelativeTo(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置当前光标的相对位置
setMoveCursorRelativeTo(int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setMoveCursorTo(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置当前光标的绝对位置
setMoveCursorTo(int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setMoveUnit(int, int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置横向和纵向移动单位长度
setMoveUnit(int, int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setName(String) - 类 中的方法com.gainscha.sdk2.internal.model.PrinterDevice
 
setNetmask(String) - 类 中的方法com.gainscha.sdk2.internal.model.NetworkDevice
 
setNetmask(String) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setNetmask(String) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setNoCarbon(boolean) - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
setOffset(int, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置标签偏移
setOnPosiTiveListener(AddWifiDeviceDialog.OnPosiTiveListener) - 类 中的方法com.gainscha.sdk2.ui.dialog.AddWifiDeviceDialog
 
setOpenCashDrawer(int, int, int) - 类 中的方法com.gainscha.sdk2.command.Esc
打开钱箱,指定钱箱引脚产生脉冲,若前面后打印数据,等待打印完成后才执行此指令 脉冲接通时间为[t1 x 2] 毫秒断开时间为 [t2 x 2] 毫秒 当 t2 < t1时打印机处理t1 x 2 毫秒 如果 t2 小于50 则假设 t2 为50
setOpenCashDrawerRT(int, int, int) - 类 中的方法com.gainscha.sdk2.command.Esc
实时打开钱箱
setOpenCashDrawerRT(int, int, int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setOpenCover(boolean) - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
setOtherError(boolean) - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
setOutOfPaper(boolean) - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
setPageModeSize(int, int, int, int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置页模式的页大小
setPageModeSize(int, int, int, int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setPaperSensorState(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置纸传感器开关,打印机可能有多个纸传感器,可选择开启任意一个或多个 当任意一个传感器检测到缺纸,将输出缺纸信号
setPaperSensorState2(int) - 类 中的方法com.gainscha.sdk2.command.Esc
 
setPaperType(PaperType, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置纸张类型
setPaperType(PaperType) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setPausePrint(boolean) - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
setPort(int) - 类 中的方法com.gainscha.sdk2.internal.model.NetworkDevice
 
setPrintableWidth(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置打印区域宽度
setPrintableWidth(int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setPrintCompleted(boolean) - 类 中的方法com.gainscha.sdk2.internal.command.PrintCompleteCommand.Response
 
setPrintCount(int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置打印数量
setPrintCount(int) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setPrintCount(int, int, int, boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置打印数量 PQ 指令控制批量打印中的一些操作。
setPrintDeviceInfo() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印配置信息,如纸张设置,版本信息,接口信息,控制符信息和盘符内容等
setPrintEnable(boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
设置允许/禁止打印
setPrintEnable(boolean) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setPrinterGatewayCommand(String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
设置打印机网关地址
setPrinterId(String) - 类 中的方法com.gainscha.sdk2.Printer
设置打印机ID
setPrinterIPCommand(String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
设置打印机IP地址
setPrinterMacCommand(String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
设置打印机MAC地址
setPrinterNetMaskCommand(String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
设置打印机掩码地址
setPrinterPort(int) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setPrinterPort(int) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setPrinterStatusNotify(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置打印机状态通知功能,当打印机状态变化时自动发送状态数据 返回的状态数据4字节Esc.getPrinterStatus()
setPrinting(boolean) - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
setPrintLanguage(Language) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置打印的语言
setPrintMemoryInfo(ZFile) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
打印存储设备的目录文件列表
setPrintMode(PrintMode) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置打印模式,热敏模式和热转印模式
setPrintMode(PrintMode) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setPrintOffsetByBlackMark(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置打印起始偏移(相对于黑标位置偏移) 设置打印起始位置到黑标位置后此指令才有效 Esc.setPrintStartToBlackMark()
setPrintStart() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置恢复打印 让进入暂停模式的打印机恢复打印过程。
setPrintStartToBlackMark() - 类 中的方法com.gainscha.sdk2.command.Esc
设置打印起始位置到黑标位置
setQrcodeErrorLevel(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置QRCode纠错级别
setQrcodeErrorLevel(int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setQrcodeModuleSize(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置QRCode单元模块大小
setQrcodeModuleSize(int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setQrcodeToMemory(String) - 类 中的方法com.gainscha.sdk2.command.Esc
保存二维码到内存的符号存储区 保存二维码后,再使用读取二维码指令执行打印 Esc.addQrcodeFromMemory()
setQrcodeToMemory(String) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setReadUntilTimeout(boolean) - 类 中的方法com.gainscha.sdk2.command.Command
 
setReferencePoint(int, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置标签的坐标原点 默认的标签坐标原点均在标签内容的左上角。
setRemoveBluetoothBle(boolean) - 类 中的方法com.gainscha.sdk2.model.DeviceFilter
 
setResolutionZoom(boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置分辨率
setResponseListener(PrinterResponse<byte[]>) - 类 中的方法com.gainscha.sdk2.command.Command
 
setResponseTimeout(int) - 类 中的方法com.gainscha.sdk2.command.Command
 
setRestoreOnError(boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
从错误状态中恢复,此命令只有在切刀出错时有效
setRestoreOnError(boolean) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
todo 确认此指令和ESC是否有区别(指令手册写的是有区别的)
setRotation(int) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setRotation180(boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
设置字符顺时针旋转180度
setRotation90(boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
设置字符顺时针旋转90度 只在标准模式下有效,旋转后下划线不打印
setRotation90(boolean) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setSavedParameter() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
加载保存的参数
setSize(int, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置标签的大小
setSize(int, int) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setSlice(boolean) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setSn(String) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setSn(String) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setSpeed(float) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setSpeed(int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置打印速度
setStatus(int) - 类 中的方法com.gainscha.sdk2.model.PrinterState
 
setTearMode(boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置是否撕纸模式
setTearMode(TearMode) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setTearOffset(int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置撕纸位置偏移,打印完成后走纸偏移距离
setTextAlignAndRotation(Rotation, TextAlignment) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置字段的默认方向和对齐方式
setTextBold(boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
设置字符加粗
setTextChineseLetterSpace(int, int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置汉字字符左右间距
setTextColor(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置字体颜色,只能黑白两种颜色
setTextColor(int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setTextCompose(int, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
字段排版
setTextFont(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置字符字体
setTextHeavy(boolean) - 类 中的方法com.gainscha.sdk2.command.Esc
设置字符加重
setTextId(int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置字段的编号 用于数据段数字。
setTextLetterSpace(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置字符右间距,当字符放大时,间距随之放大
setTextLineSpace(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置行间距
setTextMultiply(int, int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置字符放大倍数
setTextMultiply(int, int) - 类 中的方法com.gainscha.sdk2.command.EscForDotPrinter
已过时。
setTextParam(TextOrientation, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置字段参数
setTextStyle(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置字体风格
setTextUnderLine(int) - 类 中的方法com.gainscha.sdk2.command.Esc
设置字符下划线
setTextVariable(byte[]) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置可变数据段
setThreshold(boolean) - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
setThresholdShake(boolean) - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
SettingDHCPCommand - com.gainscha.sdk2.internal.command.udp中的类
 
SettingDHCPCommand(byte[], boolean) - 类 的构造器com.gainscha.sdk2.internal.command.udp.SettingDHCPCommand
 
SettingDHCPCommand(String, boolean) - 类 的构造器com.gainscha.sdk2.internal.command.udp.SettingDHCPCommand
 
SettingDHCPTimeoutCommand - com.gainscha.sdk2.internal.command.udp中的类
 
SettingDHCPTimeoutCommand(byte[], int) - 类 的构造器com.gainscha.sdk2.internal.command.udp.SettingDHCPTimeoutCommand
 
SettingDHCPTimeoutCommand(String, int) - 类 的构造器com.gainscha.sdk2.internal.command.udp.SettingDHCPTimeoutCommand
 
SettingGatewayCommand - com.gainscha.sdk2.internal.command中的类
 
SettingGatewayCommand - com.gainscha.sdk2.internal.command.udp中的类
 
SettingGatewayCommand(byte[]) - 类 的构造器com.gainscha.sdk2.internal.command.SettingGatewayCommand
 
SettingGatewayCommand(String) - 类 的构造器com.gainscha.sdk2.internal.command.SettingGatewayCommand
 
SettingGatewayCommand(String, String) - 类 的构造器com.gainscha.sdk2.internal.command.udp.SettingGatewayCommand
 
SettingIPCommand - com.gainscha.sdk2.internal.command中的类
 
SettingIPCommand - com.gainscha.sdk2.internal.command.udp中的类
 
SettingIPCommand(byte[]) - 类 的构造器com.gainscha.sdk2.internal.command.SettingIPCommand
 
SettingIPCommand(String) - 类 的构造器com.gainscha.sdk2.internal.command.SettingIPCommand
 
SettingIPCommand(String, String) - 类 的构造器com.gainscha.sdk2.internal.command.udp.SettingIPCommand
 
SettingMacCommand - com.gainscha.sdk2.internal.command中的类
 
SettingMacCommand(byte[]) - 类 的构造器com.gainscha.sdk2.internal.command.SettingMacCommand
 
SettingMacCommand(String) - 类 的构造器com.gainscha.sdk2.internal.command.SettingMacCommand
 
SettingNetmaskCommand - com.gainscha.sdk2.internal.command中的类
 
SettingNetmaskCommand - com.gainscha.sdk2.internal.command.udp中的类
 
SettingNetmaskCommand(byte[]) - 类 的构造器com.gainscha.sdk2.internal.command.SettingNetmaskCommand
 
SettingNetmaskCommand(String) - 类 的构造器com.gainscha.sdk2.internal.command.SettingNetmaskCommand
 
SettingNetmaskCommand(String, String) - 类 的构造器com.gainscha.sdk2.internal.command.udp.SettingNetmaskCommand
 
setTransferDebug(boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
启动通信调试,开启后打印机会打印接收的原始数据内容
setUartParameter(int, byte, byte, byte, byte) - 类 中的方法com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
setUsbAccessoryFilter(String[][]) - 类 中的方法com.gainscha.sdk2.model.DeviceFilter
 
setUsbDeviceFilter(int[][]) - 类 中的方法com.gainscha.sdk2.model.DeviceFilter
 
setVersion(String) - 类 中的方法com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
setVersion(String) - 类 中的方法com.gainscha.sdk2.model.UDPSearchDeviceResp
 
setVerticalReverse(boolean) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
设置内容旋转180度
setWriteTimeStamp(long) - 类 中的方法com.gainscha.sdk2.command.Command
 
setX(int) - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
setxOffset(int) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
setY(int) - 类 中的方法com.gainscha.sdk2.internal.command.PrintBitmapCommand
 
setyOffset(int) - 类 中的方法com.gainscha.sdk2.PrinterConfig
 
showConnectingDialog() - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
showToast(int) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
showToast(String) - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectActivity
 
SimpleCommand - com.gainscha.sdk2.internal中的类
 
SimpleCommand(byte[], int) - 类 的构造器com.gainscha.sdk2.internal.SimpleCommand
 
SimpleCommand(byte[], int, boolean) - 类 的构造器com.gainscha.sdk2.internal.SimpleCommand
 
SLOVENIA - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
SPAIN - com.gainscha.sdk2.command.zpl.Language
 
SPAIN_I - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
SPAIN_II - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
SpecialSysbol - com.gainscha.sdk2.command.zpl中的枚举
 
SPEED0 - com.gainscha.sdk2.command.CpclCommand.CPCLSPEED
 
SPEED1 - com.gainscha.sdk2.command.CpclCommand.CPCLSPEED
 
SPEED2 - com.gainscha.sdk2.command.CpclCommand.CPCLSPEED
 
SPEED3 - com.gainscha.sdk2.command.CpclCommand.CPCLSPEED
 
SPEED4 - com.gainscha.sdk2.command.CpclCommand.CPCLSPEED
 
SPEED5 - com.gainscha.sdk2.command.CpclCommand.CPCLSPEED
 
split(String, int) - 类 中的静态方法com.gainscha.sdk2.util.ZplCompressUtil
 
splitArabic(String) - 类 中的静态方法com.gainscha.sdk2.util.GpUtils
 
stopBits - 类 中的静态变量com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
stopSearchDevice() - 类 中的方法com.gainscha.sdk2.PrinterFinder
停止搜索设备
stopSearchDevices() - 类 中的方法com.gainscha.sdk2.ui.PrinterConnectPresenter
 
string2Cp864(String) - 类 中的静态方法com.gainscha.sdk2.util.GpUtils
 
submit(Runnable) - 类 中的静态方法com.gainscha.sdk2.util.ThreadPool
 
submit(Callable<T>) - 类 中的静态方法com.gainscha.sdk2.util.ThreadPool
 
SWEDEN - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
SWEDEN_FINLAND - com.gainscha.sdk2.command.zpl.Language
 

T

TAG - 类 中的静态变量com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
TCP - com.gainscha.sdk2.ConnectType
 
TCP_LOCAL_PORT - 类 中的静态变量com.gainscha.sdk2.internal.Constants
 
TCP_REMOTE_PORT - 类 中的静态变量com.gainscha.sdk2.internal.Constants
 
TcpConnection - com.gainscha.sdk2.internal.connection中的类
 
TcpConnection(Context, String, int, ConnectionListenerInternal) - 类 的构造器com.gainscha.sdk2.internal.connection.TcpConnection
 
TEAR - com.gainscha.sdk2.model.TearMode
 
TearMode - com.gainscha.sdk2.model中的枚举
 
TEXT_BOLD - 类 中的静态变量com.gainscha.sdk2.command.Esc
加粗
TEXT_CHARACTERS_CHINA - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_CROATIA - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_DENMARK1 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_DENMARK2 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_FRANCE - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_GERMANY - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_ITALY - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_JAPAN - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_KOREAN - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_LATIN_AMERICA - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_NORWAY - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_SPAIN1 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_SPAIN2 - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_SWEDEN - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_UK - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_CHARACTERS_USA - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_COLOR_BLACK - 类 中的静态变量com.gainscha.sdk2.command.Esc
文本黑色
TEXT_COLOR_WHITE - 类 中的静态变量com.gainscha.sdk2.command.Esc
文本白色
TEXT_FONT_16_PX - 类 中的静态变量com.gainscha.sdk2.command.Esc
16*16中文字体
TEXT_FONT_24_PX - 类 中的静态变量com.gainscha.sdk2.command.Esc
24*24中文字体
TEXT_STRICKOUT - 类 中的静态变量com.gainscha.sdk2.command.Esc
删除线
TEXT_TWICE_HEIGHT - 类 中的静态变量com.gainscha.sdk2.command.Esc
双倍高度
TEXT_TWICE_WIDTH - 类 中的静态变量com.gainscha.sdk2.command.Esc
双倍宽度
TEXT_UNDERLINE - 类 中的静态变量com.gainscha.sdk2.command.Esc
下划线
TEXT_UNDERLINE_1_PX - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_UNDERLINE_2_PX - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TEXT_UNDERLINE_NONE - 类 中的静态变量com.gainscha.sdk2.command.Esc
 
TextAlignment - com.gainscha.sdk2.command.zpl中的枚举
 
TextJustification - com.gainscha.sdk2.command.zpl中的枚举
 
TextOrientation - com.gainscha.sdk2.command.zpl中的枚举
 
THAI - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
THAI - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
THERMAL_TRANSFER - com.gainscha.sdk2.command.zpl.PrintMode
 
THERMAL_TRANSFER - com.gainscha.sdk2.model.PrintMode
 
ThreadPool - com.gainscha.sdk2.util中的类
线程调度实现
ThreadPool() - 类 的构造器com.gainscha.sdk2.util.ThreadPool
 
thresholdBitmap(Bitmap, boolean) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
转换Bitmap为黑白图片(Floyd-Steinberg),图片颜色只有0x000000和0xffffff两种
thresholdBitmapPixels(Bitmap, boolean) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
 
toBytes(List<Byte>) - 类 中的方法com.gainscha.sdk2.command.Command
 
toHexString1(byte[]) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
将byte数组转为16进制输出为String类型
toHexString2(byte) - 类 中的方法com.gainscha.sdk2.command.CpclCommand
将byte转为16进制输出为String类型
toString() - 类 中的方法com.gainscha.sdk2.command.Command
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.BitmapDataFormat
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.Code128Mode
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.DataMatrixFormat
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.DiagonalLineMode
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.ErrorLevel
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.Language
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.LengthUnit
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.MemoryDevice
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.PaperType
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.ParityMode
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.PrintMode
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.Rotation
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.SpecialSysbol
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.TextAlignment
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.TextJustification
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.TextOrientation
 
toString() - 类 中的方法com.gainscha.sdk2.command.zpl.ZFile
 
toString() - 枚举 中的方法com.gainscha.sdk2.command.zpl.ZFileType
 
toString() - 枚举 中的方法com.gainscha.sdk2.ConnectType
 
toString() - 类 中的方法com.gainscha.sdk2.internal.model.NetworkDevice
 
toString() - 枚举 中的方法com.gainscha.sdk2.model.Instruction
 
TRADE_MARK - com.gainscha.sdk2.command.zpl.SpecialSysbol
 
TSC - com.gainscha.sdk2.model.Instruction
标签指令集
TscCommand - com.gainscha.sdk2.command中的类
标签打印指令集
TscCommand() - 类 的构造器com.gainscha.sdk2.command.TscCommand
 
TscCommand(int, int, int) - 类 的构造器com.gainscha.sdk2.command.TscCommand
构造函数说明:初始化标签,设置标签尺寸 单位 mm
TscCommand.BITMAP_MODE - com.gainscha.sdk2.command中的枚举
 
TscCommand.RESPONSE_MODE - com.gainscha.sdk2.command中的枚举
 
TSPL - 类 中的静态变量com.gainscha.sdk2.internal.command.PrinterModelCommand
 
TYPEFACE - com.gainscha.sdk2.command.zpl.ZFileType
 

U

UCC - com.gainscha.sdk2.command.zpl.Code128Mode
 
UCC_EAN - com.gainscha.sdk2.command.zpl.Code128Mode
 
UDP - com.gainscha.sdk2.ConnectType
 
UDP_LOCAL_PORT - 类 中的静态变量com.gainscha.sdk2.internal.Constants
 
UDP_REMOTE_IP - 类 中的静态变量com.gainscha.sdk2.internal.Constants
 
UDP_REMOTE_PORT - 类 中的静态变量com.gainscha.sdk2.internal.Constants
 
UdpChangeIPDialog - com.gainscha.sdk2.ui.dialog中的类
 
UdpChangeIPDialog(Context, NetworkDevice, UdpChangeIPDialog.OnUdpChangedIpCallback) - 类 的构造器com.gainscha.sdk2.ui.dialog.UdpChangeIPDialog
 
UdpChangeIPDialog.OnUdpChangedIpCallback - com.gainscha.sdk2.ui.dialog中的接口
 
udpChangePrinterDHCP(String, boolean, int) - 类 中的方法com.gainscha.sdk2.Printer
UDP修改打印机的DHCP开关,超时时间。
udpChangePrinterParameter(String, String, String, String) - 类 中的方法com.gainscha.sdk2.Printer
UDP修改打印机的IP、网关、掩码。
UdpClient - com.gainscha.sdk2.internal中的类
UDP收发客户端
UdpClient() - 类 的构造器com.gainscha.sdk2.internal.UdpClient
 
udpPrintSelfTestLabelCommand(String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
UDP设置打印机打印机自检页
udpRebootPrinterCommand(String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
UDP设置打印机重启
udpResetPrinterCommand(String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
UDP设置打印机恢复出厂设置
UDPSearchDeviceResp - com.gainscha.sdk2.internal.model中的类
 
UDPSearchDeviceResp - com.gainscha.sdk2.model中的类
 
UDPSearchDeviceResp() - 类 的构造器com.gainscha.sdk2.internal.model.UDPSearchDeviceResp
 
UDPSearchDeviceResp() - 类 的构造器com.gainscha.sdk2.model.UDPSearchDeviceResp
 
udpSearchPrinterCommand() - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
UDP搜索打印机,打印机接收到此指令后,会返回打印机的IP、网关等信息
udpSearchPrinterCommandDecodeResponse(byte[]) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
UDP搜索打印机的返回结果解析 ID - ---> 打印机ID DEVICENAME ---> 打印机名称 VER ---> 固件版本 MFC ---> SN ---> MAC ---> MAC地址(以空格为分隔符) DHCP ---> 是否开启DHCP DTIMEOUT ---> DHCP超时时间 IP ---> IP地址 SUBNETWORK ---> 掩码 GATEWAY ---> 网关 PRNPORT ---> 端口
udpSetPrinterDHCPCommand(String, boolean) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
UDP设置打印机DHCP开关
udpSetPrinterDHCPTimeoutCommand(String, int) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
UDP设置打印机DHCP超时时间
udpSetPrinterGatewayCommand(String, String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
UDP设置打印机网关地址
udpSetPrinterIPCommand(String, String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
UDP设置打印机IP地址
udpSetPrinterNetMaskCommand(String, String) - 类 中的静态方法com.gainscha.sdk2.command.PrinterNetworkCommand
UDP设置打印机掩码地址
UK - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
UK - com.gainscha.sdk2.command.zpl.Language
 
unCompress(byte[], int) - 类 中的静态方法com.gainscha.sdk2.util.ZLibUtils
解压
UNDERLINE_1DOT - com.gainscha.sdk2.command.EscCommand.UNDERLINE_MODE
已过时。
 
UNDERLINE_2DOT - com.gainscha.sdk2.command.EscCommand.UNDERLINE_MODE
已过时。
 
UNDERWRITERS_LABORATORIES_APPROVAL - com.gainscha.sdk2.command.zpl.SpecialSysbol
 
unzip(String) - 类 中的静态方法com.gainscha.sdk2.util.ZplCompressUtil
 
UPC_A - com.gainscha.sdk2.command.CpclCommand.CPCLBARCODETYPE
 
UPC_E - com.gainscha.sdk2.command.CpclCommand.CPCLBARCODETYPE
 
update(Uri, ContentValues, String, String[]) - 类 中的方法com.gainscha.sdk2.PrinterContentProvider
 
uploadBitmap(ZFile, long, int, byte[]) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
已过时。
uploadBitmapCancel() - 类 中的方法com.gainscha.sdk2.command.ZplCommand
已过时。
uploadEncoding(File, ZFile, int) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
已过时。
uploadFont(File, ZFile, Rotation, int, int, int, int, int, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
已过时。
uploadTrueTypeFont(ZFile, long, byte[]) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
已过时。
uploadZpl(ZFile, String) - 类 中的方法com.gainscha.sdk2.command.ZplCommand
已过时。
UPPER_LETTER_BLACK - com.gainscha.sdk2.command.zpl.DataMatrixFormat
 
UPPER_LETTER_BLANK_BASE_SYSBOL - com.gainscha.sdk2.command.zpl.DataMatrixFormat
 
USA - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
USA - com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
 
USA1 - com.gainscha.sdk2.command.zpl.Language
 
USA2 - com.gainscha.sdk2.command.zpl.Language
 
USB_ACCESSORY - com.gainscha.sdk2.ConnectType
 
USB_DEVICE - com.gainscha.sdk2.ConnectType
 
UsbAccessoryConnection - com.gainscha.sdk2.internal.connection中的类
 
UsbAccessoryConnection(Context, UsbAccessory, ConnectionListenerInternal) - 类 的构造器com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
UsbDeviceConnection - com.gainscha.sdk2.internal.connection中的类
 
UsbDeviceConnection(Context, UsbDevice, ConnectionListenerInternal) - 类 的构造器com.gainscha.sdk2.internal.connection.UsbDeviceConnection
 
UYGUR - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
UYGUR - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 

V

v() - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
v(Object) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
v(String, String) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
valueLimit(int, int, int) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
数值范围限制
valueLimit(int, int, int[]) - 类 中的方法com.gainscha.sdk2.label.LabelBuilder
数值范围限制
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.ByteBuffer.ByteOrder
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.ALIGNMENT
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.BOLD
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.COMMAND
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.COUNTRY
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.CPCLBARCODETYPE
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.CPCLSPEED
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.TEXTFONT
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.ENABLE
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.FONT
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.FOOT
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.HEIGHT_ZOOM
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.HRI_POSITION
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.JUSTIFICATION
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.STATUS
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.UNDERLINE_MODE
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.WIDTH_ZOOM
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.TscCommand.BITMAP_MODE
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.TscCommand.RESPONSE_MODE
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.BitmapDataFormat
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.Code128Mode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.DataMatrixFormat
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.DiagonalLineMode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.ErrorLevel
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.Language
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.LengthUnit
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.MemoryDevice
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.PaperType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.ParityMode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.PrintMode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.Rotation
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.SpecialSysbol
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.TextAlignment
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.TextJustification
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.TextOrientation
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.ZFileType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.ConnectType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.model.Dpi
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.model.Instruction
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.model.PaperType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.model.PrintMode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gainscha.sdk2.model.TearMode
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.ByteBuffer.ByteOrder
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.ALIGNMENT
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.BARCODERATIO
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.BOLD
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.COMMAND
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.COUNTRY
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.CPCLBARCODETYPE
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.CPCLSPEED
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.TEXT_FONT
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.CpclCommand.TEXTFONT
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.CHARACTER_SET
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.ENABLE
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.FONT
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.FOOT
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.HEIGHT_ZOOM
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.HRI_POSITION
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.JUSTIFICATION
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.STATUS
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.UNDERLINE_MODE
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.EscCommand.WIDTH_ZOOM
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.TscCommand.BITMAP_MODE
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.TscCommand.RESPONSE_MODE
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.BitmapDataFormat
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.Code128Mode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.DataMatrixFormat
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.DiagonalLineMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.ErrorLevel
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.Language
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.LengthUnit
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.MemoryDevice
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.PaperType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.ParityMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.PrintMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.Rotation
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.SpecialSysbol
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.TextAlignment
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.TextJustification
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.TextOrientation
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.command.zpl.ZFileType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.ConnectType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.model.Dpi
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.model.Instruction
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.model.PaperType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.model.PrintMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gainscha.sdk2.model.TearMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
VBARCODE - com.gainscha.sdk2.command.CpclCommand.COMMAND
 
VersionString - 类 中的静态变量com.gainscha.sdk2.internal.connection.UsbAccessoryConnection
 
VERTICAL - com.gainscha.sdk2.command.zpl.TextOrientation
 
VIETNAM - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 

W

w() - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
w(Object) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
w(String, Object) - 类 中的静态方法com.gainscha.sdk2.util.KLog
 
waterMaskBitmap(Bitmap, int) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
转换图片水印效果
waterMaskText(String, int, boolean, boolean, int, Typeface) - 类 中的静态方法com.gainscha.sdk2.util.BitmapUtil
绘制文字水印
WEST_EUROPE - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
WEST_EUROPE - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
withoutPadding() - 类 中的方法com.gainscha.sdk2.util.Base64.Encoder
Returns an encoder instance that encodes equivalently to this one, but without adding any padding character at the end of the encoded byte data.
WPC1252 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
WPC1253 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
WPC1254 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
WPC1257 - com.gainscha.sdk2.command.CpclCommand.COUNTRY
 
WPC1257 - com.gainscha.sdk2.command.EscCommand.CODEPAGE
已过时。
 
wrap(InputStream) - 类 中的方法com.gainscha.sdk2.util.Base64.Decoder
Returns an input stream for decoding Base64 encoded byte stream.
wrap(OutputStream) - 类 中的方法com.gainscha.sdk2.util.Base64.Encoder
Wraps an output stream for encoding byte data using the Base64 encoding scheme.
write(String, int, byte[]) - 类 中的方法com.gainscha.sdk2.internal.UdpClient
 
write(String, int, byte[], int, int) - 类 中的方法com.gainscha.sdk2.internal.UdpClient
发送DUP广播
write(String, int, String) - 类 中的方法com.gainscha.sdk2.internal.UdpClient
发送DUP广播
writeAsync(byte[]) - 类 中的方法com.gainscha.sdk2.internal.Connection
 
writeAsync(Command, PrinterResponse<byte[]>) - 类 中的方法com.gainscha.sdk2.internal.Connection
命令添加到发送队列
writeFlush() - 类 中的方法com.gainscha.sdk2.internal.Connection
 
writeImmediately(byte[]) - 类 中的方法com.gainscha.sdk2.internal.connection.NfcConnection
 
writeImmediately(byte[]) - 类 中的方法com.gainscha.sdk2.internal.connection.TcpConnection
 
writeImmediately(byte[]) - 类 中的方法com.gainscha.sdk2.internal.connection.UsbDeviceConnection
 
writeImmediately(byte[]) - 类 中的方法com.gainscha.sdk2.internal.Connection
 
writeImmediately(byte[], int, int) - 类 中的方法com.gainscha.sdk2.internal.connection.TcpConnection
 
writeImmediately(byte[], int, int) - 类 中的方法com.gainscha.sdk2.internal.connection.UsbDeviceConnection
 
writeImmediately(byte[], int, int) - 类 中的方法com.gainscha.sdk2.internal.Connection
 
writeImmediately(int) - 类 中的方法com.gainscha.sdk2.internal.connection.TcpConnection
 
writeImmediately(int) - 类 中的方法com.gainscha.sdk2.internal.connection.UsbDeviceConnection
 
writeImmediately(int) - 类 中的方法com.gainscha.sdk2.internal.Connection
 
writeThread - 类 中的变量com.gainscha.sdk2.internal.Connection
 

X

XOR - com.gainscha.sdk2.command.TscCommand.BITMAP_MODE
 

Z

z64(byte[]) - 类 中的静态方法com.gainscha.sdk2.util.ZplCompressUtil
使用Z64压缩
ZFile - com.gainscha.sdk2.command.zpl中的类
 
ZFileType - com.gainscha.sdk2.command.zpl中的枚举
 
zip(String, int) - 类 中的静态方法com.gainscha.sdk2.util.ZplCompressUtil
使用斑马指令的特定压缩算法压缩十六进制数据
zLib(byte[]) - 类 中的静态方法com.gainscha.sdk2.util.ZLibUtils
 
zLib(byte[], int) - 类 中的静态方法com.gainscha.sdk2.util.ZLibUtils
压缩
ZLibUtils - com.gainscha.sdk2.util中的类
Author: Circle Create Time: 2019/6/26
ZLibUtils() - 类 的构造器com.gainscha.sdk2.util.ZLibUtils
 
ZPL - com.gainscha.sdk2.command.zpl.ZFileType
 
ZPL - com.gainscha.sdk2.model.Instruction
斑马指令集
ZplCommand - com.gainscha.sdk2.command中的类
 
ZplCommand() - 类 的构造器com.gainscha.sdk2.command.ZplCommand
 
ZplCompressUtil - com.gainscha.sdk2.util中的类
 
ZplCompressUtil() - 类 的构造器com.gainscha.sdk2.util.ZplCompressUtil
 
A B C D E F G H I J K L M N O P Q R S T U V W X Z 
所有类 所有程序包