public class DataForSendToPrinterPos80
extends java.lang.Object
构造器和说明 |
---|
DataForSendToPrinterPos80() |
限定符和类型 | 方法和说明 |
---|---|
static byte[] |
allowOrForbidPressButton(int n)
ESC c 5 n
允许或禁止按键 |
static byte[] |
CancelChineseCharModel()
FS .
|
static byte[] |
cancelUserDefinedCharacters(int n)
ESC ?
|
static byte[] |
canclePrintDataByPagemodel()
CAN
页模式下取消打印数据 |
static byte[] |
creatCashboxContorlPulse(int m,
int t1,
int t2)
ESC p m t1 t2
产生钱箱控制脉冲 |
static byte[] |
definedDownLoadBmp(Bitmap bitmap,
BitmapToByteData.BmpType bmpType)
GS x y [ d1...d(xy*8)]
定义下载位图 单个bitmap需要满足:n=(width+7)/8;h=(height+7)/8;n*h<=912,1<=n<=255,1<=h<=48,否则返回的位图数据为new byte[0]. |
static byte[] |
definedFlashBmp(java.util.List<Bitmap> list,
int n,
BitmapToByteData.BmpType bmpType)
FS q n [xL xH yL yH d1...dk]...
|
static byte[] |
definedUserDefinedChineseChar(int c2,
byte[] b)
FS 2 c1 c2 d1...dk
定义用户自定义汉字 |
static byte[] |
defineuserDefinedCharacters(int c1,
int c2,
byte[] b)
ESC $ Y c1 c2 [x1 d1...d(x1*y)]...
|
static byte[] |
executeMacrodeCommand(int r,
int t,
int m)
GS ^ r t m
执行宏命令 |
static byte[] |
executePrintDataSaveByTransformToHex()
GS ( A pL pH n m
执行打印机数据十六进制转储 |
static byte[] |
horizontalPositioning()
HT
水平定位指 |
static byte[] |
initializePrinter()
ESC @
初始化打印机 |
static byte[] |
openCashboxRealtime(int m,
int t)
DLE DC4 n m t
实时产生开钱箱脉冲 |
static byte[] |
openOrCloseAutoReturnPrintState(int n)
GS a n
打开或关闭自动状态返回功能 |
static byte[] |
printAndBackStandardmodel()
FF
打印并回到标准模式 |
static byte[] |
PrintAndCarriageReturn()
CR
打印并跳格 |
static byte[] |
printAndFeed(int n)
ESC J n
打印并走纸 |
static byte[] |
printAndFeedForward(int n)
ESC d n
打印并向前走纸n行 |
static byte[] |
printAndFeedLine()
LF
打印并换行 |
static byte[] |
printBarcode(int alignment,
int HRI,
int width,
int height,
int type,
int size,
java.lang.String content)
打印条码
|
static byte[] |
printBarcode(int m,
int n,
java.lang.String content)
GS k m n d1...dn
打印条码 |
static byte[] |
printBarcode(int m,
java.lang.String content)
GS k m d1...dk NUL
打印条码 |
static byte[] |
printBmpInFLASH(int n,
int m)
FS p n m
打印下载到FLASH中的位图 |
static byte[] |
printByPagemodel()
ESC FF
页模式下打印 该命令只在页模式下有效 |
static byte[] |
printDownLoadBmp(int m)
GS / m
打印下载位图 |
static byte[] |
printerOrderBuzzingAndWarningLight(int m,
int t,
int n)
ESC C m t n
打印机来单蜂鸣提示及报警灯闪烁 |
static byte[] |
printerOrderBuzzingHint(int n,
int t)
ESC B n t
打印机来单打印蜂鸣提示 |
static byte[] |
printQRcode(int n,
int errLevel,
java.lang.String code)
封装好的QRcode打印指令
|
static byte[] |
printRasterBmp(int m,
Bitmap bitmap,
BitmapToByteData.BmpType bmpType,
BitmapToByteData.AlignType alignType,
int pagewidth)
GS v 0 m
打印光栅位图 |
static byte[] |
PrintsTheMaxiCodeSymbolDataInTheSymbolStorageArea()
Prints the MaxiCode symbol data in the symbol storage area
GS ( k p L p H cn fn m (fn = 81) Hex 1D 28 6B p L p H cn fn m [Range] p L = 3, p H = 0 cn = 50 fn = 81 m = 48 |
static byte[] |
PrintsThePDF417SymbolDataInTheSymbolStorageArea()
Prints the PDF417 symbol data in the symbol storage area.
|
static byte[] |
PrintsTheQRCodeSymbolDataInTheSymbolStorageArea()
Prints the QRCode symbol data in the symbol storage area.
|
static byte[] |
requestRealtimeForPrint(int n)
DLE ENQ n
实时对打印机请求 |
static byte[] |
returnState(int n)
GS r n
返回状态 |
static byte[] |
selectAlignment(int n)
ESC a n
选择对齐方式 |
static byte[] |
selectBmpModel(int m,
int nL,
int nH,
byte[] b)
ESC * m nL nH d1 d2...dk
选择位图模式 该指令详情请参考编程手册 |
static byte[] |
selectCharacterCodePage(int n)
ESC t n
选择字符代码表 |
static byte[] |
selectCharacterSize(int n)
GS !
|
static byte[] |
selectChineseCharModel()
FS &
选择汉字模式 |
static byte[] |
selectCutPagerModerAndCutPager(int m)
GS V m
选择切纸模式并切纸 |
static byte[] |
selectCutPagerModerAndCutPager(int m,
int n)
GS V m n
选择切纸模式并切纸 |
static byte[] |
selectFont(int n)
ESC M n
选择字体 |
static byte[] |
selectHRICharacterPrintPosition(int n)
GS H n
选择HRI字符打印位置; HRI是对条码内容注释的字符; |
static byte[] |
selectHRIFont(int n)
GS f n
选择HRI使用字体 |
static byte[] |
selectInternationalCharacterSets(int n)
ESC R n
选择国际字符集 |
static byte[] |
selectOrCancelBoldModel(int n)
ESC E n
选择或取消加粗模式 |
static byte[] |
selectOrCancelChineseCharDoubleWH(int n)
FS W n
选择或取消汉字倍高倍宽 |
static byte[] |
selectOrCancelChineseCharUnderLineModel(int n)
FS - n
选择或取消汉字下划线模式 |
static byte[] |
selectOrCancelConvertPrintModel(int n)
ESC { n
选择或取消倒置打印模式 |
static byte[] |
selectOrCancelCW90(int n)
ESC V n
选择或取消顺时针旋转90度 此命令只在页模式下有效 |
static byte[] |
selectOrCancelDoubelPrintModel(int n)
ESC G n
选择或取消双重打印模式 |
static byte[] |
selectOrCancelInvertPrintModel(int n)
GS B n
选择或取消黑白反显打印模式 |
static byte[] |
selectOrCancelUnderlineModel(int n)
ESC-n
选择或者取消下划线模式 |
static byte[] |
selectOrCancleCustomChar(int n)
ESC % n
选择或取消用户自定义字符 |
static byte[] |
selectPageModel()
ESC L
选择页模式 |
static byte[] |
selectPrintDirectionUnderPageModel(int n)
ESC T n
在页模式下选择打印区域方向 |
static byte[] |
selectPrinter(int n)
ESC=n
选择打印机 |
static byte[] |
selectPrintModel(int n)
ESC !
|
static byte[] |
selectPrintTransducerOutPutPageOutSignal(int n)
ESC c 3 n
选择打印机纸传感器以输出缺纸信号 |
static byte[] |
selectPrintTransducerStopPrint(int n)
ESC c 4 n
选择打印机传感器一停止打印 |
static byte[] |
selectStandardModel()
ESC S
选择标准模式 |
static byte[] |
sendRealtimestatus(int n)
DLE EOT n
实时状态传送 |
static byte[] |
setAbsolutePositionUnderPageModel(int nL,
int nH)
GS $ nL nH
页模式下设置绝对位置 |
static byte[] |
setAbsolutePrintPosition(int m,
int n)
ESC $ nL nH
设置绝对打印位置 |
static byte[] |
setBarcodeHeight(int n)
GS h n
选择条码高度 |
static byte[] |
setBarcodeWidth(int n)
GS w n
设置条码宽度 |
static byte[] |
setCharRightSpace(int n)
设置字符右间距
|
static void |
setCharsetName(java.lang.String charset)
设置将打印内容传输给打印机所采用的字符编码,默认为中文编码“gbk”
|
static byte[] |
setChineseCharacterModel(int n)
FS !
|
static byte[] |
setChineseCharLeftAndRightSpace(int n1,
int n2)
FS S n1 n2
设置汉字字符左右间距 |
static byte[] |
setDefultLineSpacing()
ESC 2
设置默认行间距 大约3.75mm |
static byte[] |
setHorizontalAndVerticalMoveUnit(int x,
int y)
GS P x y
设置横向和纵向移动单位 |
static byte[] |
setHorizontalmovementPosition(byte[] b)
ESC D n1...nk NUL;
设置横线跳格位置 |
static byte[] |
setLeftSpace(int nL,
int nH)
GS L nL nH
设置左边距 |
static byte[] |
setLineSpaceing(int n)
ESC 3 n
设置行间距 |
static byte[] |
setPrintAreaUnderPageModel(int xL,
int xH,
int yL,
int yH,
int dxL,
int dxH,
int dyL,
int dyH)
ESC W xL xH yL yH dxL dxH dyL dyH
页模式下设置打印区域 |
static byte[] |
setPrintAreaWidth(int nL,
int nH)
GS W nL nH
设置打印区域宽度 |
static byte[] |
setRelativeHorizontalPrintPosition(int nL,
int nH)
ESC \ nL nH
设置相对横向打印位置 指令使用详情请参考编程手册 |
static byte[] |
SetsTheErrorCorrectionLevelForPDF417(int m,
int n)
Sets the error correction level for PDF417 symbols.
|
static byte[] |
SetsTheErrorCorrectionLevelForQRCodeSymbol(int n)
Sets the error correction level for QRCode symbol.
|
static byte[] |
SetsTheModuleHeightForPDF417(int n)
Sets the module height to [(module width) × n].
|
static byte[] |
SetsTheModuleWidthOfPDF417(int n)
Sets the module width of one PDF417 symbol to n dots.
|
static byte[] |
SetsTheNumberOfColumnsOfTheDataAreaForPDF417(int n)
GS ( k p L p H cn fn n (fn = 65)
Sets the number of columns of the data area for PDF417 (p L + p H × 256) = 3 (p L = 3, p H = 0) cn = 48 fn = 65 |
static byte[] |
SetsTheNumberOfRowsOfTheDataAreaForPDF417(int n)
Sets the number of rows of the data area for PDF417
GS ( k p L p H cn fn n (fn = 66) (p L + p H × 256) = 3 (p L = 3, p H = 0) cn = 48 fn = 66 |
static byte[] |
SetsTheSizeOfTheQRCodeSymbolModule(int n)
Sets the size of the QRCode symbol module to [n dots × n dots]
GS ( k p L p H cn fn n (fn = 67) Hex 1D 28 6B p L p H cn fn n [Range] p L = 3, p H = 0 cn = 49 fn = 67 |
static byte[] |
setVerticalRelativePositionUnderPageModel(int nL,
int nH)
GS \ nL nH
页模式下设置相对打印位置 |
static byte[] |
SpecifiesOrCancelsVariousPDF417SymbolOptions(int m)
Specifies or cancels various PDF417 symbol options
GS ( k p L p H cn fn m (fn = 70) [Range] (p L + p H × 256) = 3 (p L = 3, p H = 0) cn = 48 fn = 70 |
static byte[] |
SpecifiesTheModeForMaxiCodeSymbol(int n)
Specifies the mode for MaxiCode symbol
GS ( k p L p H cn fn n (fn = 65) Hex 1D 28 6B p L p H cn fn n [Range] p L = 3, p H = 0 cn = 50 fn = 65 |
static byte[] |
startOrStopMacrodeFinition()
GS :
开始或结束宏定义 |
static byte[] |
StoresSymbolDataInItheMaxiCodeSymbolStorageArea(int pL,
int pH,
byte[] b)
Stores symbol data (d1…dk) in the MaxiCode symbol storage area.
|
static byte[] |
StoresSymbolDataInThePDF417SymbolStorageArea(int pL,
int pH,
byte[] b)
Stores symbol data (d1...dk) in the PDF417 symbol storage area.
|
static byte[] |
StoresSymbolDataInTheQRCodeSymbolStorageArea(java.lang.String code)
Stores symbol data (d1…dk) in the QRCode symbol storage area.
|
static byte[] |
TransmitsTheSizeOfTheEncodedSymbolDataInTheSymbolStorageAreaMaxiCode()
Transmits the size of the encoded symbol data in the symbol storage area
ASCII GS ( k p L p H cn fn m Hex 1D 28 6B p L p H cn fn m [Range] p L = 3, pH = 0 cn = 50 fn = 82 m = 48 |
static byte[] |
TransmitsTheSizeOfTheSymbolDataInTheSymbolStorageAreaPDF417()
Transmits the size of the symbol data in the symbol storage area.
|
static byte[] |
TransmitsTheSizeOfTheSymbolDataInTheSymbolStorageAreaQRCode()
Transmits the size of the symbol data in the symbol storage area
GS ( k p L p H cn fn m (fn = 82) Hex 1D 28 6B p L p H cn fn m [Range] p L = 3, pH = 0 cn = 49 fn = 82 m = 48 |
public static void setCharsetName(java.lang.String charset)
charset
- 字符编码类型(打印机所能识别的字符编码类型,具体请参考编程手册代码页设置)public static byte[] horizontalPositioning()
public static byte[] printAndFeedLine()
public static byte[] printAndBackStandardmodel()
public static byte[] PrintAndCarriageReturn()
public static byte[] canclePrintDataByPagemodel()
public static byte[] sendRealtimestatus(int n)
n,1<=n<=4;
- public static byte[] requestRealtimeForPrint(int n)
n,1<=n<=2
- public static byte[] openCashboxRealtime(int m, int t)
m:0,1;
- t,1<=t<=8;
- public static byte[] printByPagemodel()
public static byte[] setCharRightSpace(int n)
n,代表间距大小的变量,范围0-255;
- public static byte[] selectPrintModel(int n)
n代表打印模式的变量,范围0-255
- public static byte[] setAbsolutePrintPosition(int m, int n)
m,n,m+n*256代表距离行首位置,范围0-255;
- public static byte[] selectOrCancleCustomChar(int n)
n,0-255,最低位为1,使用;最低位为0,不使用;
- public static byte[] defineuserDefinedCharacters(int c1, int c2, byte[] b)
c1,c1是起始字符代码,范围32<=c1<=c2<=127
- c2,c2是终止字符代码,范围32<=c1<=c2<=127;
- b,字节数组b的格式为[x1
- d1...d(x1*y)]...[xk d1...d(y*xk)],为字符下载的字符的数据的集合,自定义字符的规则详情,请参考编程手册;public static byte[] selectBmpModel(int m, int nL, int nH, byte[] b)
m范围:0,1,32,33,代表不同点的密度
- nL范围:0-255
- nH范围:0-3
- b,b={d1
- d2...dk},m=0或1,k=nL+nH*256;m=32或33,k=(nL+nH*256)*3;0<=d<=255;public static byte[] selectOrCancelUnderlineModel(int n)
n:0,48
- 取消下划线;1,49选择下划线(1点宽);2,50选择下划线(2点宽);public static byte[] setDefultLineSpacing()
public static byte[] setLineSpaceing(int n)
n范围:0-255
- public static byte[] selectPrinter(int n)
n:0或1
- public static byte[] cancelUserDefinedCharacters(int n)
n范围:32-127
- public static byte[] initializePrinter()
public static byte[] setHorizontalmovementPosition(byte[] b)
b={n1...nk};k<=32;跳格距离=字符宽度*n;
- 参数b内的n值大小和个数设置请参考编程手册public static byte[] selectOrCancelBoldModel(int n)
n,0-255,最低位为1,选择加粗;最低位为0,取消加粗;
- public static byte[] selectOrCancelDoubelPrintModel(int n)
n,0-255,最低位为1,选择双重打印;最低位为0,取消双重打印;
- public static byte[] printAndFeed(int n)
n走纸距离,单位英寸,范围:0-255
- public static byte[] selectPageModel()
public static byte[] selectFont(int n)
n
- 范围:0,1,48,49;0,48标准字体;1,49压缩字体public static byte[] selectInternationalCharacterSets(int n)
n:0-15;代表某一种国际字符集
- public static byte[] selectStandardModel()
public static byte[] selectPrintDirectionUnderPageModel(int n)
n:0<=n<=3,48<=n<=51;n指定打印区域的方向和起始位置
- public static byte[] selectOrCancelCW90(int n)
n:0<=n<=1,48<=n<=49;0,48代表取消,1,49代表选择
- public static byte[] setPrintAreaUnderPageModel(int xL, int xH, int yL, int yH, int dxL, int dxH, int dyL, int dyH)
0<=xL
- xH yL yH dxL dxH dyL dyH<=255public static byte[] setRelativeHorizontalPrintPosition(int nL, int nH)
nL,nH范围:0-255
- public static byte[] selectAlignment(int n)
n:0-2或48-50;分别表示:左对齐,居中,右对齐
- public static byte[] selectPrintTransducerOutPutPageOutSignal(int n)
n:0-255
- public static byte[] selectPrintTransducerStopPrint(int n)
n:0-255
- public static byte[] allowOrForbidPressButton(int n)
n:0-255,n的最后一位为0,按键启用,为1,按键禁止;
- public static byte[] printAndFeedForward(int n)
n:0-255;
- public static byte[] creatCashboxContorlPulse(int m, int t1, int t2)
m
- :连接引脚,范围:0,1,48,49;t1,t2:0-255
- public static byte[] selectCharacterCodePage(int n)
n:0<=n<=10,16<=n<=19;
- public static byte[] selectOrCancelConvertPrintModel(int n)
n:最低位0取消,最低位1选择,范围:0-255;
- public static byte[] printBmpInFLASH(int n, int m)
n,表示位图,0-255
- m:0-3或48-51
- public static byte[] definedFlashBmp(java.util.List<Bitmap> list, int n, BitmapToByteData.BmpType bmpType)
list
- bitmap列表,存放你要存储到flash里的位图对象,list为空或size为0,返回一个new byte[0];n
- 位图个数,也是list的sizebmptype你所希望的位图打印的类型,二值法和抖动法
- public static byte[] selectCharacterSize(int n)
n
- 范围0-255;n的0到3位设定字符高度,4-7位用来设定字符宽度public static byte[] setAbsolutePositionUnderPageModel(int nL, int nH)
nL,nH,nl+nh*256代表位置,单位英寸;nl和nh的范围:0-255;
- public static byte[] definedDownLoadBmp(Bitmap bitmap, BitmapToByteData.BmpType bmpType)
bitmap
- 你所希望下载到打印机的位图bmptype你所希望的位图打印的类型,二值法和抖动法
- public static byte[] executePrintDataSaveByTransformToHex()
public static byte[] printDownLoadBmp(int m)
m,指定打印模式,范围:0-3或48-51;
- public static byte[] startOrStopMacrodeFinition()
public static byte[] selectOrCancelInvertPrintModel(int n)
n:0-255,最低位为0,取消反显打印,最低位为1,选择反显打印
- public static byte[] selectHRICharacterPrintPosition(int n)
n:范围0-3或者48-51;代表字符在条码的打印位置
- public static byte[] setLeftSpace(int nL, int nH)
nL,nH,范围0-255,(nl+nh*256)*横向移动单位,代表设置的左边距,单位:英寸
- public static byte[] setHorizontalAndVerticalMoveUnit(int x, int y)
x设置横向移动单位的参数,0-255
- y设置纵向移动单位的参数,0-255
- 当x和y为0时,xy被设置为默认值public static byte[] selectCutPagerModerAndCutPager(int m)
m:0,48,全切;1,49,半切
- public static byte[] selectCutPagerModerAndCutPager(int m, int n)
m:只能是66
- n:进纸n,然后半切纸
- public static byte[] setPrintAreaWidth(int nL, int nH)
nL,(nl+nh*256)*横向移动单位,代表打印区域宽度
- nH,(nl+nh*256)*横向移动单位,代表打印区域宽度
- public static byte[] setVerticalRelativePositionUnderPageModel(int nL, int nH)
nL,(nl+nh*256)*纵向移动单位,表示相对当前打印位置纵向移动距离
- nH,(nl+nh*256)*纵向移动单位,表示相对当前打印位置纵向移动距离
- public static byte[] executeMacrodeCommand(int r, int t, int m)
r:0-255,指定执行次数
- t:0-255,执行等等时间
- m:0或1,执行模式
- public static byte[] openOrCloseAutoReturnPrintState(int n)
n,0-255,每一位代表不同的状态返回
- public static byte[] selectHRIFont(int n)
n
- :0,48代表标准;1,49代表压缩字体;public static byte[] setBarcodeHeight(int n)
n
- :1-255;默认162public static byte[] printBarcode(int m, java.lang.String content)
m
- 条码类型:0-6content
- 条码内容字符串,字符串的长度和字符范围,参考打印条码指令public static byte[] printBarcode(int m, int n, java.lang.String content)
m
- 条码类型:65-73,当m=73时,打印条码的内容必须加上字符集选择,如:{A,{B,{C等;n
- 指示条码数据的个数,字符串长度不能超过n规定的范围content
- 条码内容字符串,字符串的长度和字符范围,参考打印条码指令public static byte[] printBarcode(int alignment, int HRI, int width, int height, int type, int size, java.lang.String content)
alignment
- 对齐方式 0-2或48-50;分别表示:左对齐,居中,右对齐HRI
- HRI文字显示 范围0-3或者48-51;代表字符在条码的打印位置width
- 设置宽度 2-6;默认3height
- 设置高度 1-255;默认162type
- 条码类型:65-73,当m=73时,打印条码的内容必须加上字符集选择,如:{A,{B,{C等;size
- 指示条码数据的个数,字符串长度不能超过n规定的范围content
- 条码内容字符串,字符串的长度和字符范围,参考打印条码指令public static byte[] returnState(int n)
n
- 范围:1,2,49,50;1,49返回传感器状态,2,50返回钱箱状态;public static byte[] printRasterBmp(int m, Bitmap bitmap, BitmapToByteData.BmpType bmpType, BitmapToByteData.AlignType alignType, int pagewidth)
m
- 打印模式0-3或48-51;正常打印m=0;bitmap你希望打印光栅位图的图片的bitmap对象,该模式的位图打印规则请参考编程手册
- bmpType你希望的位图处理成单色图的方式
- public static byte[] setBarcodeWidth(int n)
n:2-6;默认3;
- public static byte[] setChineseCharacterModel(int n)
n:0-255;字节的不同位定义字符模式
- public static byte[] selectChineseCharModel()
public static byte[] selectOrCancelChineseCharUnderLineModel(int n)
n:0-2或48-50;
- public static byte[] CancelChineseCharModel()
public static byte[] definedUserDefinedChineseChar(int c2, byte[] b)
c2:A1H<=c2<=FEH
- b,长度为72,代表定义的汉字的数据byte[]
- public static byte[] setChineseCharLeftAndRightSpace(int n1, int n2)
n1,设置左间距,0-255;
- n2,设置右间距,0-255;
- public static byte[] selectOrCancelChineseCharDoubleWH(int n)
n:0-255;只有最低位有效,0,取消;1,选择
- public static byte[] printerOrderBuzzingHint(int n, int t)
n
- 蜂鸣次数.1-9t
- 每次蜂鸣时间,t*50ms,1-9public static byte[] printerOrderBuzzingAndWarningLight(int m, int t, int n)
m
- 蜂鸣次数报警灯闪烁次数.范围1-20t
- 每次鸣叫或闪烁间隔时间,(t*50ms),范围1-20n
- 0-3;分别表示是否鸣叫,闪烁;public static byte[] SetsTheNumberOfColumnsOfTheDataAreaForPDF417(int n)
0
- ≤ n ≤ 30;public static byte[] SetsTheNumberOfRowsOfTheDataAreaForPDF417(int n)
n=0,3
- ≤ n ≤ 90;public static byte[] SetsTheModuleWidthOfPDF417(int n)
2
- ≤ n ≤ 8 public static byte[] SetsTheModuleHeightForPDF417(int n)
2
- ≤ n ≤ 8public static byte[] SetsTheErrorCorrectionLevelForPDF417(int m, int n)
m
- = 48, 49n:48
- ≤ n ≤ 56 (when m = 48 is specified),1 ≤ n ≤ 40 (when m = 49 is specified)public static byte[] SpecifiesOrCancelsVariousPDF417SymbolOptions(int m)
m
- = 0 or 1public static byte[] StoresSymbolDataInThePDF417SymbolStorageArea(int pL, int pH, byte[] b)
b={d1...dk},k为b的长度
- 0 ≤ d ≤ 255public static byte[] PrintsThePDF417SymbolDataInTheSymbolStorageArea()
public static byte[] TransmitsTheSizeOfTheSymbolDataInTheSymbolStorageAreaPDF417()
public static byte[] SetsTheSizeOfTheQRCodeSymbolModule(int n)
n
- 1<=n<=16
[Default] n = 3public static byte[] SetsTheErrorCorrectionLevelForQRCodeSymbol(int n)
48
- ≤ n ≤ 51
[Default] n = 48public static byte[] StoresSymbolDataInTheQRCodeSymbolStorageArea(java.lang.String code)
code
- qrcode contentpublic static byte[] PrintsTheQRCodeSymbolDataInTheSymbolStorageArea()
public static byte[] printQRcode(int n, int errLevel, java.lang.String code)
n
- 单元大小,默认值为n=3errLevel
- 纠错等级 48-51;code
- 二维码内容字符串public static byte[] TransmitsTheSizeOfTheSymbolDataInTheSymbolStorageAreaQRCode()
public static byte[] SpecifiesTheModeForMaxiCodeSymbol(int n)
50
- ≤ n ≤ 54public static byte[] StoresSymbolDataInItheMaxiCodeSymbolStorageArea(int pL, int pH, byte[] b)
pL
- :intpH
- :intb
- :byte[]public static byte[] PrintsTheMaxiCodeSymbolDataInTheSymbolStorageArea()
public static byte[] TransmitsTheSizeOfTheEncodedSymbolDataInTheSymbolStorageAreaMaxiCode()