PosPrintSDK
POSPrinter
Events:
- onBind()
- onFailed (tag As Object)
- onSuccess (tag As Object)
- onUnBind()
Fields:
- binder As net.posprinter.posprinterface.IMyBinder
- ISCONNECT As Boolean
Functions:
- autoDetect (x As Int, y As Int) As Byte()
- backFeed (n As Int) As Byte()
- bar (x As Int, y As Int, width As Int, heigth As Int) As Byte()
- barCode (x As Int, y As Int, codeType As String, heigth As Int, human As Int, rotation As Int, narrow As Int, wide As Int, content As String) As Byte()
- BDacceptdatafromprinter
- BDcheckLinkedState (tag As Object)
- BDclearBuffer
- BDconnectBtPort (arg0 As String, tag As Object)
- BDconnectNetPort (arg0 As String, arg1 As Int, tag As Object)
- BDconnectUsbPort (arg1 As String, tag As Object)
- BDdisconnectCurrentPort (tag As Object)
- bitmap (x As Int, y As Int, mode As Int, bitmap As android.graphics.Bitmap, bmpType As net.posprinter.utils.BitmapToByteData.BmpType) As Byte()
- blineBydot (m As Int, n As Int) As Byte()
- blineByinch (m As Double, n As Double) As Byte()
- blineBymm (m As Double, n As Double) As Byte()
- blineDetect (x As Int, y As Int) As Byte()
- block (x As Int, y As Int, width As Int, height As Int, font As String, rotation As Int, x_multiplication As Int, y_multiplication As Int, space As Int, alignment As Int, content As String) As Byte()
- box (x As Int, y As Int, x_end As Int, y_end As Int, thickness As Int) As Byte()
- checkPrinterStateByPort4000 As Byte()
- checkPrinterStateByPort9100 As Byte()
- cls As Byte()
- codeBlockFMode (x As Int, y As Int, rotation As Int, row_height As Int, module_width As Int, content As String) As Byte()
- codePage (n As String) As Byte()
- country (n As String) As Byte()
- cut As Byte()
- delay (ms As Int) As Byte()
- density (n As Int) As Byte()
- direction (n As Int) As Byte()
- disPlay (s As String) As Byte()
- dmatrix (x As Int, y As Int, width As Int, height As Int, expression As String, content As String) As Byte()
- dmatrix3 (x As Int, y As Int, width As Int, height As Int, xm As Int, row As Int, col As Int, expression As String, content As String) As Byte()
- downLoad (filename As String) As Byte()
- downLoad2 (filename As String, bitmap As String) As Byte()
- downLoad3 (filename As String, filepath As String) As Byte()
- downLoad4 (filename As String, size As Int, content As String) As Byte()
- ellipse (x As Int, y As Int, width As Int, height As Int, thickness As Int) As Byte()
- eop As Byte()
- erase (x As Int, y As Int, width As Int, height As Int) As Byte()
- feed (n As Int) As Byte()
- files As Byte()
- formFeed As Byte()
- gapBydot (m As Int, n As Int) As Byte()
- gapByinch (m As Double, n As Double) As Byte()
- gapBymm (m As Double, n As Double) As Byte()
- gapDetect (x As Int, y As Int) As Byte()
- home As Byte()
- Initialize (EventName As String)
- initialPrinter As Byte()
- kill (filename As String) As Byte()
- limitFeedBydot (n As Int) As Byte()
- limitFeedByinch (n As Double) As Byte()
- limitFeedBymm (n As Double) As Byte()
- move As Byte()
- offSetBydot (m As Int) As Byte()
- offSetByinch (m As Double) As Byte()
- offSetBymm (m As Double) As Byte()
- pdf417 (x As Int, y As Int, width As Int, height As Int, rotate As Int, option As String, content As String) As Byte()
- print (m As Int, n As Int) As Byte()
- putBmp (x As Int, y As Int, filename As String, bpp As Int, contrast As Int) As Byte()
- qrCode (x As Int, y As Int, eccLevel As String, cellWidth As Int, mode As String, rotation As Int, model As String, mask As String, content As String) As Byte()
- readBuffer As net.posprinter.utils.RoundQueue
- reference (x As Int, y As Int) As Byte()
- reverse (x As Int, y As Int, width As Int, height As Int) As Byte()
- run (filename As String) As Byte()
- selfTest As Byte()
- selfTest2 (page As String) As Byte()
- shift (n As Int) As Byte()
- sizeBydot (m As Int, n As Int) As Byte()
- sizeByinch (m As Double, n As Double) As Byte()
- sizeBymm (m As Double, n As Double) As Byte()
- sound (level As Int, interval As Int) As Byte()
- speed (n As Double) As Byte()
- text (x As Int, y As Int, font As String, rotation As Int, x_multiplication As Int, y_multiplication As Int, content As String) As Byte()
- write (data As Byte(), tag As Object)
- writeDataByYouself (commands As List, tag As Object)
Properties:
- CharsetName As String [write only]