Page 2
Each owner whose software title is mentioned in this document has a Software License Agreement specific to its proprietary programs. Any trade names and product names of companies appearing on Brother products, related documents and any other materials are all trademarks or registered trademarks of those respective companies.
Page 3
Any updates, upgrades or alteration of the Documentation or Printer 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.
4.5.2 About objects in a template ................26 5. Precautions········································································································· 27 5.1 Notes for using Bluetooth (RJ-4030 only)..............27 5.2 Relationship between the P-touch Editor settings and the printer image ....28 5.3 Making a template in order to save time before starting to print ......29 6.
Page 5
ESC iXF1 Retrieve FNC1 replacement setting........... 90 ESC iXq1 Retrieve print options................. 91 8. ZPL II supported by RJ-4030/4040···································································· 92 Appendix A: Specifications··················································································· 95 Appendix B: Character Code Tables ···································································· 96 Character code tables ....................96 International character set table ..................99 Appendix C: Troubleshooting·············································································...
Page 6
P-touch Template 2.0 Command Reference If a template linked to a database is not printed ............100 Appendix D: Introducing the Brother Developer Center·································· 101 - iii -...
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 RJ-4030/4040, and any problems resulting directly or indirectly from them. Use this material only if you accept these terms.
P-touch Template 2.0 Command Reference What is P-touch Template 2.0? P-touch Template 2.0 helps the user develop a printing system that connects directly from the host and has following functions: transfers the template data from P-touch Editor to the printer (2) transfers the ASCII text and binary data from a host to the template in the printer (3) (“Host”...
P-touch Template 2.0 Command Reference 1. Using P-touch Template 2.0 (1) Specify the printer settings. Using the P-touch Template Settings tool, specify the initial printer settings according to the host system environment or the host that the printer is connected to. (Please refer to “2.
P-touch Template 2.0 Command Reference 2. P-touch Template Settings Tool User’s Guide (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 set setting (9) Prefix character setting...
Page 11
(7) Character code set setting Select one of the following three character code sets. For character code tables, refer to “Appendix B: Character Code Tables”. - Windows1252 - Windows1250 - Brother standard - 5 - 2. P-touch Template Settings Tool User’s Guide...
Page 12
P-touch Template 2.0 Command Reference (8) International character set setting Select one of the following countries for the character set. - USA - France - Germany - Britain - Denmark I - Sweden - Italy - Spain I - Japan - Norway - Denmark II - Spain II...
Page 13
P-touch Template 2.0 Command Reference (12) FNC1 replacement setting This setting selects whether or not GS codes, which are included in barcode protocols such as GS1-128 (UCC/EAN-128), are replaced with FNC1 codes. If the check box is selected, a received GS code is replaced with the FNC1 code. If the check box is cleared, a received GS code is outputted as is.
Page 14
· ini file 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. (RJ-4030) C:\Documents and Settings\(user_account_name)\Application Data\Brother \Printer Settings\pts3137.ini (RJ-4040) C:\Documents and Settings\(user_account_name)\Application Data\Brother \Printer Settings\pts3237.ini...
P-touch Template 2.0 Command Reference 3. Examples for Using Commands 3.1 Example for using P-touch Template 2.0 Here is the label that will be made. The media size is 4 inches x 4 inches Steps 1. Make a template with P-touch Editor. 2.
Page 16
P-touch Template 2.0 Command Reference Step 2: Transfer the template to Transfer Manager. The template sent in step 2 is stored in Transfer Manager, as shown below. Assigned number Stored template Step 3: Transfer the template from Transfer Manager to the printer. Click [Transfer] button.
Page 17
P-touch Template 2.0 Command Reference Note Make sure that the printer is turned on and hooked up to the PC with a USB cable before using Transfer Manager. Also, make sure that the printer communication setting is always bidirectional communication when Transfer Manager is used. When the template is transferred to the printer, the following message appears.
Page 18
P-touch Template 2.0 Command Reference (3) Initialize P-touch Template 2.0 Entered command (4) Print Start Entered command When the printer receives the command above, the label below is printed. - 12 - 3. Examples for Using Commands...
P-touch Template 2.0 Command Reference 3.2 Example for using ZPL II in P-touch Template 2.0 Here is the label that will be made. 812 dots (4 inches) RJ-4030/4040 is 203 dpi. 4 inches becomes 812 dots. 380 dots 220 dots Font is outline font, and size is 100, 100 dots.
Page 20
P-touch Template 2.0 Command Reference Step 2: Set the label length with ^LL. The label length is 812 dots. Entered command ^LL812 Step 3: Set the label width with ^PW. The label width is 812 dots. Entered command ^PW812 Step 4: Send other ZPL II commands. The orientation of the text is 220, 380.
Page 21
P-touch Template 2.0 Command Reference With those commands above, the label below is printed. - 15 - 3. Examples for Using Commands...
P-touch Template 2.0 Command Reference 3.3 Example for using external characters in P-touch Template 2.0 Here is the external character that will be printed. Steps 1. Make a template and transfer it to the printer. 2. Store the external characters as a bitmap file, and drag & drop it to Transfer Manager. 3.
Page 23
P-touch Template 2.0 Command Reference Step 2: Store the external characters as a bitmap file, and drag & drop it to Transfer Manager. Click [Transfer] button. Step 3: Transfer the bitmap file from Transfer Manager to the printer. Assigned number Stored the external character as a bitmap file.
Page 24
P-touch Template 2.0 Command Reference Step 5: With the P-touch Template 2.0 commands, select the assigned number for the bitmap file. After using the P-touch Template Settings tool in Step 4, the remaining three commands must be sent to the printer. (1) Initialize P-touch Template Entered command (2) Select the bitmap file to be printed.
P-touch Template 2.0 Command Reference 4. P-touch Template 2.0 Limitations 4.1 Relating to text objects 4.1.1 Font, size, etc. Please also refer to “5.2 Relationship between the P-touch Editor settings and the printer image” on page 28 Fonts specified in P-touch Editor are converted to Helsinki or Letter Gothic, depending on the font shape, when the data is sent to the printer.
P-touch Template 2.0 Command Reference 4.1.2 Character alignment Horizontal alignment settings (“Justify” or “Equal Length”) specified in P-touch Editor are changed to the left alignment setting. The setting for line feed with a line feed specified with the P-touch Editor can be set between 0 and 255 dots.
P-touch Template 2.0 Command Reference 4.1.3 Text Layout settings Character styles specified in P-touch Editor all become the same style within an object. If the “Long Text” setting is selected under “Text Layout” in P-touch Editor, the vertical alignment setting is normally set for top alignment.
P-touch Template 2.0 Command Reference 4.2 Relating to barcodes 4.2.1 Barcodes When trying to transfer a template containing a barcode that is not compatible with the printer, an error will occur while transferring and the template cannot be transferred to the printer. The following barcodes are compatible with the RJ-XXXX.
P-touch Template 2.0 Command Reference 4.2.2 1D barcodes The ratio setting for 1D barcodes specified in P-touch Editor is invalid. Normally, this is fixed at 3:1. A barcode wider than 22.5 cm will not be printed. A 1D barcode taller than 99 mm is converted to 99 mm. The number of characters that can be entered for each protocol is shown below.
P-touch Template 2.0 Command Reference 4.2.3 2D barcodes The version setting for a QR Code specified in P-touch Editor is invalid. The QR Code version setting must be turned off. The Structured Append settings specified in P-touch Editor are invalid. Since the error correction levels for PDF417 specified in P-touch Editor are inconsistent with those on the printer, the size of the barcode may change when PDF417...
P-touch Template 2.0 Command Reference 4.3 Relating to images If a template containing overlapping images is transferred with P-touch Editor, all image data will be overlapping. (P-touch Editor displays the image created last on top.) 4.4 Relating to Numbering A single template can contain a maximum of 9 valid Numbering objects. Numbering will not be performed for Numbering objects that exceed the maximum of 9.
P-touch Template 2.0 Command Reference 4.5 Others 4.5.1 Transferring templates A maximum of 99 templates can be transferred. The transfer cannot be completed if the amount of data being transferred exceeds 6 MB. A single template can contain a maximum of 1000 objects. If the objects exceed 16 KB, an error will occur and the transfer cannot be completed.
P-touch Template 2.0 Command Reference 5. Precautions 5.1 Notes for using Bluetooth (RJ-4030 only) If the printer is connected using Bluetooth, the printer may not be ready immediately after the port is opened. When sending print data, wait at least 500 msec after the port has been opened before starting to send the data.
P-touch Template 2.0 Command Reference 5.3 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 box, select the Expanded tab, and then select the “Text Cannot Be Edited” check box.
P-touch Template 2.0 Command Reference 7. Control Command Details Select print start trigger ASCII: Decimal: 80 84 nd Hexadecimal: 5E 50 54 nh Parameters 1≤n≤3 Description Selects the type of print start trigger. 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...
P-touch Template 2.0 Command Reference Start printing ASCII: Decimal: 70 70 Hexadecimal: 5E 46 46 Parameters None Description Starts printing. However, the print start trigger must be “when the specified text string is received”. (Refer to “^PT” and “ESC iXT2”.) The text string for the print start command can be changed.
P-touch Template 2.0 Command Reference Specify print start command text string ASCII: data Decimal: 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:...
P-touch Template 2.0 Command Reference Specify print start received character count ASCII: Decimal: 80 67 nd1 nd2 Hexadecimal: 5E 50 43 nh1 nh2 Parameters 0≤n1≤9 0≤n2≤9 0≤n3≤9 Description Specifies the number of characters to be received in order 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.
P-touch Template 2.0 Command Reference Specify delimiter ASCII: data Decimal: 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.
P-touch Template 2.0 Command Reference Select template ASCII: Decimal: 84 83 nd1 nd2 Hexadecimal: 5E 54 53 nh1 nh2 Parameters n1: 0 (Fixed) 0≤n2≤9 0≤n3≤9 Description Specifies the number of the template selected from the printer. (n2*10)+n3: Template number (1 to 99) The default selection number is 1.
P-touch Template 2.0 Command Reference Specify line spacing with line feed ASCII: Decimal: 76 83 nd1 nd2 Hexadecimal: 5E 4C 53 nh1 nh2 Parameters 0≤n1≤2 0≤n2≤9 0≤n3≤9 Description Specifies the number of dots for the line spacing when a line feed 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 feed is entered is the number of dots determined when the template is created in P-touch Editor.
P-touch Template 2.0 Command Reference Change the prefix character ASCII: Decimal: 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.
P-touch Template 2.0 Command Reference Specify line feed command text string ASCII: data Decimal: 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 feed 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).)
P-touch Template 2.0 Command Reference Specify number of copies ASCII: Decimal: 67 78 nd1 nd2 Hexadecimal: 5E 43 4E nh1 nh2 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.
P-touch Template 2.0 Command Reference Specify number of Numbering copies ASCII: Decimal: 78 78 nd1 nd2 Hexadecimal: 5E 4E 4E nh1 nh2 Parameters 0≤n1≤9 0≤n2≤9 0≤n3≤9 Description Specifies the number of copies to be printed with Numbering. (n1*100)+(n2*10)+n3: Number of Numbering copies (bytes) (1 to 999) The default number of copies printed with Numbering is 1.
P-touch Template 2.0 Command Reference Select print options ASCII: Decimal: 81 83 nd Hexadecimal: 5E 51 53 nh Parameters n: 0, 1 Description Selects the print options. n=0: Priority given to print speed n=1: Priority given to print quality The default value for the print options is “0” (priority given to print speed). This command is a dynamic command.
P-touch Template 2.0 Command Reference Specify QR Code version ASCII: Decimal: 81 86 nd1 nd2 Hexadecimal: 5E 51 56 nh1 nh2 Parameters 0≤n1≤9 0≤n2≤9 Description Specifies the QR Code version. (n1*10)+n2: Version number (between 0 and 40) The default QR Code version is 0. This command becomes invalid if a value other than those that can be set (between 0 and 40) has been specified.
P-touch Template 2.0 Command Reference FNC1 replacement setting ASCII: Decimal: 70 67 nd Hexadecimal: 5E 46 43 nh Parameters 0≤n≤1 Description Selects whether or not GS codes, which are included in barcode protocols such as GS1-128 (UCC/EAN-128), are replaced with FNC1 codes. n: FNC1 replacement setting (ON: 1;...
P-touch Template 2.0 Command Reference Initialize ASCII: Decimal: 73 73 Hexadecimal: 5E 49 49 Parameters None Description Reverts all dynamic settings to the printer settings. Print start trigger setting Print start command text string Print start received character count Delimiter Number of selected template Line spacing with line feed Prefix character...
P-touch Template 2.0 Command Reference Perform printer operation (feed) ASCII: Decimal: 79 80 nd Hexadecimal: 5E 4F 50 nh Parameters 1≤n≤2 Description Causes the printer to perform a feed operation. n=1: Feeds 1 inch (for continuous length tape) n=2: Feeds one label length (for die-cut labels) Remarks Invalid if n is a value other than 1 or 2 Example...
Fixed at 20h Brother code Fixed at “B” (42h) Series code Fixed at “7” (35h) Fixed at Model code RJ-4030: “1” (31h) RJ-4040: “2” (32h) Country code Fixed at “0” (30h) Battery level information Refer to table (5) below. Reserved...
Page 57
P-touch Template 2.0 Command Reference (1) Error information 1 Flag Mask Definition Bit 0 “No media” error Bit 1 “End of media” error Bit 2 “Cutter jam” error Bit 3 Not used Bit 4 Printer in use Bit 5 Printer turned off Bit 6 Not used Bit 7...
P-touch Template 2.0 Command Reference (5) Battery level information Flag Mask Meaning Bit 0 Full battery Bit 1 Half battery Bit 2 Low battery Bit 3 Changing required Bit 4 AC adapter in use Retrieve version information ASCII: Decimal: 86 82 Hexadecimal: 5E 56 52 Parameters...
P-touch Template 2.0 Command Reference Line feed in object ASCII: Decimal: 67 82 Hexadecimal: 5E 43 52 Parameters None Description Adds a line feed to the next line in the text object. Valid even if the text string for the line feed command has been changed Example To print three lines: Code: 1 ^ C R 2 ^ C R 3 ^ F F...
P-touch Template 2.0 Command Reference Select object (object number) ASCII: Decimal: 79 83 nd1 nd2 Hexadecimal: 5E 4F 53 nh1 nh2 Parameters 0≤n1≤9 0≤n2≤9 Description Selects an object by its object number. (n1*10)+n2: Object number (1 to 99) Remarks The object number can be set between 1 and 99. This command becomes invalid if any other value has been specified.
P-touch Template 2.0 Command Reference Select object (object name) ASCII: data Decimal: 79 78 datad 00 Hexadecimal: 5E 4F 4E datah 00 Parameters None Description Selects an object by its object name. data: Text string (object name) Remarks The maximum length of text that can be set is 20 characters. If text longer than this has been specified, the command becomes invalid.
P-touch Template 2.0 Command Reference Directly insert object ASCII: data Decimal: 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. (Even if a print command or delimiter is within the specified number of characters, they are treated as data.) (nh2*256)+nh1: Specified number of characters...
P-touch Template 2.0 Command Reference ESC iXT2 Select print start trigger ASCII: Decimal: 105 88 84 50 nd1 nd2 nd3 Hexadecimal: 1B 54 32 nh1 nh2 nh3 Parameters nh1=01h (Fixed) nh2=00h (Fixed) 00h≤nh3≤02h Description Selects the type of print start trigger. nh3=00h: When the specified text string is received (default) nh3=01h: When all objects are filled (Prints with the delimiter at the end of the data.)
P-touch Template 2.0 Command Reference ESC iXP2 Specify print start command text string ASCII: data Decimal: 105 88 80 50 nd1 nd2 datad Hexadecimal: 1B 50 32 nh1 nh2 datah Parameters 01h≤nh1≤14h nh2: 00h (Fixed) 00h≤datah≤FFh Description Specifies the text string for the print start 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...
P-touch Template 2.0 Command Reference ESC iXr2 Specify print start received character count ASCII: ESC i Decimal: 105 88 114 50 nd1 nd2 nd3 nd4 Hexadecimal: 1B 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 in order to start printing.
P-touch Template 2.0 Command Reference ESC iXD2 Specify delimiter ASCII: ESC i data Decimal: 105 88 50 nd1 nd2 datad Hexadecimal: 1B 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.
P-touch Template 2.0 Command Reference ESC iXn2 Select template ASCII: ESC i Decimal: 105 88 110 50 nd1 nd2 nd3 Hexadecimal: 1B 32 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) 01h≤nh3≤63h Description Selects the number of the template selected from the printer. n3: Template number (1 to 99) The default selection number is 1.
P-touch Template 2.0 Command Reference ESC iXf2 Change the prefix character ASCII: ESC i Decimal: 105 88 102 50 nd1 nd2 nd3 Hexadecimal: 1B 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 “^”.
P-touch Template 2.0 Command Reference ESC iXy2 Select printer settings (cut options–specifying number of labels) ASCII: ESC i Decimal: 105 88 121 50 nd1 nd2 nd3 Hexadecimal: 1B 32 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) 01h≤nh3≤63h Description Specifies that the tape will be cut after the specified number of labels.
Invalid if nh3 is set to a value other than 00h through 02h This command is a static command. Example To set the character code set to the Brother standard: ESC i X m 2 01h 00h 00h (1Bh 69h 58h 6Dh 32h 01h 00h 00h) - 68 - 7.
P-touch Template 2.0 Command Reference ESC iXj2 Select international character set ASCII: ESC i Decimal: 105 88 106 50 nd1 nd2 nd3 Hexadecimal: 1B 32 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) 00h≤nh3≤0Dh, 40h Description Selects the character set according to the country selected, and switches some character codes in the code table according to the value for nh3.
P-touch Template 2.0 Command Reference ESC iXR2 Specify line feed command text string ASCII: ESC i data Decimal: 105 88 50 nd1 nd2 datad Hexadecimal: 1B 32 nh1 nh2 datah Parameters 01h≤nh1≤14h nh2: 00h (Fixed) 00h≤datah≤FFh Description Specifies the text string for the line feed 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...
P-touch Template 2.0 Command Reference ESC iXC2 Specify number of copies ASCII: ESC i Decimal: 105 88 50 nd1 nd2 nd3 Hexadecimal: 1B 32 nh1 nh2 nh3 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.
P-touch Template 2.0 Command Reference ESC iXN2 Specify number of Numbering copies ASCII: ESC i Decimal: 105 88 50 nd1 nd2 nd3 Hexadecimal: 1B 32 nh1 nh2 nh3 Parameters nh1: 02h (Fixed) nh2: 00h (Fixed) 00h≤nh3≤FFh 00h≤nh4≤03h Description Specifies the number of copies to be printed with Numbering. nh3+(nh4*256): Number of Numbering copies (bytes) (1 to 999) The default number of copies printed with Numbering is 1.
P-touch Template 2.0 Command Reference ESC iXP1 Retrieve print start command setting text string ASCII: ESC i Decimal: 105 88 49 nd1 nd2 Hexadecimal: 1B 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 printer.
P-touch Template 2.0 Command Reference ESC iXr1 Retrieve print start received character count ASCII: ESC i Decimal: 105 88 114 49 nd1 nd2 Hexadecimal: 1B 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the number of characters specified to be received in order to start printing. 4-byte data is returned from the printer.
P-touch Template 2.0 Command Reference ESC iXD1 Retrieve delimiter ASCII: ESC i Decimal: 105 88 49 nd1 nd2 Hexadecimal: 1B 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 printer. (Varies depending on the length of the text string) [1,2]: nh1 nh2 (number of characters) nh1+(nh2*256) [3 and later]: Text string...
P-touch Template 2.0 Command Reference ESC iXn1 Retrieve number of selected template ASCII: ESC i Decimal: 105 88 110 49 nd1 nd2 Hexadecimal: 1B 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the template number selected from the printer. 3-byte data is returned from the printer.
P-touch Template 2.0 Command Reference ESC iXy1 Retrieve printer settings (cut options–specifying number of labels) ASCII: Decimal: 105 88 121 49 nd1 nd2 Hexadecimal: 1B 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the setting for cutting after a specified number of labels. 3-byte data is returned from the printer.
03h: ZPL II Emulation The retrieved value is a value specified by a static command. Example When the character code set is the Brother standard: Code: ESC i X m 1 00h 00h (1Bh 69h 58h 6Dh 31h 00h 00h)
P-touch Template 2.0 Command Reference ESC iXj1 Retrieve international character set setting ASCII: ESC i Decimal: 105 88 106 49 nd1 nd2 Hexadecimal: 1B 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the international character set setting. 3-byte data is returned from the printer.
P-touch Template 2.0 Command Reference ESC iXR1 Retrieve line feed command setting text string ASCII: ESC i Decimal: 105 88 49 nd1 nd2 Hexadecimal: 1B 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the text string specified for the line feed command. 2- to 22-byte data is returned from the printer.
P-touch Template 2.0 Command Reference ESC iXC1 Retrieve number of copies setting ASCII: ESC I Decimal: 105 88 49 nd1 nd2 Hexadecimal: 1B 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 printer.
P-touch Template 2.0 Command Reference ESC iXN1 Retrieve number of Numbering copies setting ASCII: ESC i Decimal: 105 88 49 nd1 nd2 Hexadecimal: 1B 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the number of copies specified to be printed with Numbering. 4-byte data is returned from the printer.
P-touch Template 2.0 Command Reference 8. ZPL II supported by RJ-4030/4040 ZPL II Description Select font Interleaved 2 of 5 Code39 PDF417 EAN-8 UPC-E Code93 Code128 MaxiCode EAN-13 MicroPDF417 ANSI CodaBar QR Code UPC-EAN Extension UPC-A DataMatrix Bar setting for barcodes...
Page 99
Store image files Cancel format Initialize memory Clear format holding ~JP Initialize when printer turned on Printer setting Select print setting after error occurs Set language Set home position of label - 93 - 8. ZPL II supported by RJ-4030/4040...
Page 100
Print printer settings Print list of stored files Command required at beginning of format Recall format stored with ^DF Recall format stored with ^DG or ^DG Command required at end of format - 94 - 8. ZPL II supported by RJ-4030/4040...
P-touch Template 2.0 Command Reference Appendix B: Character Code Tables Character code tables (1) Windows1252 (Western Europe) € ° À Ð à ð ‘ ¡ ± Á Ñ á ñ ” ’ ¢ ² Â Ò â ò ƒ “ £...
Page 103
P-touch Template 2.0 Command Reference (2) Windows1250 (Eastern Europe) € tˇ ° Ŕ Đ ŕ đ À ‘ ˇ ± Á Ń á ń " ’ ˘ ˛ Â Ň â ň ˇ “ Ł ł Ă Ó ă ó „...
Page 104
P-touch Template 2.0 Command Reference (3) Brother standard Ç É á ░ └ α ü æ í ▒ ┴ β ± ” é Æ ó ▓ ┬ â ô ú │ ├ ¾ ä ö ñ ┤ ─ à ò...
P-touch Template 2.0 Command Reference International character set table Corresponding characters that switch in each language when the international character set is changed 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E United States (U.S.A) ¦ ˜ France à...
P-touch Template 2.0 Command Reference Appendix C: Troubleshooting If printing does not begin (main most frequent cause) (1) The communication settings are incorrect. (2) The command mode is not in the P-touch Template mode. (3) The conditions for the print start trigger are not met. The following three types of print start triggers exists, but the current selection is incorrect.
Page 107
P-touch Template 2.0 Command Reference Appendix D: Introducing the Brother Developer Center Useful information for developers, such as applications, tools, SDKs as well as FAQs, are provided in the Brother Developer Center. http://www.brother.com/product/dev/index.htm - 101 - Appendix D: Introducing the Brother Developer Center...