Page 2
No Warranty a. Any updates, upgrades or alteration of the Documentation or Machine Model will be performed at the sole discretion of Brother. Brother may not respond to any request or inquiry about the Documentation. b. THIS DOCUMENTATION IS PROVIDED TO YOU "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE.
Contents Introduction What is P-touch Template? How to use P-touch Template P-touch Template Settings Tool User’s Guide P-touch Template Limitations Precautions Appendix: Specifications...
Introduction This material provides the necessary information for directly controlling the transferred templates in MW-145BT/MW-260/PJ-623/PJ-663. This information is provided assuming that the user has full understanding of the operating system being used and basic mastery of programming in a developer's environment. We accept no responsibility for any problems caused by programs that you develop using the information provided in this material, affecting software, data or hardware, including the MW-145BT/MW-260/PJ-623/PJ-663, and any problems resulting directly or indirectly from...
How to use P-touch Template 1. Printer setting Set up the initial printer setting by P-touch Template settings tool, in accordance with the environment of host system or the terminal unit, which MW-145BT/MW-260/PJ-623/PJ-663 connect to. (Please refer to P -touch Template Settings Tool User’s Guide in page 6.) The printer driver must first be installed via a USB connection.
P-touch Template Settings Tool User’s Guide *Printer image in the screen may differ depending on your product model. (1) Command mode setting (2) Template number setting (3) Delimiter setting (4) Print start trigger setting (5) Print start command text string setting (6) Print start data amount setting (7) Character code set setting (8) International character setting...
Page 7
(1) Command mode setting · P-touch Template mode To use P-touch Template, select the P-touch Template mode. · ESC/P mode · Raster mode (2) Template number setting Specify the template number selected as the default when the printer is turned on. However if any number of template not be transferred to the printer, then it cannot be specified such number of template.
Page 8
Select one of the following three character codes. For character code tables, refer to the character code tables in the P-touch Template Command. · Windows1252 · Windows1250 · Brother standard (8) International character setting Select one of the following as the character set of the country. · · France ·...
Page 9
After the [Set] button (in the main dialog box or the Communications Settings dialog box) is clicked, the settings are saved when the dialog box is closed. (MW-145BT) C:\Documents and Settings\(user_account_name)\Application Data\Brother \Printer Settings\Pts3532.ini (MW-260) C:\Documents and Settings\(user_account_name)\Application Data\Brother \Printer Settings\Pts3432.ini...
Page 10
· Typing text into text boxes (3), (5), (9) and (10) Characters that can be entered as text can be typed in, and control codes can be entered as ASCII codes (00 to FF) with \ in front of them. Example: PRINT: [PRINT] TAB control code: [\09]...
P-touch Template Limitations ■ Relating to text objects (Please also refer to R elationship between the P-touch Editor setting and the printer image in page 20.) Fonts specified in P-touch Editor are converted to Helsinki, Letter Gothic or Brussels, depending on the font shape, when the data is sent to the printer . (The font is converted according to the following rules: fixed pitch: Letter Gothic;...
Page 12
“At Printing” setting (To cancel the “At Printing” setting for a date/time in P-touch Editor, display the properties for the Date and Time object, and then clear the “At Printing” check box.) · Horizontal alignment settings (“Justify” or “Equal Length”) specified in P-touch Editor are changed to the left alignment setting.
Page 13
Specifying the line spacing setting in P-touch Editor ・Numbering settings specified in P-touch Editor are invalid. (The text specified as the default numbering text is printed with P-touch Template.) Default numbering For the numbering text specified in P-touch Editor and shown above, “100” is the default; therefore, “No.
Page 14
fixed size or fixed length is specified in P-touch Editor, or that “Automatic Length” be selected when an automatic media length is specified.) 1. Shrink to Fit: The text object size is fixed, and the text size is changed depending on the text length.
Page 15
■ Relating to bar codes ● Bar codes · When trying to transfer a template containing a bar code that is not compatible with the printer , an error will occur while transferring and the template cannot be transferred to the printer .
Page 16
CODABAR: 4 to 64 characters (with “A”, “B”, “C” or “D” at the beginning and end) CODE128: 1 to 64 characters GS1-128 (UCC/EAN-128): 1 to 64 characters When trying to transfer data exceeding the ranges describe above, an error will occur while transferring.
Page 17
■ Others · A maximum of 99 templates can be transferred. The transfer cannot be completed if the amount of data being transferred exceeds the followings; MW-145BT/MW-260 : 512KB PJ-623/PJ-663 : 5,888KB · A single template can contain at the maximum the following numbers of objects. When trying to transfer more objects than the maximum, an error will occur and the transfer cannot be completed.
Page 18
· When print data is fed, the command mode should be the P-touch Template mode. · When a template is transferred to the printer , all values specified with dynamic commands are initialized. · Printing begins when the print start text string is received, even if the print start trigger is “when all objects are filled”.
Precautions Static commands Static commands are valid only in the following modes; MW-145BT/MW-260 : raster mode PJ-623/PJ-663 : maintenance mode Example: To statically change the template selection number to 10 1) Switch to maintenance mode. ESC i a 01h (1Bh 69h 61h 01h) 2) Select template number 10.
Page 20
Relationship between the P-touch Editor setting and the printer image Printer image P-touch Editor setting Text Option (Text Layout) Width Height Printed image Text Details- Wrap Text Text Frame Size Frame Size Layout Options Text Size Size Clip Text If the text is too If the text is too (See Fixed...
Page 21
Making a template in order to save time before starting to print ● Perform the following operation to convert permanent objects into images. · In the [Text Properties] dialog, select the [Expanded] tab and check “Text Cannot Be Edited”. · When the [Expanded] tab is not seen in the [Text Properties] dialog, click [Tools] –...
Page 24
(“User”) who are desiring to use the Software (defined below), to provide terms and conditions for license grant by Brother to User with respect to certain software development tools (“Software”) for Brother mobile printer products “MPrint” series and/or “PocketJet”...
Page 25
(e) User may not alter or modify Redistributable Module I or other portion of the Software than Redistributable Module II. (f) Without prior written consent from Brother, User may not use any trademarks or logos owned by Brother, including without limitation “brother” logo, for its UASoftware.
Page 26
Software. User agrees and acknowledges that such information is provided voluntarily, and that Brother may freely use such information at its sole discretion. Brother agrees not to disclose or divulge User’s name or other identification as the source of such information.
Page 27
ANY ERROR, INACCURACY OR DEFECT IN THE SOFTWARE, EVEN IF BROTHER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. (b)User shall indemnify and hold Brother harmless from any and all claims, suits, costs and damages (including reasonable attorneys’ fees) arising out of or in connection with UASoftware or any use or distribution thereof.
Page 28
Contents Control Code List......................8 Commands that can be set or obtained in P-touch Template mode....8 Commands that can be set or obtained in raster mode........9 About P-touch Template ....................10 Static and dynamic commands ..................10 If printing does not begin (main most frequent causes) ..........10 Control Command Details.....................
Page 29
ESC iXC2 Specify number of copies ..............38 ESC iXT1 Retrieve select print start trigger items......... 39 ESC iXP1 Retrieve print start command setting text string......40 ESC iXr1 Retrieve print start received character count ........ 41 ESC iXD1 Retrieve delimiter................42 ESC iXa1 Retrieve Non-Printed character text strings .........
Control Code List Commands that can be set or obtained in P-touch Template mode 5E 50 54 Dynamic Select print start trigger 5E 50 53 Dynamic Specify print start command text string 5E 50 43 Dynamic Specify print start received character count Dynamic 5E 53 53 Specify delimiter...
About P-touch Template Data can be sent from a host (such as measuring instruments, scales and bar code readers) and printed in a template previously transferred to the machine from P-touch Editor. P-touch Template commands consist of a prefix character and a two-character text string. When the prefix character is sent, the machine begins the analysis of the P-touch Template command, and performs the specified process if the following two-character text string corresponds to a command.
Control Command Details Specify print start trigger selection [ASCII] ^ P T n [Decimal] 94 80 84 nd [Hexadecimal] 5E 50 54 nh [Parameters] 1≤n≤3 [Description] · Selects the print start trigger type. n=1: When the specified text string is received (default) n=2: When all objects are filled (Prints with the delimiter at the end of the data) n=3: When the specified number of characters is received...
Specify print start command text string [ASCII] ^ P S n1 n2 data [Decimal] 94 80 83 nd1 nd2 datad [Hexadecimal] 5E 50 53 nh1 nh2 datah [Parameters] 0≤n1≤2 0≤n2≤9 00h≤datah≤FFh [Description] · Specifies the text string for the print start command. (n1*10)+n2: Length of the text string (can be set between 1 and 20) data:...
Specify print start received character count [ASCII] ^ P C n1 n2 n3 [Decimal] 94 80 67 nd1 nd2 nd3 [Hexadecimal] 5E 50 43 nh1 nh2 nh3 [Parameters] 0≤n1≤9 0≤n2≤9 0≤n3≤9 [Description] · Specifies the number of characters to be received to start printing. (n1*100)+(n2*10)+n3: Print start received character count (bytes) (1 to 999)
Specify delimiter [ASCII] ^ S S n1 n2 data [Decimal] 94 83 83 nd1 nd2 datad [Hexadecimal] 5E 53 53 nh1 nh2 datah [Parameters] 0≤n1≤2 0≤n2≤9 00h≤datah≤FFh [Description] · The delimiter is used to indicate when to move to the next object in data that is being sent. ·...
Specify template selection [ASCII] ^ T S n1 n2 n3 [Decimal] 94 84 83 nd1 nd2 nd3 [Hexadecimal] 5E 54 53 nh1 nh2 nh3 [Parameters] n1:0 (Fixed) 0≤n2≤9 0≤n3≤9 [Description] · Specifies the template selected from the machine as a number. (n2*10)+n3: Template number (1 to 99) ·...
Specify line spacing with line return [ASCII] ^ L S n1 n2 n3 [Decimal] 94 76 83 nd1 nd2 nd3 [Hexadecimal] 5E 4C 53 nh1 nh2 nh3 [Parameters] 0≤n1≤2 0≤n2≤9 0≤n3≤9 [Description] · Specifies the number of dots for the line spacing when a line return is entered. (n1*100)+(n2*10)+n3: Number of dots for the line spacing (0 to 255) ·...
Change the prefix character [ASCII] ^ C C n [Decimal] 94 67 67 nd [Hexadecimal] 5E 43 43 nh [Parameters] 00h≤nh≤FFh [Description] · Changes the prefix character code. n: Character code · The default text string for the prefix character is “^”. ·...
Specify line return command text string [ASCII] ^ R C n1 n2 data [Decimal] 94 82 67 nd1 nd2 datad [Hexadecimal] 5E 52 43 nh1 nh2 datah [Parameters] 0≤n1≤2 0≤n2≤9 00h≤datah≤FFh [Description] · Specifies the text string for the line return command. (n1*10)+n2: Length of the text string (can be set between 1 and 20) data: Text string (The maximum number of characters that can be set is 20 characters (bytes).)
Specify number of copies [ASCII] ^ C N n1 n2 n3 [Decimal] 94 67 78 nd1 nd2 nd3 [Hexadecimal] 5E 43 4E nh1 nh2 nh3 [Parameters] 0≤n1≤9 0≤n2≤9 0≤n3≤9 [Description] · Specifies the number of copies to be printed. (n1*100)+(n2*10)+n3: Number of copies (bytes) (1 to 999) ·...
Initialize [ASCII] ^ I I [Decimal] 94 73 73 [Hexadecimal] 5E 49 49 [Parameters] None [Description] · Reverts all dynamic settings to the machine settings. Print start trigger selections Print start command text strings Print start received character count Delimiter Template selection number Prefix character The text string for the line return command.
Name Value/Reference Print head mark Fixed at “80 Hex” Size Fixed at “20 Hex” “Brother” code Fixed at “’B’ Char (42 Hex)” Series code Fixed at “’2’ Char (32 Hex)” Model code (MW-260) Fixed at “’4’ Char (34 Hex)” Model code (MW-145BT) Fixed at “’5’...
Page 44
Error information 1 Flag Mask Definition Bit 0 0x01 "No media” error Bit 1 0x02 “End of media” error Bit 2 0x04 “Jam” error Bit 3 0x08 Battery empty Bit 4 0x10 Machine in use Bit 5 0x20 Not used Bit 6 0x40 High-voltage adapter...
Page 45
Media type (MW-145BT) Media type Value Remarks 00 Hex No media None 01 Hex Regular thermal paper1 02 Hex Spare1 03 Hex With adhesive 09 Hex Spare2 08Hex Copy paper1 0A Hex Spare3 0F Hex Wrong paper cassette orientation Media length (lower order bytes) Media length Value Remarks...
^V R Retrieve version Information [ASCII] ^ V R [Decimal] 94 86 82 [Hexadecimal] 5E 56 52 [Parameters] None [Description] · Retrieves the version information for the machine as a 16-character text string. Line return in object [ASCII] ^ C R [Decimal] 94 67 82 [Hexadecimal]...
Direct object insertion [ASCII] ^ D I n1 n2 data [Decimal] 94 68 73 nd1 nd2 datad [Hexadecimal] 5E 44 49 nh1 nh2 datah [Parameters] 00h≤nh1≤FFh 00h≤nh2≤FEh [Description] · Inserts a text string for the specified number of characters into the object selected in the selected template.
Page 50
[Remarks] · Invalid when an attempt is made to specify more than 20 characters [Example] · To change the text string for the print start command to “START”: Since the text string to be specified (data), “START”, contains 5 characters, nh1=05h and nh2=00h.
ESC iXD2 Specify delimiter [ASCII] ESCi X D 2 n1 n2 data [Decimal] 27 105 88 68 50 nd1 nd2 datad [Hexadecimal] 1B 69 58 44 32 nh1 nh2 datah [Parameters] 01h≤nh1≤14h nh2:00h (Fixed) 00h≤datah≤FFh [Description] · The delimiter is used to indicate when to move to the next object in data that is being sent. ·...
Invalid if nh3 is set to a value other than 00h through 02h · This command is a static command. [Example] · When setting the character code set to the Brother standard: ESC i X m 2 01h 00h 00h (1Bh 69h 58h 6Dh 32h 01h 00h 00h)
ESC iXr1 Retrieve print start received character count [ASCII] ESC i X r 1 n1 n2 [Decimal] 27 105 88 114 49 nd1 nd2 [Hexadecimal] 1B 69 58 72 31 nh1 nh2 [Parameters] nh1:00h (Fixed) nh2:00h (Fixed) [Description] · Retrieves the number of characters specified to be received to start printing. ·...
[Example] · When the character code set is set to the Brother standard: If ESC i X m 1 00h 00h (1Bh 69h 58h 6Dh 31h 00h 00h) is sent to the machine, the following is returned from the machine.
ESC iXj1 Retrieve international character set setting [ASCII] ESC i X j 1 n1 n2 [Decimal] 27 105 88 106 49 nd1 nd2 [Hexadecimal] 1B 69 58 6A 31 nh1 nh2 [Parameters] nh1:00h (Fixed) nh2:00h (Fixed) [Description] · Retrieves the international character set setting. ·...
ESC iXR1 Retrieve line return command setting text string [ASCII] ESC i X R 1 n1 n2 [Decimal] 27 105 88 82 49 nd1 nd2 [Hexadecimal] 1B 69 58 52 31 nh1 nh2 [Parameters] nh1:00h (Fixed) nh2:00h (Fixed) [Description] · Retrieves the text string specified for the line return command.
ESC iXC1 Retrieve number of copies [ASCII] ESC i X C 1 n1 n2 [Decimal] 27 105 88 67 49 nd1 nd2 [Hexadecimal] 1B 69 58 43 31 nh1 nh2 [Parameters] nh1:00h (Fixed) nh2:00h (Fixed) [Description] · Retrieves the number of copies specified to be printed. ·...
International character set table Compatible characters in each language when the international character set is switched 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E United States ¦ France à ° ç § é ù è ¨ Germany §...