- SdkException - Exception in com.rt.printerlibrary.exception
-
Created by Tony on 2017/11/29.
- SdkException() - Constructor for exception com.rt.printerlibrary.exception.SdkException
-
- SdkException(String) - Constructor for exception com.rt.printerlibrary.exception.SdkException
-
- SdkException(String, Throwable) - Constructor for exception com.rt.printerlibrary.exception.SdkException
-
- SdkException(Throwable) - Constructor for exception com.rt.printerlibrary.exception.SdkException
-
- SdkException(String, Throwable, boolean, boolean) - Constructor for exception com.rt.printerlibrary.exception.SdkException
-
- setAbsolutionPositionN(int) - Method in class com.rt.printerlibrary.setting.CommonSetting
-
-适用于Esc, 针式打印
绝对定点位置定位
以当前左边限为基准,右移打印头(n1+n2×256)/60 英寸。若该距离超越右边限,此
设定无效。最大设置距离为 10.6 英寸。
- setAlign(int) - Method in class com.rt.printerlibrary.setting.CommonSetting
-
For Pin, Esc
设置对齐方式[支持针打、Esc(仅支持ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT)]
align setting [Esc only support ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT]
- setAlign(int) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Pin, ESC
设置对齐方式[支持针打、ESC(仅支持ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT)]
align setting [ESC only support ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT]
- setBarcodeStringPosition(BarcodeStringPosition) - Method in class com.rt.printerlibrary.setting.BarcodeSetting
-
For Tsc
设置条码内容位置
- setBarcodeWidth(int) - Method in class com.rt.printerlibrary.setting.BarcodeSetting
-
For Esc
条形码宽度,范围:2~6
barcode width, range: 2~6, default:3
- setBimtapLimitWidth(int) - Method in class com.rt.printerlibrary.setting.BitmapSetting
-
设置图片打印限制宽度(N mm * 8)
Bitmap Limit Width setting(N mm * 8)
- setBitmapLimitSizeBean(BitmapLimitSizeBean) - Method in class com.rt.printerlibrary.setting.BitmapSetting
-
Deprecated.
- setBlackMarkSwitch(int) - Method in class com.rt.printerlibrary.setting.CommonSetting
-
For TSC
Black mark switch
- setBmpPrintMode(BmpPrintMode) - Method in class com.rt.printerlibrary.setting.BitmapSetting
-
For ESC,TSC
Bitmap print mode settings
图片打印模式
- setBold(SettingEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For ESC, Pin
是否设置粗体
Bold Setting
- setChartsetName(String) - Method in class com.rt.printerlibrary.cmd.Cmd
-
charset name setting
文本编码设置
- setConfigObject(T) - Method in class com.rt.printerlibrary.connect.PrinterInterface
-
- setContext(Context) - Method in class com.rt.printerlibrary.bean.UsbConfigBean
-
- setCpclFontSize(int) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Cpcl
cpcl text size setting
文本打印size设置
- setCpclFontTypeEnum(CpclFontTypeEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
设置Cpcl字体
Cpcl Font Type Style
适用于Cpcl,For Cpcl Label Printer
- setDHCP(boolean) - Method in class com.rt.printerlibrary.utils.WiFiSettingUtil
-
Printer's dhcp settings
- setDoubleHeight(SettingEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For ESC, Pin
是否设置倍高[ESC,针打]
double height setting
- setDoublePrinting(SettingEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Pin
是否设置双重打印(支持针打)
double printint setting
- setDoubleSizeChineseCharctor(SettingEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Pin
设定/撤消 4 倍角汉字
4 倍角字为原字的纵横放大一倍。若同一行内字型高度不一致时,字符会字底对齐。
Chinese charactor setting
- setDoubleWidth(SettingEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For ESC, Pin
是否设置倍宽[ESC,针打]
double width setting
- setEscBarcodePrintOritention(EscBarcodePrintOritention) - Method in class com.rt.printerlibrary.setting.BarcodeSetting
-
设置Esc条码打印方向
Barcode Oritention Setting
- setEscFontType(ESCFontTypeEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For ESC Portable Printer,
Font Type Setting, Only support English-Number charactor
ESC字体设置,适用于ESC便携打印机,仅支持英数字体
- setFontStyle(int) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Pin
修饰字体[支持针打]
Font Style setting
- setHeightInDot(int) - Method in class com.rt.printerlibrary.setting.BarcodeSetting
-
For Tsc,Cpcl
barcode height settings
设置条码高度
- setIsAntiWhite(SettingEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For ESC
设置反白[适用于Esc]
anti white setting
- setIsEscSmallCharactor(SettingEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For ESC
是否设置小字体[适用于Esc]
small charactor setting
- setItalic(SettingEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Pin
是否设置斜体(支持针打)
italic setting
- setLabelGap(int) - Method in class com.rt.printerlibrary.setting.CommonSetting
-
For Tsc
label gap setting, Range:0~3, in mm;
标签间隙设置,范围0~3毫米(适用于Tsc)
- setLabelHeightInMM(int) - Method in class com.rt.printerlibrary.bean.LableSizeBean
-
Label height setting In mm
标签高度设置,单位:毫米
- setLabelWidthInMM(int) - Method in class com.rt.printerlibrary.bean.LableSizeBean
-
Label Width Setting In mm
标签宽度设置,单位:毫米
- setLableSizeBean(LableSizeBean) - Method in class com.rt.printerlibrary.setting.CommonSetting
-
设置尺寸, Label size setting
-适用于Tsc, Zpl
-For Tsc, Zpl
- setmName(String) - Method in class com.rt.printerlibrary.connect.PrinterInterface
-
- setNarrowInDot(int) - Method in class com.rt.printerlibrary.setting.BarcodeSetting
-
For Tsc
narrow bar settings
窄bar设置
- setPageHigh(int, int) - Method in class com.rt.printerlibrary.setting.CommonSetting
-
Deprecated.
- setPageLengthEnum(PageLengthEnum) - Method in class com.rt.printerlibrary.setting.CommonSetting
-
-适用于针式打印, Support Pin command
Page Length settings.
打印机页长设置
- setPageWidth(int) - Method in class com.rt.printerlibrary.setting.CommonSetting
-
For Cpcl, ESC
page width setting
页面宽度设置
ESC设置:nL = n % 256; nH = n / 256;nL 和 nH设置打印区域宽度。打印区域宽度设置为[(nL + nH *256) *0.125毫米]。
- setPendingIntent(PendingIntent) - Method in class com.rt.printerlibrary.bean.UsbConfigBean
-
- setPiName(String) - Method in class com.rt.printerlibrary.printer.RTPrinter
-
- setPinPrintMode(int) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Pin
设置针打打印模式[单向、双向、全向]
Print Mode setting
- setPosition(Position) - Method in class com.rt.printerlibrary.setting.BarcodeSetting
-
For Tsc, Cpcl, Zpl
设置条码打印位置
- setPrintDirection(PrintDirection) - Method in class com.rt.printerlibrary.setting.CommonSetting
-
For Tsc
Print oritention Setting : normal/reverse
打印方向设置,正向/反向
- setPrinterInterface(PrinterInterface) - Method in class com.rt.printerlibrary.printer.RTPrinter
-
设置打印机打印接口[WiFi,Bluetooth,Usb,Com]
printer interface setting
- setPrintPostion(Position) - Method in class com.rt.printerlibrary.setting.BitmapSetting
-
For Tsc, Cpcl
Bitmap position setting[Position Object], Default: x=0, y=0
图片打印位置设置,通过Position对象,默认位置:x=0,y=0
- setPrintRotation(PrintRotation) - Method in class com.rt.printerlibrary.setting.BarcodeSetting
-
For Tsc
barcode rotation settings
设置条码旋转角度
- setPrintRotation(PrintRotation) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Tsc
Print rotation setting
打印方向设置
For tsc text, barcode print
- setQrcodeDotSize(int) - Method in class com.rt.printerlibrary.setting.BarcodeSetting
-
For Esc, Tsc
QRCode dot size settings
设置QRCode大小
- setQrcodeEccLevel(QrcodeEccLevel) - Method in class com.rt.printerlibrary.setting.BarcodeSetting
-
Error correction capability level
(错误纠正能力等级):L=7%,M=15%,Q=25%,H=30%
- setSpeedEnum(SpeedEnum) - Method in class com.rt.printerlibrary.setting.CommonSetting
-
For TSC
Printer's Speed setting
- setStaticIP(String, String, String) - Method in class com.rt.printerlibrary.utils.WiFiSettingUtil
-
Printer's ip settings
- SettingEnum - Enum in com.rt.printerlibrary.enumerate
-
Created by Tony on 2017/12/20.
- setTscFontTypeEnum(TscFontTypeEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Tsc
设置Tsc字体
Tsc Font Type Style
- setTxtPrintPosition(Position) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Tsc,Cpcl,Zpl
设置文本打印位置
set text print position
- setUnderline(SettingEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For ESC, Pin
是否设置下划线(支持针打,ESC)
underline setting
- setUsbDevice(UsbDevice) - Method in class com.rt.printerlibrary.bean.UsbConfigBean
-
- setValue(String) - Method in enum com.rt.printerlibrary.enumerate.ZplFontTypeEnum
-
- setWideInDot(int) - Method in class com.rt.printerlibrary.setting.BarcodeSetting
-
For Tsc
wide bar settings
宽bar设置
- setWiFiParam(ScanResult, String, WiFiModeEnum) - Method in class com.rt.printerlibrary.utils.WiFiSettingUtil
-
Printer's wifi settings
- setxMultiplication(int) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Tsc, Cpcl, Zpl
设置字体水平拉伸倍数
set Font X-Multiplication
- setyMultiplication(int) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Tsc, Cpcl, Zpl
设置字体垂直拉伸倍数
set Font Y-Multiplication
- setZplFontTypeEnum(ZplFontTypeEnum) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Zpl, Font type Setting
Zpl文本字体设置
- setZplHeightFactor(int) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Zpl
height factor setting
字体高度设置
- setZplWidthFactor(int) - Method in class com.rt.printerlibrary.setting.TextSetting
-
For Zpl
width factor setting
字体宽度设置
- SpeedEnum - Enum in com.rt.printerlibrary.enumerate
-
Created by Tony on 2018/3/14.
- STATE_CONNECT_INTERRUPTED - Static variable in class com.rt.printerlibrary.bean.PrinterState
-
- STATE_CONNECT_SUCCESS - Static variable in class com.rt.printerlibrary.bean.PrinterState
-