©Copyright 2011 BROTHER INDUSTRIES, LTD. P-touch Template Manual Model Name: MW-145BT/MW-260/PJ-623/PJ-663 Created by: Brother Industries, Ltd.
Machine Model: MW-145BT/MW-260/PJ-623/PJ-663 IMPORTANT - PLEASE READ CAREFULLY This documentation (“Documentation”) gives you information that will assist you in controlling your Machine Model. You may use the Documentation only if you first agree to the following conditions. If you do not agree to the following conditions, you may not use the Documentation. Condition of Use You may use and reproduce the Documentation to the extent necessary for your own use of your Machine Model (“Purpose”).
Contents Introduction 4 What is P-touch Template? 4 How to use P-touch Template 5 P-touch Template Settings Tool User’s Guide 6 P-touch Template Limitations 11 Precautions 19 Appendix: Specifications 22 3
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.
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.) H The printer driver must first be installed via a USB connection. *Printer image in the screen may differ depending on your product model. 2.
P-touch Template Settings Tool User’s Guide *Printer image in the screen may differ depending on your product model.
(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. (3) Delimiter setting A delimiter is the symbol used to indicate when to move to the next object in the data that is being sent.
(7) Character code set setting 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.
(10) Non-printed character setting The characters specified here are not printed when data is received. Specify 1 to 20 characters. (11) Line return character setting The line return code is used when feeding data to indicate that the following data should be moved to the next line in a text object. One of the following four line return codes can be selected, or 1 to 20 characters can be specified as the line return code. 1. ^CR 2. \0D\0A 3. \0A 4.
· 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.
P-touch Template Limitations ■ Relating to text objects (Please also refer to Relationship between the P-touch Editor setting and the printer H 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; serif: Brussels; sans serif: Helsinki.
“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. · The setting for line spacing with a line return specified with the P-touch Editor can be set between 0 and 255 dots.
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. 100” will be printed when printing with the printer. · Character styles specified in P-touch Editor are all made the same style within an object.
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. 2. Clip Text: The text object size is fixed, and the text size is fixed. If the text is too long, the text is not printed. 3. Long Text: The text object width is fixed, and the text size is fixed. If the text is too long, the text object height is increased.
■ 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. The following bar codes are compatible with the printer.
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. If the data that is fed does not meet the minimum limit, the bar code is not printed. If the data exceeds the maximum limit, only the data to the maximum limit is applied. However, if the data exceeds 64 characters, the bar code is not printed.
■ 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.
· 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”. · After printing from P-touch Editor, the command mode changes to ESC/P mode or raster mode (only raster mode for MW-145BT/MW-260).
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. ESC i X n 2 01h 00h 0Ah (1Bh 69h 58h 6Eh 32h 01h 00h 0Ah) 3) Dynamically enter the P-touch Template mode.
Relationship between the P-touch Editor setting and the printer image Printer image P-touch Editor setting Text Option (Text Layout) Width Height Text DetailsWrap Text Frame Size Frame Size Layout Options Text Size Clip Text Fix Fix If the text is too If the text is too Fix Fixed long, the overflow long, the overflow Frame text is not printed. text is not printed.
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] – [Options] – [General], and check [Display Expanded Tabs of Object Properties] in the [Others] box. ● Specify the Text Options (Text Layout) settings so that the text size is fixed.
Appendix: Specifications BROTHER MW-145BT/MW-260/PJ-623/PJ-663 P-touch Template specifications Printing method [MW-145BT/MW-260] [PJ-623/PJ-663] Raster printing (PTCBP mode) Raster printing (PTCBP mode) ESC/P printing ESC/P printing P-touch Template printing P-touch Template printing Maintenance printing Resolution (dpi) 300 dpi × 300 dpi Printing Text Bitmap fonts: Helsinki, Brussels, Letter Gothic Bold Font Size (dots) Character style Horizontal alignment Rotate Bar code Protocols *1 Width Outline
©Copyright 2006-2011 BROTHER INDUSTRIES, LTD. P-touch Template command reference Version 4.0.
End-User License Agreement for Brother Software IMPORTANT-PLEASE READ CAREFULLY: This Software License Agreement (“Agreement”) is a legal agreement between Brother Industries, Ltd.
b. In connection with User’s application software having function to print with MPrinters (“UASoftware”), to use the Software only for the internal purpose of design, engineering, development, test and evaluation of printing function of such UASoftware. c.
At Brother’s absolute discretion, this Agreement may apply to any updates or additions to the Software as provided from Brother: provided that any additional terms may apply to such updates or additions. 4. Transfer. You may not sell, assign, rent, lease or otherwise transfer the Software to any person. 5. Reverse Engineering.
(b) For UASoftware. User shall at its sole costs and expense provide end users any and all support services relating to UASoftware (including any Redistributable Modules incorporated therein). Brother shall not have any obligation to provide end users support services relating to any UASoftware nor any Redistributable Modules incorporated therein. 10. NO WARRANTY.
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 ...............................................
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............................................................................
Control Code List Commands that can be set or obtained in P-touch Template mode ^PT 5E 50 54 Select print start trigger Dynamic ^PS 5E 50 53 Specify print start command text string Dynamic ^PC 5E 50 43 Specify print start received character count Dynamic ^SS 5E 53 53 Specify delimiter Dynamic ^TS 5E 54 53 Select template Dynamic ^LS 5E 4C 53 Specify line spacing with line return Dynamic Change prefix character ^CC 5E 43 43 Dynamic ^RC 5E 52 43 Specify line return command text string Dynamic ^CN 5E 43 4E Spe
Commands that can be set or obtained in raster mode ESC iXT2 1B 69 58 54 32 Static Select print start trigger ESC iXP2 1B 69 58 50 32 Static Specify print start command text string ESC iXr2 1B 69 58 72 32 Static Specify print start received character count ESC iXD2 1B 69 58 44 32 Static Specify delimiter ESC iXa2 1B 69 58 61 32 Static Specify Non-Printed character text strings ESC iXi2 1B 69 58 69 32 Static Specify command mode ESC iXn2 1B 69 58 6E 32 Static Select template ESC iXf2 1B 69 58 66 32 Static Ch
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 ^PT Specify print start trigger selection [ASCII] ^PTn [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 (not including delimiters) · This command is a dynamic command.
^PS 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: Text string (The maximum number of characters that can be set is 20 characters (bytes).) · The default text string for the print start command is “^FF”.
^PC 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) · The default print start received character count is 10. · This command is a dynamic command.
^SS 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. · Specifies the text string for the delimiter. (n1*10)+n2: Length of the text string (between 1 and 20) data: Text string (The maximum number of characters that can be set is 20 characters (bytes).
^TS 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) · The default selection number is 1. · This command is a dynamic command. [Remarks] · The template numbers that can be set are between 1 and 99.
^LS 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) · The default number of dots for the line spacing when a line return is entered is the number of dots determined when the template is created in P-touch Editor.
^CC Change the prefix character [ASCII] ^CCn [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 “^”. · This command is a dynamic command. [Example] · To change the prefix character from “^” to “_”, send the command shown below.
^RC 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).) · The default text string for the line return command is “^CR”.
^CN 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) · The default number of copies is 1. · This command is a dynamic command.
^II Initialize [ASCII] ^II [Decimal] 94 73 73 [Hexadecimal] 5E 49 49 [Parameters] None [Description] · Reverts all dynamic settings to the machine settings. 1) Print start trigger selections 2) Print start command text strings 3) Print start received character count 4) Delimiter 5) Template selection number 6) Prefix character 7) The text string for the line return command.
^S R Status request [ASCII] ^SR [Decimal] 94 83 82 [Hexadecimal] 5E 53 52 [Parameters] None [Description] · The printer status is returned. The printer status consists of 32 bytes.
Error information 1 Flag Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Mask 0x01 0x02 0x04 0x08 0x10 0x20 0x40 0x80 Definition "No media” error “End of media” error “Jam” error Battery empty Machine in use Not used High-voltage adapter Not used Error information 2 Flag Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Mask 0x01 0x02 0x04 0x08 0x10 0x20 0x40 0x80 Definition “Replace the media.” error “Expansion buffer is full.
Media type (MW-145BT) Media type None 00 Hex Regular thermal paper1 Spare1 With adhesive Spare2 Copy paper1 Spare3 Wrong paper cassette orientation 01 Hex 02 Hex 03 Hex 09 Hex 08Hex 0A Hex 0F Hex Value Remarks No media Value Remarks Media length (lower order bytes) Media length None 00 Hex MW-260 94 Hex MW-145BT 69 Hex No media Status type Status type Reply to status request Printing completed Error occurred Turned off Notification Phase change Value 00 Hex 01 Hex 02 Hex 04 Hex 05 Hex 06 Hex
^V R Retrieve version Information [ASCII] ^VR [Decimal] 94 86 82 [Hexadecimal] 5E 56 52 [Parameters] None [Description] · Retrieves the version information for the machine as a 16-character text string. ^CR Line return in object [ASCII] ^CR [Decimal] 94 67 82 [Hexadecimal] 5E 43 52 [Parameters] None [Description] · Adds a return to the next line in the text object.
^OS Specify object selection (object number) [ASCII] ^ O S n1 n2 [Decimal] 94 79 83 nd1 nd2 [Hexadecimal] 5E 4F 53 nh1 nh2 [Parameters] 0≤n1≤5 0≤n2≤9 [Description] · Selects an object by its object number. (n1*10)+n2: Object number (1 to 50) [Remarks] · The object number can be set between 1 and 50. This is invalid when an attempt is made to specify a value other than these. · Use this command to insert data from an intermediary object.
^DI 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. (If even a print command or delimiter is within the specified number of characters, they are treated as data.
ESC iXT2 Specify print start trigger selection [ASCII] ESC i X T 2 n1 n2 n3 [Decimal] 27 105 88 84 50 nd1 nd2 nd3 [Hexadecimal] 1B 69 58 54 32 nh1 nh2 nh3 [Parameters] nh1 = 01h (Fixed) nh2 = 00h (Fixed) 00h≤nh3≤02h [Description] · Selects the print start trigger type.
[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. Therefore, the command will be as follows.
ESC iXr2 Specify print start received character count [ASCII] ESC i X r 2 n1 n2 n3 n4 [Decimal] 27 105 88 114 50 nd1 nd2 nd3 nd4 [Hexadecimal] 1B 69 58 72 32 nh1 nh2 nh3 nh4 [Parameters] nh1:02h (Fixed) nh2:00h (Fixed) 00h≤nh3≤FFh 00h≤nh4≤03h [Description] · Specifies the number of characters to be received to start printing. nh3+(nh4*256): Print start received character count (bytes) (1 to 999) · The default print start received character count is 10. · This command is a static command.
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. · Specifies the text string for the delimiter.
ESC iXa2 Specify Non-Printed character text strings [ASCII] ESC i X a 2 n1 n2 n3 data [Decimal] 27 105 88 97 50 nd1 nd2 nd3 datad [Hexadecimal] 1B 69 58 61 32 nh1 nh2 nh3 datah [Parameters] 01h≤nh1≤15h nh2:00h (Fixed) nh3:01h (Fixed) 00h≤datah≤FFh [Description] · Specifies the Non-Printed character text string. nh1+(nh2*256): Length of the text string (0 to 20) + 1 data: Text string (The maximum number of characters that can be set is 20 characters (bytes).) · This command is a static command.
ESC iXi2 Specify command mode [ASCII] ESC i X i 2 n1 n2 n3 [Decimal] 27 105 88 105 50 nd1 nd2 nd3 [Hexadecimal] 1B 69 58 69 32 nh1 nh2 nh3 [Parameters] nh1:01h (Fixed) nh2:00h (Fixed) nh3:00h 01h 03h [Description] · Switches the mode. nh3=00h: ESC/P mode (default) nh3=01h: Raster mode nh3=03h: P-touch Template mode · This command is a static command.
ESC iXn2 Specify template selection [ASCII] ESC i X n 2 n1 n2 n3 [Decimal] 27 105 88 110 50 nd1 nd2 nd3 [Hexadecimal] 1B 69 58 6E 32 nh1 nh2 nh3 [Parameters] nh1:01h (Fixed) nh2:00h (Fixed) 01h≤nh3≤63h [Description] · Specify the template selected from the machine as a number. n3: Template number (1 to 99) · The default selection number is 1. · This command is a static command. [Remarks] · The template numbers that can be set are between 1 and 99.
ESC iXf2 Change the prefix character [ASCII] ESC i X f 2 n1 n2 n3 [Decimal] 27 105 88 102 50 nd1 nd2 nd3 [Hexadecimal] 1B 69 58 66 32 nh1 nh2 nh3 [Parameters] nh1:01h (Fixed) nh2:00h (Fixed) 00h≤nh3≤FFh [Description] · Changes the prefix character code. n3: Character code · The default text string for the prefix character is “^”. · This command is a static command.
ESC iXm2 Select character code set [ASCII] ESC i X m 2 n1 n2 n3 [Decimal] 27 105 88 109 50 nd1 nd2 nd3 [Hexadecimal] 1B 69 58 6D 32 nh1 nh2 nh3 [Parameters] nh1:01h (Fixed) nh2:00h (Fixed) nh3:00h 01h 02h [Description] · Selects the character code set. (For details on the character code sets, refer to the character code tables.
ESC iXj2 Specify international character set [ASCII] ESC i X j 2 n1 n2 n3 [Decimal] 27 105 88 106 50 nd1 nd2 nd3 [Hexadecimal] 1B 69 58 6A 32 nh1 nh2 nh3 [Parameters] nh1:01h (Fixed) nh2:00h (Fixed) 00h≤nh3≤0Dh, 40h [Description] · Selects the character set for the country, and switches some character codes of the code table with the value for nh3.
ESC iXR2 Specify line return command text string [ASCII] ESC i X R 2 n1 n2 data [Decimal] 27 105 88 82 50 nd1 nd2 datad [Hexadecimal] 1B 69 58 52 32 nh1 nh2 datah [Parameters] 01h≤nh1≤14h nh2:00h (Fixed) 00h≤datah≤FFh [Description] · Specifies the text string for the line return command. nh1+(nh2*256): 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).
ESC iXC2 Specify number of copies [ASCII] ESC i X C 2 n1 n2 n3 n4 [Decimal] 27 105 88 67 50 nd1 nd2 nd3 nd4 [Hexadecimal] 1B 69 58 43 32 nh1 nh2 nh3 nh4 [Parameters] nh1:02h (Fixed) nh2:00h (Fixed) 00h≤nh3≤FFh 00h≤nh4≤03h [Description] · Specifies the number of copies to be printed. nh3+(nh4*256): Number of copies (bytes) (1 to 999) · The default number of copies is 1. · This command is a static command.
ESC iXT1 Retrieve select print start trigger items [ASCII] ESC i X T 1 n1 n2 [Decimal] 27 105 88 84 49 nd1 nd2 [Hexadecimal] 1B 69 58 54 31 nh1 nh2 [Parameters] nh1 = 00h (Fixed) nh2 = 00h (Fixed) [Description] · The print start trigger is returned as 3-byte data.
ESC iXP1 Retrieve print start command setting text string [ASCII] ESC i X P 1 n1 n2 [Decimal] 27 105 88 80 49 nd1 nd2 [Hexadecimal] 1B 69 58 50 31 nh1 nh2 [Parameters] nh1:00h (Fixed) nh2:00h (Fixed) [Description] · Retrieves the text string specified for the print start command. · 3- to 22-byte data is returned from the machine.
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. · 4-byte data is returned from the machine.
ESC iXD1 Retrieve delimiter [ASCII] ESC i X D 1 n1 n2 [Decimal] 27 105 88 68 49 nd1 nd2 [Hexadecimal] 1B 69 58 44 31 nh1 nh2 [Parameters] nh1:00h (Fixed) nh2:00h (Fixed) [Description] · Retrieves the text string specified for the delimiter. · 3- to 22-byte data is returned from the machine. (Varies depending on the length of the text string) [1,2]: nh1 nh2 (number of characters) nh1 + (nh2*256) [3 and later]: Text string · The retrieved value is a value specified by a static command.
ESC iXa1 Retrieve Non-Printed character text strings [ASCII] ESC i X a 1 n1 n2 n3 [Decimal] 27 105 88 97 49 nd1 nd2 nd3 [Hexadecimal] 1B 69 58 61 31 nh1 nh2 nh3 [Parameters] nh1:01h (Fixed) nh2:00h (Fixed) nh3:01h (Fixed) [Description] · Retrieves the specified Non-Printed character text string. · 2- to 22-byte data is returned from the machine.
ESC iXi1 Retrieve command mode setting [ASCII] ESC i X i 1 n1 n2 [Decimal] 27 105 88 105 49 nd1 nd2 [Hexadecimal] 1B 69 58 69 31 nh1 nh2 [Parameters] nh1:00h (Fixed) nh2:00h (Fixed) [Description] · Retrieves the setting for the command mode. · 3-byte data is returned from the machine. [1]:01h (Fixed) [2]:00h (Fixed) [3]: Setting 00h: ESC/P mode 01h: Raster mode 03h: P-touch Template mode · The retrieved value is a value specified by a static command.
ESC iXn1 Retrieve template selection number [ASCII] ESC i X n 1 n1 n2 [Decimal] 27 105 88 110 49 nd1 nd2 [Hexadecimal] 1B 69 58 6E 31 nh1 nh2 [Parameters] nh1:00h (Fixed) nh2:00h (Fixed) [Description] · Retrieves the template number selected from the machine. · 3-byte data is returned from the machine. [1]:01h (Fixed) [2]:00h (Fixed) [3]: Setting · The retrieved value is a value specified by a static command.
ESC iXm1 Retrieve character code set [ASCII] ESC i X m 1 n1 n2 [Decimal] 27 105 88 109 49 nd1 nd2 [Hexadecimal] 1B 69 58 6D 31 nh1 nh2 [Parameters] nh1:00h (Fixed) nh2:00h (Fixed) [Description] · Retrieves the specified character code set. (For details on the character code sets, refer to the character code tables.) · 3-byte data 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. · 3-byte data is returned from the machine.
ESC iXf1 Retrieve the prefix character [ASCII] ESC i X f 1 n1 n2 [Decimal] 27 105 88 102 49 nd1 nd2 [Hexadecimal] 1B 69 58 66 31 nh1 nh2 [Parameters] nh1:00h (Fixed) nh2:00h (Fixed) [Description] · Retrieves the prefix character code. · 3-byte data is returned from the machine. [1]:01h (Fixed) [2]:00h (Fixed) [3]: Specified character · The retrieved value is a value specified by a static command.
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. · 2- to 22-byte data is returned from the machine.
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. · 4-byte data is returned from the machine. [1]: 02h (Fixed) [2]: 00h (Fixed) [3, 4]: nh3 nh4 Settings nh3+(nh4*256): Copy number of sheets. · The retrieved value is a value specified by a static command.
Character code Character code table Windows1252 (Western Europe) 0 1 2 3 4 5 6 7 8 B C D E F 0 SP 0 @ P ` p € ° À Ð à ð 1 ! 1 A Q a q ~ ‘ ¡ ± Á Ñ á ñ 2 ” 2 B R b r , ’ ¢ ² Â Ò â ò 3 # 3 C S c s ƒ “ £ ³ Ã Ó ã ó 4 $ 4 D T d t „ ” ¤ ´ Ä Ô ä ô 5 % 5 E U e u … • ¥ µ Å Õ å õ 6 & 6 F V f v † - | ¶ Æ Ö æ ö 7 ’ 7 G W g w ‡ § · Ç × ç ÷ 8 ( 8 H X h x ^ ˜ ¨ ¸ È Ø è ø 9 ) 9
Character code table Windows1250 (Eastern Europe) 0 1 2 3 4 5 6 7 8 9 0 SP 0 @ P ` p € tˇ 1 ! 1 A Q a q À ‘ 2 " 2 B R b r , 3 # 3 C S c s 4 $ 4 D T d 5 % 5 E U 6 & 6 F 7 ’ 7 8 ( 9 A B C D E F ° Ŕ Đ ŕ đ ˇ ± Á Ń á ń ’ ˘ ˛ Â Ň â ň Ľ “ Ł ł Ă Ó ă ó t „ ” ¤ ´ Ä Ô ä ô e u … • Ą µ Ĺ Ő í ő V f v † – | ¶ Ć Ö ć ö G W g w ‡ — § · Ç × ç ÷ 8 H X h x ľ ¨ ¸ Č Ř č ř ) 9 I Y
Character code table Brother standard 0 1 2 3 4 5 6 7 8 9 A B C D E 0 SP 0 @ P ` p Ç É á ░ └ α 1 ! 1 A Q a q ü æ í ▒ ┴ ß 2 ” 2 B R b r é Æ ó ▓ ┬ 3 # 3 C S c s â ô ú │ ├ 4 $ 4 D T d t ä ö ñ ┤ ─ 5 % 5 E U e u à ò Ñ 6 & 6 F V f v å û a ¯ 7 ’ 7 G W g w ç ù o ¯ 8 ( 8 H X h x ê ÿ ¿ © ╚ 9 ) 9 I Y i y ë Ö ® ╣ ╔ ┘ A * : J Z j z è Ü € ║ ╨ ┌ Ω B + ; K [ k { ï ¢ ½ ╗
International character set table Compatible characters in each language when the international character set is switched n 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 0 United States # $ @ [ \ ] ^ ` { ¦ } ~ ^ ` # $ ° ç § é ù è ¨ à 1 France ^ ` # $ Ä Ö Ü ä ö ü ß § 2 Germany } $ @ [ \ ] ^ ` { ~ £ ¦ 3 Britain # $ @ Æ Ø Å ^ ` ~ æ ø å 4 Denmark I # é ä ö å ü ¤ É Ä Ö Å Ü 5 Sweden \ ^ # $ @ ° é ù à ò è ì 6 Italy } ^ ` ~ Pt $ @ ¡ Ñ ¿ ¨ ñ 7 Spain I { } # $ @ [ ] ^ ` ~ ¥ ¦ 8 Japan # é æ ø å ü ¤ É Æ Ø Å Ü 9 Norway # $ É Æ Ø