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()