© 2013 Brother Industries, Ltd. All Rights Reserved. Brother Print SDK for Android Manual Ver.2.3.0 Android is
© 2013 Brother Industries, Ltd. All Rights Reserved. 7 2.2. How to use API functions of SDK Import the library into source code. import com.bro
© 2013 Brother Industries, Ltd. All Rights Reserved. 8 following example. You can check more details from source code of sample application. 2.3
© 2013 Brother Industries, Ltd. All Rights Reserved. 9 2.3.3. Change myPrinterInfo = serviceIf.getPrinterInfo(); serviceIf.setPrinterInfo(myPri
© 2013 Brother Industries, Ltd. All Rights Reserved. 10 2.4. The sample code for supporting USB import com.brother.ptouch.sdk.Printer; public
© 2013 Brother Industries, Ltd. All Rights Reserved. 11 3. Processing Flow Outline a general flow of print processing. 3.1. Processing Flow
© 2013 Brother Industries, Ltd. All Rights Reserved. 12 3.3. Processing Flow of Transferring Template file Refer to 3.6 for multiple transfe
© 2013 Brother Industries, Ltd. All Rights Reserved. 13 The entrance site is: http://welcome.solutions.brother.com/bsc/public_s/index.html 3.6.
© 2013 Brother Industries, Ltd. All Rights Reserved. 14 4. API Reference 4.1. com.brohter.ptouch.sdk.Printer class 4.1.1. Public Method List
© 2013 Brother Industries, Ltd. All Rights Reserved. 15 boolean cancel() Cancel printing which is invalid during sending data. Printing meth
© 2013 Brother Industries, Ltd. All Rights Reserved. 16 4.1.2. Method details 4.1.2.1. boolean setPrinterInfo(PrinterInfo printerInfo) [Interp
© 2013 Brother Industries, Ltd. All Rights Reserved. - Revision history - 001 2011/05/30 Ver.1.0 New 002 2011/07/13 Ver.1.0.1 Revise accompan
© 2013 Brother Industries, Ltd. All Rights Reserved. 17 Returns the printer information which is currently set. [Argument] None [Return value]
© 2013 Brother Industries, Ltd. All Rights Reserved. 18 [Reference] PDF File Print Processing Flow 4.1.2.8. PrinterStatus printFile(String fil
© 2013 Brother Industries, Ltd. All Rights Reserved. 19 [Return value] true: Success false: Failed [Reference] Processing Flow of Printing P-tou
© 2013 Brother Industries, Ltd. All Rights Reserved. 20 Processing Flow of Printing P-touch Template 4.1.2.13. boolean replaceTextName(Strin
© 2013 Brother Industries, Ltd. All Rights Reserved. 21 4.1.2.16. NetPrinter[] getNetPrinters(String modelName[]) [Interpretation] Returns t
© 2013 Brother Industries, Ltd. All Rights Reserved. 22 None [Return value] LabelParam [Reference] None 4.1.2.20. UsbDevice getUsbDevice(UsbMa
© 2013 Brother Industries, Ltd. All Rights Reserved. 23 True is always returned. [Reference] Processing Flow of Multiple Printing and Cancel 4.
© 2013 Brother Industries, Ltd. All Rights Reserved. 24 4.2. com.brohter.ptouch.sdk.PrinterInfo Class 4.2.1. Member Variable Field Type Vari
© 2013 Brother Industries, Ltd. All Rights Reserved. 25 4.2.2. Details of Member Variable 4.2.2.1. Model Printer Model
© 2013 Brother Industries, Ltd. All Rights Reserved. 26 Set address: set PrinterInfo.macAddress or PrinterInfo.ipAddress by address characters.
© 2013 Brother Industries, Ltd. All Rights Reserved. - Contents - Introduction ...
© 2013 Brother Industries, Ltd. All Rights Reserved. 27 4.2.2.6. PrintMode Print mode of image printing enum PrintMode ORIGINAL Dot by dot ※It
© 2013 Brother Industries, Ltd. All Rights Reserved. 28 4.2.2.10. Margin Margins of image printing Field public int left Light margin (Unit of
© 2013 Brother Industries, Ltd. All Rights Reserved. 29 ERROR_CONNECT_SOCKET_FAILED Error: Failed to connect ※1 ERROR_GET_OUTPUT_STREAM_FAILED E
© 2013 Brother Industries, Ltd. All Rights Reserved. 30 4.2.2.13. Msg Message This library sends following message when performing print proces
© 2013 Brother Industries, Ltd. All Rights Reserved. 31 4.3. com.brohter.ptouch.sdk.PrinterStatus Class Fields Type Variable Name Detail ErrorC
© 2013 Brother Industries, Ltd. All Rights Reserved. 32 4.4. com.brohter.ptouch.sdk.NetPrinter Class Fields Type Variable Name Detail String mo
© 2013 Brother Industries, Ltd. All Rights Reserved. 33 5.Paper Size B
© 2011 Brother Industries, Ltd. All Rights Reserved. 34 5.1. PJ Series 5.1.1. PJ-663, PJ-560, PJ-563 (300dpi model) Paper A B C D E F G H A
© 2011 Brother Industries, Ltd. All Rights Reserved. 35 5.2. MW Series 5.2.1. MW-260 Paper A B C D E F G H A6 148 mm 1748 dots 3.75 mm 44 dots
© 2011 Brother Industries, Ltd. All Rights Reserved. 36 6. Sample application 6.1. Brother Print SDK Demo 6.1.1. Outline Application: Bro
© 2012 Brother Industries, Ltd. All Rights Reserved. 1 Introduction This manual is for SDK (Software Development Kit) and references which is us
© 2011 Brother Industries, Ltd. All Rights Reserved. 37 6.1.2.2. Printer Setting Following screen is displayed when you tap [Printer Settings
© 2011 Brother Industries, Ltd. All Rights Reserved. 38 Custom Paper Width (PJ only) Custom Paper Length (PJ only) Feed Paper Setting (PJ onl
© 2011 Brother Industries, Ltd. All Rights Reserved. 39 6.1.2.4. Print Pdf File Select File: Select files in SD card. All pages: Check i
© 2011 Brother Industries, Ltd. All Rights Reserved. 40 6.1.2.5. Print Template Template Key: File key number which saved in printer.
© 2011 Brother Industries, Ltd. All Rights Reserved. 41 6.1.2.6. Transfer Manager Select File: Select files in SD card. Printer Settings: Sel
© 2012 Brother Industries, Ltd. All Rights Reserved. 2 1. At the beginning 1.1. Folder Configurations The SDK contains of the following folder
© 2012 Brother Industries, Ltd. All Rights Reserved. 3 PJ_562 yes yes no PJ_563 yes yes no PJ_622 yes no no PJ_623 yes no no PJ_662 yes yes no P
© 2012 Brother Industries, Ltd. All Rights Reserved. 4 1.3. Restrictions On Android OS specification, it is not possible to print large pdf
© 2013 Brother Industries, Ltd. All Rights Reserved. 5 2. How to implement 2.1.Add library. Copy the libs folder of SDK to your application f
© 2013 Brother Industries, Ltd. All Rights Reserved. 6 Select BrotherPrintLibrary.jar which created now and click [OK] button. For PDF printing,
Comments to this Manuals