Software Developer's Manual P-touch Template 2.0 Command Reference RJ-4230B/4250WB RJ-3230B/3250WB RJ-2030/2050/2140/2150 TD-4410D/4420DN/4510D/4520DN/4550DNWB/4210D TD-2020/2120N/2130N TD-2020A/2030A/2125N/2125NWB/2135N/2135NWB Version 3.
The Brother logo is a registered trademark of Brother Industries, Ltd. Brother is a registered trademark of Brother Industries, Ltd. © 2022 Brother Industries, Ltd. All rights reserved. The Bluetooth word mark and logos are owned by the Bluetooth SIG, Inc. and, any use of such marks by Brother Industries, Ltd. is under license.
IMPORTANT - PLEASE READ CAREFULLY Note This documentation (“Documentation”) gives you information that will assist you in controlling your Printer (Please refer to “Appendix A: Supported Printers”). 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 Printer Model (“Purpose”).
P-touch Template 2.0 Command Reference Contents Introduction ······························································································· 1 What is P-touch Template 2.0? ···································································· 2 1. Using P-touch Template 2.0 ····································································· 3 2. P-touch Template Settings Tool User’s Guide ··········································· 4 3.
P-touch Template 2.0 Command Reference ^PS ^PC ^SS ^CO ^LS ^CC ^RC ^QS ^QV ^FC ^OP ^SR ^VR ^CR ^OS ^ON ^DI Specify print start command text string............................................... 43 Specify print start received character count........................................ 44 Specify delimiter.................................................................................. 45 Select cut options................................................................................
P-touch Template 2.0 Command Reference ESC iXh1 Retrieve rotated print setting ............................................................. 102 ESC iX^2 Specify print stop position ................................................................. 103 ESC iX^1 Retrieve print stop position ................................................................... 104 ESC iXv2 (08h) Specify Network Raw port bi-directional communication ............
P-touch Template 2.0 Command Reference If printing does not begin (main most frequent cause).................................................. 149 If a template linked to a database is not printed ........................................................... 149 The barcode is not printed (common main cause)........................................................
P-touch Template 2.0 Command Reference Introduction This material provides the necessary information for directly controlling the templates transferred to your printer. 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. Read the model names that appear in the screens in this manual as the name of your printer.
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” includes medias such as barcode readers, smartphones or mobile terminals.) Prints the transferred data (3) (See the figure shown below.) 1.
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 Settings Tool User’s Guide”.) The printer driver must first be installed via a USB connection. (2) Design the template. Using P-touch Editor, design the template to be transferred to the printer.
P-touch Template 2.0 Command Reference 2.
P-touch Template 2.0 Command Reference (1) Command mode setting - P-touch Template mode To use P-touch Template 2.0, select the P-touch Template mode. (2) Template number setting Specify the template number selected as the default when the printer is turned on. However, if any template has been set to not be transferred to the printer, the number of that template cannot be specified.
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 - Latin America - South Korea - Legal The following 12 codes are switched depending on the country selected from those listed above.
P-touch Template 2.0 Command Reference (12) FNC1 replacement setting This setting selects if 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. (13) Number of copies setting Specify the number of copies. A number between 1 and 99 can be specified.
P-touch Template 2.0 Command Reference (18) Serial communication settings Baud rate Please refer to “Appendix B: Specifications” Bit length (bit) 8 bit, 7 bit Parity None, Odd, Even Busy control DTR, XON/XOFF Closes the Communication Settings dialog box. Returns the four parameters to their default settings. Applies the four settings to the printer. -8- 2.
P-touch Template 2.0 Command Reference Others · Typing text into text boxes (3), (5), (9), (10) and (11) 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 Line feed control code \0D \ \\ -9- 2.
P-touch Template 2.0 Command Reference 3. Examples for Using Commands In this chapter, the following settings are described as defaults. 3.1 Example for using P-touch Template 2.0 Target label is following. - 10 - 3.
P-touch Template 2.0 Command Reference Steps 1. Make a template with P-touch Editor. 2. Transfer the template to Transfer Manager. 3. Transfer the template from Transfer Manager to the printer. 4. Use P-touch Template 2.0 commands for printing. Step 1: Make a template with P-touch Editor. Start the P-touch Editor and make a label. In this example, P-touch Editor operates in Professional mode. Text1, Text2, … are added in the order in which the objects were created.
P-touch Template 2.0 Command Reference The template sent in step 2 is stored in Transfer Manager, as shown below. In this example, it is assumed that another template has already been transferred with key assignment number 1, and the key assignment number is 2. Stored template Assigned number Step 3: Transfer the template from Transfer Manager to the printer. Click [Transfer] button. - 12 - 3.
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 bi-directional communication when Transfer Manager is used. When the template is transferred to the printer, the following message appears. - 13 - 3.
P-touch Template 2.0 Command Reference Step 4: Use P-touch Template 2.0 commands for printing. (1) Initialize P-touch Template 2.0 Send "Initialize" command to restore the default settings. Entered command ^II (2) Select template number Select target template number using “Select template” command. In this example, please select number 2 selected in Step2. Entered command ^TS002 (3) Creating text data to insert Insert text data to print. Entered command Order of the data is followings. 1.
P-touch Template 2.0 Command Reference When the printer receives the command above, the label below is printed. - 15 - 3.
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. 406 dots (2 inches) Example: A case 203dpi printer is used 290 dots 80 dots Font is outline font, and size is 50, 50 dots. 609 dots (3 inches) Steps 1. Change the mode to P-touch Template mode. 2. Set the label length with ^LL. 3. Set the label width with ^PW. 4. Send other ZPL II command. Step 1: Change the mode to P-touch Template mode.
P-touch Template 2.0 Command Reference Step 2: Set the label length with ^LL. The label length is 609 dots. Entered command ^LL609 Step 3: Set the label width with ^PW. The label width is 406 dots. Entered command ^PW406 Step 4: Send other ZPL II commands. The orientation of the text is 80, 290. The font is outline font and size is 50, 50. The text is “At your side.
P-touch Template 2.0 Command Reference With those commands above, the label below is printed. - 18 - 3.
P-touch Template 2.0 Command Reference 3.3 Example for printing logo/external characters in P-touch Template 2.0 Here is the label to be printed. Steps 1. Make a template and transfer it to the printer. 2. Store the logo/external characters as a bitmap file. 3. Transfer the bitmap file from Transfer Manager to the printer. 4. Use P-touch Template commands for printing. Step 1: Make a template and transfer it to the printer. Assigned number Stored template Click[Transfer] button. - 19 - 3.
P-touch Template 2.0 Command Reference Step 2: Store the logo/external characters as a bitmap file. The file name should be started from “_ext_”,, and drag & drop it to Transfer Manager. Example file name is “_ext_logo.bmp” Step 3: Transfer the bitmap file from Transfer Manager to the printer. Assigned number Click[Transfer] button. Step 4: Use P-touch Template commands for printing. (1) Initialize P-touch Template Entered command ^II (2) Select the bitmap file to be printed.
P-touch Template 2.0 Command Reference (3) Start printing. Entered command ^FF When the printer receives the command above, the label below is printed. - 21 - 3.
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.3 Relationship between the P-touch Editor settings and the printer image” on page 32 When a template is transferred to a printer, a font specified in P-touch Editor is changed to most similar resident font in the printer. Character sizes specified in P-touch Editor are converted to the closest built-in character size 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. A negative line spacing setting cannot be used in P-touch Editor.
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” is selected under “Text Layout” in P-touch Editor, the text is always aligned at top left. If the “Long Text” setting is selected under “Text Layout” in P-touch Editor and continuous length tape is used, the print length is increased to fit the text.
P-touch Template 2.0 Command Reference It is possible to decorate specific text by surrounding text data with decoration tags. The specification of the tag is as follows. Type Decoration tag* Start tag End tag Bold Underline *These are default values. Ex) When the text ”AAABBBCCC” is inserted to a text object: Output: AAABBBCCC Decoration tags are required for each line.
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 printer.
P-touch Template 2.0 Command Reference 4.2.2 1D barcodes A barcode wider than 22.5 cm will not be printed. A 1D barcode taller than 1164 dots is converted to 1164dots. The number of characters that can be entered for each protocol is shown below. CODE39 ITF I-2/5 1 to 50 characters (not including “*” on both sides) When feeding data, the asterisks (*) at the beginning and end of the data are skipped. 1 to 64 characters The bearer bar setting specified in P-touch Editor is invalid.
P-touch Template 2.0 Command Reference 4.2.3 2D barcodes Margin setting in the P-touch Editor is ignored. It is only changed by Barcode margin setting command (ESC iXE2). Other limitations are as follows. QR Code The version setting for a QR Code specified in P-touch Editor is invalid. The version setting must be turned off. The Structured Append settings specified in P-touch Editor are invalid.
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 object contains a single Numbering field. A Numbering field can contain a maximum of 15 digits. Only Numbering fields will be saved in Numbering objects when printing is finished.
P-touch Template 2.0 Command Reference 4.6 Others 4.6.1 Transferring templates A maximum of 255 templates can be transferred. The transfer cannot be completed if the amount of data being transferred exceeds user area of the flash memory. A single template can contain a maximum of 255 objects. 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.
P-touch Template 2.0 Command Reference 5. Precautions 5.1 Notes on using static commands Some static commands are only executed in raster mode. When using these static commands, change the command mode to raster mode before sending the command. (1) Switch to raster mode. ESC i a 01h (1Bh 69h 61h 01h) (2) Send static commands. (3) Switch to P-touch Template mode. ESC i a 03h (1Bh 69h 61h 03h) *Please refer to 6.3 Raster commands. 5.
P-touch Template 2.0 Command Reference 5.3 Relationship between the P-touch Editor settings and the printer image P-touch Editor setting Text options (Text Layout settings) Text Layout DetailsOptions Printer image Width Wrap Text Clip Text Fixed Frame Size Fixed Frame Size (Wrap) Long Text Frame Size Text Size Fixed If the text is too long, the overflow text is not printed. Printed image Height Frame Size Text Size Fixed Fixed If the text is too long, the overflow text is not printed.
P-touch Template 2.0 Command Reference 5.4 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. - If the Expanded tab of the Text Properties dialog box is not displayed, click [Options] on the Tools menu, and then select the “Display Expanded Tabs of Object Properties” check box on the General tab.
P-touch Template 2.0 Command Reference 6. Control Command Lists 6.
P-touch Template 2.0 Command Reference 6.
P-touch Template 2.0 Command Reference 6.3 Setting and retrieving commands (Raster mode) Commands Description ESC iOUe Specify decoration tag string Note Note * These commands are only available in raster mode. 6.4 Printer control commands Commands Description ESC ia Select command mode ESC iUx Reboot Note - 36 - 6.
P-touch Template 2.0 Command Reference 7. P-touch Template Command Details ^II Initialize ASCII: ^ Hexadecimal: 5E I I 49 49 Parameters None Description Reverts all dynamic settings to the printer settings.
P-touch Template 2.0 Command Reference ^TS Select template ASCII: ^ Hexadecimal: 5E T S n1 n2 54 53 nh1 nh2 n3 nh3 Parameters 0≤n1≤2 0≤n2≤9 0≤n3≤9 Description Specifies the number of the template selected from the printer. (n1*100)+(n2*10)+n3: Template number (1 to 255) The default selection number is 1. This command is a dynamic command. Remarks The template numbers that can be set are between 1 and 255.
P-touch Template 2.0 Command Reference ^FF Start printing ASCII: ^ Hexadecimal: 5E F F 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. (Refer to “^PS” and “ESC iXP2”.) Example To print template number 3: ^ TS 0 0 3 ^ F F (5Eh 54h 53h 30h 30h 33h 5Eh 46h 46h) - 39 - 7.
P-touch Template 2.0 Command Reference ^CN Specify number of copies ASCII: ^ Hexadecimal: 5E C N n1 n2 43 4E nh1 nh2 n3 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.
P-touch Template 2.0 Command Reference ^NN Specify number of Numbering copies ASCII: ^ Hexadecimal: 5E N N n1 n2 4E 4E nh1 nh2 n3 nh3 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. This command is a static command.
P-touch Template 2.0 Command Reference ^PT Select print start trigger ASCII: ^ Hexadecimal: 5E P T n 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 (not including delimiters) This command is a dynamic command.
P-touch Template 2.0 Command Reference ^PS Specify print start command text string ASCII: ^ Hexadecimal: 5E P S n1 n2 50 53 nh1 nh2 data 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”.
P-touch Template 2.0 Command Reference ^PC Specify print start received character count ASCII: ^ Hexadecimal: 5E P C n1 n2 50 43 nh1 nh2 n3 nh3 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. This command is a dynamic command.
P-touch Template 2.0 Command Reference ^SS Specify delimiter ASCII: ^ Hexadecimal: 5E S S n1 n2 53 53 nh1 nh2 data 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).
P-touch Template 2.0 Command Reference ^CO Select cut options ASCII: ^ Hexadecimal: 5E C O n1 n2 43 4F nh1 nh2 n3 n4 nh3 nh4 Parameters 0≤n1≤1 0≤n2≤9 0≤n3≤9 0≤n4≤1 Description Specifies the various cut options. n1: Auto cut setting (ON: 1 (default); OFF: 0) (n2*10)+n3: Auto cut label number setting (1 to 99) (Default value: 1) n4: Cut at end setting (ON: 1 (default); OFF: 0) This command is a dynamic command. This command is applied to only a printer with auto cutter.
P-touch Template 2.0 Command Reference ^LS Specify line spacing with line feed ASCII: ^ Hexadecimal: 5E L S n1 n2 4C 53 nh1 nh2 n3 nh3 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 ^CC Change the prefix character ASCII: ^ Hexadecimal: 5E C C n 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 ^RC Specify line feed command text string ASCII: ^ Hexadecimal: 5E R C n1 n2 52 43 nh1 nh2 data 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).) The default text string for the line feed command is “^CR”.
P-touch Template 2.0 Command Reference ^QS Select print options ASCII: ^ Hexadecimal: 5E Q S n 51 53 n Parameters 0≤n≤1 Description Select 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. Example To set the print options to give priority to print quality: Since n=1, the command will be as follows. ^QS1 (5Eh 51h 53h 31h) - 50 - 7.
P-touch Template 2.0 Command Reference ^QV Specify QR Code version ASCII: ^ Hexadecimal: 5E Q V n1 n2 51 56 nh1 nh2 Parameters 0≤n1≤4 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. This command is a dynamic command.
P-touch Template 2.0 Command Reference ^FC FNC1 replacement setting ASCII: ^ Hexadecimal: 5E F C n 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; OFF: 0 (default)) This command is a dynamic command. Remarks Invalid if n is a value other than 1 or 0 Example To disable FNC1 replacement: Since FNC1 replacement will be disabled, n=0.
P-touch Template 2.0 Command Reference ^OP Perform printer operation (feed) ASCII: ^ Hexadecimal: 5E O P n 4F 50 nh Parameters 1≤n≤3 Description Causes the printer to perform a feed operation. n=1 or 2: Feeds one label length (feed operation with continuous length tape) n=3: Cuts Remarks Models without cutters: Regardless of parameter setting value, feed operation is performed. Example To specify that the printer performs a feed operation: ^OP1 (5Eh 4Fh 50h 31h) - 53 - 7.
P-touch Template 2.0 Command Reference ^SR Status request ASCII: ^ Hexadecimal: 5E S R 53 52 Parameters None Description Returns the printer status. The printer status consists of 32 bytes. The printer does not return status during the printing operation. Offset Name Value/Standard 0 Print head mark Fixed at 80h 1 Size Fixed at 20h 2 Brother code Fixed at “B” (42h) 3 Series code Refer to table (6) below. 4 Model code Refer to table (7) below.
P-touch Template 2.
P-touch Template 2.
P-touch Template 2.0 Command Reference Model Value RJ-3230B ”E”(45h) RJ-3250WB ”F”(46h) RJ-2030 “6” (36h) RJ-2050 “7” (37h) RJ-2140 “8” (38h) RJ-2150 “9” (39h) TD-4410D “7”(37h) TD-4420DN “8”(38h) TD-4510D “9”(39h) TD-4520DN “A”(41h) TD-4550DNWB “B”(42h) TD-4210D “C”(43h) TD-2020 “3” (33h) TD-2120N “5” (35h) TD-2130N “6” (36h) TD-2020A “3” (33h) TD-2030A “D” (44h) TD-2125N “E” (45h) TD-2125NWB “F” (46h) TD-2135N “G” (47h) TD-2135NWB “H” (48h) - 57 - Remarks 7.
P-touch Template 2.0 Command Reference ^VR Retrieve version information ASCII: ^ Hexadecimal: 5E V R 56 52 Parameters None Description Retrieves the version information for the printer as a 8-character text string. Retrieves the version information for the printer as a 16-character text string.(RJ-4230B) - 58 - 7.
P-touch Template 2.0 Command Reference ^CR Line feed in object ASCII: ^ C Hexadecimal: 5E R 43 52 Parameters None Description Adds a line feed to the next line in the text object. Command characters are modifiable. (Refer to ^RC, ESC iXR2) Example To print three lines: Code: 1 ^ C R 2 ^ C R 3 ^ F F (31h 5Eh 43h 52h 32h 5Eh 43h 52h 33h 5Eh 46h 46h) 1 Print result: 2 3 - 59 - 7.
P-touch Template 2.0 Command Reference ^OS Select object (object number) ASCII: ^ Hexadecimal: 5E O S n1 n2 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. Use this command to insert data starting with an intermediary object.
P-touch Template 2.0 Command Reference ^ON Select object (object name) ASCII: ^ Hexadecimal: 5E O N data 4F 4E datah 00 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. In addition, the command becomes invalid if no text has been specified. “00h” should be added at the end of the text.
P-touch Template 2.0 Command Reference ^DI Directly insert object ASCII: ^ D Hexadecimal: 5E I n1 n2 44 49 nh1 nh2 data 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.
P-touch Template 2.0 Command Reference 8. Setting and Retrieving Command Details ESC iXT2 Select print start trigger ASCII: ESC Hexadecimal: 1B i X T 2 01h 00h n1 69 58 54 32 01 00 nh1 Parameters 00h≤nh1≤02h Description Selects the type of print start trigger. nh1=00h: When the specified text string is received (default) nh1=01h: When all objects are filled (Prints with the delimiter at the end of the data.
P-touch Template 2.0 Command Reference ESC iXT1 Retrieve print start trigger setting ASCII: ESC Hexadecimal: 1B i X T 1 00h 00h 69 58 54 31 00 00 Parameters None Description The print start trigger is returned as 3-byte data. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Setting 00h: When the specified text string is received 01h: When all objects are filled 02h: When the specified number of characters is received The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXP2 Specify print start command text string ASCII: ESC Hexadecimal: 1B i X P 2 n1 n2 data 69 58 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 (bytes).
P-touch Template 2.0 Command Reference ESC iXP1 Retrieve print start command setting text string ASCII: ESC Hexadecimal: 1B i X P 1 00h 00h 69 58 50 31 00 00 Parameters None 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 iXr2 Specify print start received character count ASCII: ESC Hexadecimal: 1B i X r 2 02h 00h n1 69 58 72 32 02 00 n2 nh1 nh2 Parameters 00h≤nh1≤FFh 00h≤nh2≤03h Description Specifies the number of characters to be received in order to start printing. nh1+(nh2*256): Print start received character count (1 to 999) The default print start received character count is 10. This command is a static command.
P-touch Template 2.0 Command Reference ESC iXr1 Retrieve print start received character count ASCII: ESC Hexadecimal: 1B i X r 1 00h 00h 69 58 72 31 00 00 Parameters None Description Retrieves the number of characters specified to be received in order to start printing. 4-byte data is returned from the printer. [1]: 02h (Fixed) [2]: 00h (Fixed) [3,4]: nh1 nh2 settings nh1+(nh2*256): Print start received character count The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXD2 Specify delimiter ASCII: ESC Hexadecimal: 1B i X D 2 n1 n2 data 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.
P-touch Template 2.0 Command Reference ESC iXD1 Retrieve delimiter ASCII: ESC Hexadecimal: 1B i X D 1 00h 00h 69 58 44 31 00 00 Parameters None 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 The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXa2 Specify non-printed text strings ASCII: ESC Hexadecimal: 1B i X a 2 n1 n2 n3 data 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 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.
P-touch Template 2.0 Command Reference ESC iXa1 ASCII: Retrieve non-printed text strings ESC Hexadecimal: 1B i X a 1 01h 00h 01h 69 58 61 31 01 00 01 Parameters None Description Retrieves the specified non-printed text string. 2- 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 The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXi2 ASCII: Select command mode ESC Hexadecimal: 1B i X i 2 01h 00h n1 69 58 69 32 01 00 nh1 Parameters nh1: 00h 01h 03h 04h 05h Description Switches the mode. nh1=00h: ESC/P mode nh1=01h: Raster mode nh1=03h: P-touch Template mode (default) nh1=04h: CPCL Page Print mode nh1=05h: CPCL Line Print mode nh1=07h: EPL emulation mode nh1=08h: DPL emulation mode This command is a static command.
P-touch Template 2.0 Command Reference ESC iXi1 ASCII: Retrieve command mode setting ESC Hexadecimal: 1B i X i 69 58 69 1 00h 00h 31 00 00 Parameters None Description Retrieves the setting for the command mode. 3-byte data is returned from the printer.
P-touch Template 2.0 Command Reference ESC iXn2 Select template ASCII: ESC Hexadecimal: 1B i X n 2 01h 00h n1 69 58 6E 32 01 00 nh1 Parameters 01h≤nh1≤FFh Description Selects the number of the template selected from the printer. n1: Template number (1 to 255) The default selection number is 1. This command is a static command. Remarks The template numbers that can be set are between 1 and 255.
P-touch Template 2.0 Command Reference ESC iXn1 Retrieve number of selected template ASCII: ESC Hexadecimal: 1B i X n 1 00h 00h 69 58 6E 31 00 00 Parameters None Description Retrieves the template number selected from the printer. 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Setting The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXf2 Change the prefix character ASCII: ESC Hexadecimal: 1B i X f 2 01h 00h n1 69 58 66 32 01 00 nh1 Parameters 00h≤nh1≤FFh Description Changes the prefix character code. n1: Character code The default text string for the prefix character is “^”. This command is a static command. Example To change the prefix character to “_”: ESC i X f 2 01h 00h 5Fh (“_”) (1Bh 69h 58h 66h 32h 01h 00h 5Fh) (“5Fh” is “_” in ASCII code.) - 77 - 8.
P-touch Template 2.0 Command Reference ESC iXf1 ASCII: Retrieve prefix character ESC Hexadecimal: 1B i X f 1 00h 00h 69 58 66 31 00 00 Parameters None Description Retrieves the prefix character code. 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Specified character The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXc2 ASCII: Select cut options ESC Hexadecimal: 1B i X c 2 01h 00h n1 69 58 63 32 01 00 nh1 Parameters nh1: 00h 01h 08h 09h Description Selects the various cut options. nh1=00h: No cutting nh1=01h: Automatically cuts nh1=08h: Cut at end of printing nh1=09h: Automatically cuts, and cuts at end of printing This command is a static command.
P-touch Template 2.0 Command Reference ESC iXc1 Retrieve cut options ASCII: ESC Hexadecimal: 1B i X c 1 00h 00h 69 58 63 31 00 00 Parameters None Description Retrieves the various cut settings. 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Setting 00h: No cutting 01h: Automatically cuts 08h: Cut at end 09h: Both ( Automatically cuts + Cut at end) The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXy2 Select cut options (specifying number of labels) ASCII: ESC Hexadecimal: 1B i X y 2 01h 00h n1 69 58 79 32 01 00 nh1 Parameters 01h≤nh1≤63h Description Specifies that the tape will be cut after the specified number of labels. (If the auto cut setting is ON, the tape will be cut after the number of labels specified with this setting.) nh1: Cuts after a specified number of labels (01h to 63h) This command is a static command.
P-touch Template 2.0 Command Reference ESC iXy1 Retrieve cut options (specifying number of labels) ASCII: ESC Hexadecimal: 1B i X y 1 00h 00h 69 58 79 31 00 00 Parameters None Description Retrieves the setting for cutting after a specified number of labels. 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Setting The retrieved value is a value specified by a static command. This command is applied to only a printer with auto cutter.
P-touch Template 2.0 Command Reference ESC iXm2 Select character code set ASCII: ESC Hexadecimal: 1B i X m 2 01h 00h n1 69 58 6D 32 01 00 nh1 Parameters 00h≤nh1≤04h, 10h Description Selects the character code set. (For details on the character code sets, refer to the character code tables in “Appendix C: Character Code Tables”.
P-touch Template 2.0 Command Reference ESC iXm1 Retrieve character code set setting ASCII: ESC Hexadecimal: 1B i X m 1 00h 00h 69 58 6D 31 00 00 Parameters None Description Retrieves the specified character code set. (For details on the character code sets, refer to “Appendix C: Character Code Tables”.) 3-byte data is returned from the printer.
P-touch Template 2.0 Command Reference ESC iXj2 Select international character set ASCII: ESC Hexadecimal: 1B i X j 2 01h 00h n1 69 58 6A 32 01 00 nh1 Parameters 00h≤nh1≤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 nh1.
P-touch Template 2.0 Command Reference ESC iXj1 Retrieve international character set setting ASCII: ESC Hexadecimal: 1B i X j 1 00h 00h 69 58 6A 31 00 00 Parameters None Description Retrieves the international character set setting. 3-byte data is returned from the printer.
P-touch Template 2.0 Command Reference ESC iXR2 Specify line feed command text string ASCII: ESC Hexadecimal: 1B i X R 2 n1 n2 data 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 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 (bytes).
P-touch Template 2.0 Command Reference ESC iXR1 Retrieve line feed command setting text string ASCII: ESC Hexadecimal: 1B i X R 1 00h 00h 69 58 52 31 00 00 Parameters None Description Retrieves the text string specified for the line feed command. 2- 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 The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXC2 Specify number of copies ASCII: ESC Hexadecimal: 1B i X C 2 02h 00h n1 69 58 43 32 02 00 nh1 n2 nh2 Parameters 00h≤nh1≤FFh 00h≤nh2≤03h Description Specifies the number of copies to be printed. nh1+(nh2*256): Number of copies (bytes) (1 to 999) The default number of copies is 1. This command is a static command. Example To change the number of copies to 100: Since nh1=64h and nh2=00h, the command will be as follows.
P-touch Template 2.0 Command Reference ESC iXC1 Retrieve number of copies setting ASCII: ESC Hexadecimal: 1B i X C 1 00h 00h 69 58 43 31 00 00 Parameters None Description Retrieves the number of copies specified to be printed. 4-byte data is returned from the printer. [1]: 02h (Fixed) [2]: 00h (Fixed) [3, 4]: nh1 nh2 settings nh1+(nh2*256): Print start received character count The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXN2 Specify number of Numbering copies ASCII: ESC Hexadecimal: 1B i X N 2 02h 00h n1 69 58 4E 32 02 00 nh1 n2 nh2 Parameters 00h≤nh1≤FFh 00h≤nh2≤03h Description Specifies the number of copies to be printed with Numbering. nh1+(nh2*256): Number of Numbering copies (bytes) (1 to 999) The default number of copies printed with Numbering is 1. This command is a static command.
P-touch Template 2.0 Command Reference ESC iXN1 Retrieve number of Numbering copies setting ASCII: ESC Hexadecimal: 1B i X N 1 00h 00h 69 58 4E 31 00 00 Parameters None Description Retrieves the number of copies specified to be printed with Numbering. 4-byte data is returned from the printer. [1]: 02h (Fixed) [2]: 00h (Fixed) [3, 4]: nh1 nh2 settings nh1+(nh2*256): Number of Numbering copies The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXF2 FNC1 replacement setting ASCII: ESC Hexadecimal: 1B i X F 2 01h 00h n1 69 58 46 32 01 00 nh1 Parameters nh1: 00h, 01h 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. nh1=00h: FNC1 replacement setting OFF nh1=01h: FNC1 replacement setting ON This command is a static command.
P-touch Template 2.0 Command Reference ESC iXF1 Retrieve FNC1 replacement setting ASCII: ESC Hexadecimal: 1B i X F 1 00h 00h 69 58 46 31 00 00 Parameters None Description Retrieves the FNC1 replacement setting. 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Setting 00h: FNC1 replacement setting OFF 01h: FNC1 replacement setting ON The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXq2 Specify a print option ASCII: ESC Hexadecimal: 1B i X q 2 01h 00h n1 69 58 71 32 01 00 n1 Parameters n1: 00h, 01h Description Select a print option. n1=00h: Prioritize print speed n1=01h: Prioritize print quality The print option default value is 00h (Prioritize print speed). This command is a static command. This command is valid only for models that support prioritize print quality.
P-touch Template 2.0 Command Reference ESC iXq1 Retrieve a Print option value ASCII: ESC Hexadecimal: 1B i X q 1 00h 00h 69 58 71 31 00 00 Parameters None Description Retrieve a print option setting value. 3 bytes of data are returned from the main unit. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Setting values 00h: Prioritize print speed 01h: Prioritize print quality The retrieved value is a value set by static command.
P-touch Template 2.0 Command Reference ESC iXd2 Specify recovery setting ASCII: ESC Hexadecimal: 1B i X d 2 01h 00h n1 69 58 64 32 01 00 nh1 Parameters nh1: 00h, 01h Description Select enable or disable of recovery print. nh1=00h: Disable recovery print nh1=01h: Enable recovery print The default value of “nh1” is 01h. This command is a static command. Example For being enable recovery print. Since nh1=01h, the command will be as follows.
P-touch Template 2.0 Command Reference ESC iXd1 Retrieve recovery setting ASCII: ESC Hexadecimal: 1B i X d 1 00h 00h 69 58 64 31 00 00 Parameters None Description Retrieve the recovery print setting. 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Settings 00h: Disable recovery print 01h: Enable recovery print The retrieved value is a value specified by a static command. Example The case the recovery print setting is enabled.
P-touch Template 2.0 Command Reference ESC iXE2 Specify barcode margin setting ASCII: ESC Hexadecimal: 1B i X E 2 01h 00h n1 69 58 45 32 01 00 n1 Parameters n1: 00h, 01h Description Specify barcode margin setting. n1=00h: Disable n1=01h: Enable Default value is 01h (Enable). This command is a static command. This setting affects only for 2D codes.
P-touch Template 2.0 Command Reference ESC iXE1 Retrieve barcode margin setting ASCII: ESC Hexadecimal: 1B i X E 1 00h 00h 69 58 45 31 00 00 Parameters None Description Retrieve barcode margin setting. 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Settings 00h: Disable 01h: Enable The retrieved value is a value specified by a static command. This setting is available only for 2D codes.
P-touch Template 2.0 Command Reference ESC iXh2 Specify rotated print ASCII: ESC Hexadecimal: 1B i X h 2 01h 00h n1 69 58 68 32 01 00 nh1 Parameters nh1: 00h, 01h Description Select rotate setting. nh1=00h: No rotation nh1=01h: 180 degrees rotation The default value for the rotate setting is "00h" (No rotation). This command is a static command. Example To set the rotate setting to 180 degrees rotation: Since nh1=01h, the command will be as follows.
P-touch Template 2.0 Command Reference ESC iXh1 Retrieve rotated print setting ASCII: ESC Hexadecimal: 1B i X h 1 00h 00h 69 58 68 31 00 00 Parameters None Description Retrieve rotated print setting. 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Settings 00h: No rotate 01h: Rotate 180 degrees The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iX^2 Specify print stop position ASCII: ESC Hexadecimal: 1B i X ^ 2 01h 00h n1 69 58 5E 32 01 00 nh1 Parameters nh1: 00h, 01h Description Select print stop position. nh1=00h: Tear-bar nh1=01h: Head The default value is "00h" (Tear-bar). This command is a static command. Example To set the print stop position to head: Since nh1=01h, the command will be as follows. ESC i X ^ 2 01h 00h 01h (1Bh 69h 58h 5Eh 32h 01h 00h 01h) - 103 - 8.
P-touch Template 2.0 Command Reference ESC iX^1 Retrieve print stop position ASCII: ESC Hexadecimal: 1B i X ^ 1 00h 00h 69 58 5E 31 00 00 Parameters None Description Retrieve print stop position. 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Settings 00h: Tear-bar 01h: Head The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC iXv2 (08h) Specify Network Raw port bi-directional communication ASCII: ESC Hexadecimal: 1B i X v 2 03h 00h 00h 08h 69 58 76 32 03 00 00 08 n1 nh1 Parameters nh1: 00h, 07h Description Enable or disable the bi-directional communication setting for during Network Raw port communication. nh1=00h: Disable (Default) nh1=07h: Enable The default value is 00h (Disable).
P-touch Template 2.0 Command Reference ESC iXv1 (08h) Retrieve a Network Raw port bi-directional communication setting ASCII: ESC Hexadecimal: 1B i X v 1 03h 00h 00h 08h 00h 69 58 76 31 03 00 00 08 00 Parameters None Description Retrieve a bi-directional communication (response from the printer) setting for during Network Raw port communication. 3-byte data is returned from the printer.
P-touch Template 2.0 Command Reference ESC iXv2 (0Ch) Specify number of recovery prints ASCII: ESC Hexadecimal : 1B i X v 2 03h 00h 00h 0Ch 69 58 76 32 03 00 00 0C n1 nh1 Parameters nh1: 00h, 01h Description Specify number of recovery print. nh1=00h: Once nh1=01h: No limits Default value is 00h. This command is a static command. Example For setting number of recovery prints to no limit: Since nh1=01h, the command will be as follows.
P-touch Template 2.0 Command Reference ESC iXv1 (0Ch) Retrieve number of recovery prints ASCII: ESC Hexadecimal: 1B i X v 1 03h 00h 00h 0Ch 00h 69 58 76 31 03 00 00 0C 00 Parameters None Description Retrieve number of recovery prints. 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Settings 00h: Once 01h: No limits The retrieved value is a value specified by a static command.
P-touch Template 2.0 Command Reference ESC i DC1 SQ(01h) ASCII: Specify self-printing QR code content ESC Hexadecimal: 1B i DC1 S Q 01h n1 n2 data 69 11 53 51 01 n1 n2 data Parameters 00h≦n1≦5Ah n2: 00h Description Set the QR code content included in self-printing. n1: length of the content set in the QR code (up to 90 bytes) data: content set in the QR code This command is a static command.
P-touch Template 2.0 Command Reference ESC i DC1 SR(01h) ASCII: Select setting change lock ESC Hexadecimal: 1B i DC1 S Q 01h n1 n2 n3 69 11 53 52 01 n1 n2 n3 Parameters n1: 01h n2: 00h n3: 00h or FFh Description Prohibit changing settings and rewriting transfer data. n3=00h: Cancel the prohibition of setting change n3=FFh: Prohibit setting change This command is a static command.
P-touch Template 2.0 Command Reference 9. Setting and Retrieving Command Details (Raster mode) ESC iOUe1 Specify the string of text decoration tags ASCII: ESC Hexadecimal: 1B i O U e 1 n1 n2 n3 data 69 4F 55 65 31 n1 n2 n3 data Parameters 00h≤n1≤03h 01h≤n2≤08h n3: 00h (Fixed) 00h≤data≤FFh Description Specify the string of text decoration tags.
P-touch Template 2.0 Command Reference ESC iOUe0 Retrieve the string of text decoration tags ASCII: ESC Hexadecimal: 1B i O U e 0 n1 n2 n3 69 4F 55 65 30 n1 n2 n3 Parameters 00h≤n1≤03h n2: 00h (Fixed) n3: 00h (Fixed) Description Retrieve the text string of selected decoration tags. n1=00h: Bold start n1=01h: Bold end n1=02h: Underline start n1=03h: Underline end 2- to 10-byte data is returned from the printer.
P-touch Template 2.0 Command Reference 10. Printer Control Command Details ESC i a Select command mode ASCII: ESC Hexadecimal: 1B i 69 a n 61 nh Parameters nh=00h 01h 03h 04h 05h 30h 31h 33h 34h 35h Description Switches the mode.
P-touch Template 2.0 Command Reference ESC i U x Reboot ASCII: ESC Hexadecimal: 1B i 69 U x 55 78 Parameters None Description Reboot the printer. This is a raster command. Please change the mode before sending this command. Please refer to ESC i a Select command mode. - 114 - 10.
P-touch Template 2.0 Command Reference ESC i S ASCII: Status request ESC Hexadecimal: 1B i S 69 53 Parameters None Description Returns the printer status. The printer status consists of 32 bytes. The response content of the command is the same as ^SR. Please refer to the ^SR page. This command does not return a response during printing. - 115 - 10.
P-touch Template 2.0 Command Reference 11. ZPL II Emulation Support Commands ZPL II Description Note ^A Select font ^A@ Select font ^B0 Aztec ^B2 Interleaved 2 of 5 ^B3 Code39 ^B7 PDF417 ^B8 EAN-8 ^B9 UPC-E ^BA Code93 ・“□” is not added to the beginning or end of subscript. ^BC Code128 ・RJ-4XXX, RJ-3XXX, RJ-2XXX, TD-2XXX:UCC check digits are not added. ・RJ-4XXX, RJ-3XXX, RJ-2XXX, TD-2XXX:UCC/EAN is not supported.
P-touch Template 2.0 Command Reference ZPL II Description Note ^BU UPC-A ・If suffixes were disabled, guard bars will be disabled. ・The size of suffixes does not change with the size of the module width. ^BX DataMatrix ・The error correction level is fixed at 200.
P-touch Template 2.0 Command Reference ZPL II Description Note ^FO Set position from home position of label ^FP Set field parameter ^FR Reverse field color ^FS Point to last position of field ^FT Set position of field ^FV Set the number of data to be inserted in field ^FW Set the default orientation ^GB Draw box ^GC Graphic circle ^GD Graphic diagonal line ^GE Graphic ellipse ・RJ-2XXX, TD-2XXX: Command not supported. ^GF Graphic field ・Compressed binary data is not supported.
P-touch Template 2.
P-touch Template 2.0 Command Reference ZPL II Description Note ^XA Command required at beginning of format ^XF Recall format stored with ^DF ^XG Recall format stored with ^DG or ^DG ^XZ Command required at end of format - 120 - ・Replacement with STX is not supported. 11.
P-touch Template 2.0 Command Reference 12. CPCL Emulation Support Commands 12.
P-touch Template 2.0 Command Reference CPCL PAGE-WIDTH PW Description Page width IN-CENTIMETERS IN-DOTS IN-INCHES Units of measure IN-MILLIMETERS COUNTRY SETSP UNDERLINE Character set / code page Character spacing Used to underline text FG Define font group SETMAG Font magnification BARCODE-TEXT BT Print text of barcode PRINT Terminate and print END Terminate and print ABORT Terminate 12.
P-touch Template 2.0 Command Reference 12.4 CPCL Pre-scaled Text CPCL TEXT T VTEXT VT TEXT90 T90 TEXT180 T180 TEXT270 T270 ENCODING CONCAT VCONCAT ENDCONCAT MULTILINE ML ENDMULTILINE MLEND Description Horizontal text Vertical text Vertical text Inverted text Inverted vertical text Specifies encoding of data sent to the printer Horizontal pre-scaled text concatenation Vertical pre-scaled text concatenation End text concatenation Multiple-line text block End multiple-line text block 12.
P-touch Template 2.0 Command Reference CPCL ROTATE R Description Rotate scalable text 12.
P-touch Template 2.
P-touch Template 2.
P-touch Template 2.
P-touch Template 2.0 Command Reference 12.
P-touch Template 2.0 Command Reference CPCL VEXPANDED-GRAPHICS VEG COMPRESSED-GRAPHICS CG VCOMPRESSED-GRAPHICS VCG PCX Description Vertical expanded graphics Horizontal compressed graphics Vertical compressed graphics Print ".PCX" graphics data 12.
P-touch Template 2.0 Command Reference CPCL Description (Any linear barcode or graphics command) Any linear barcode or graphics command are able to be used in Line Print Mode. - 130 - 12.
P-touch Template 2.0 Command Reference 13. EPL Emulation Support Command EPL Name Notes A ASCII Text ・Asian fonts are not supported. ・Black-and-white inversion is not supported. A Simple Expressions in Data Fields ・Asian fonts are not supported. ・Black-and-white inversion is not supported. Automatic Form Printing ・Automatic printing at power-on is not supported.
P-touch Template 2.0 Command Reference EPL Name LS Line Draw Diagonal LW Line Draw White N oW P Notes Clear Image Buffer Customize Bar Code Parameters Print PA Print Automatic q Set Label Width Q Set Form Length R Set Reference Point V Define Variable X Box Draw Z Print Direction ? Download Variables ; Code Comment Line ・Offset setting is not supported. ・Prompt display is not supported. - 132 - 13.
P-touch Template 2.0 Command Reference 14. DPL Emulation Support Command 14.1 Configuration Commands DPL Name Notes ・Supports E1, E9, FR, GR, IT, P9, PM, SP, SW, UK, US, and W1. For other code pages, the intended characters may not be printed.
P-touch Template 2.0 Command Reference 14.
P-touch Template 2.0 Command Reference Support Type Notes Intelligent Mail Bar Code (IMB) Standard 2 of 5 Bar Code Micro PDF417 Bar Code ・Maximum vertical magnification ratio of 64×. ・Maximum horizontal magnification ratio of 32×. ・Replacement of macro characters is not supported. Micro PDF417 Bar Code with Byte Count Specifier ・Maximum vertical magnification ratio of 64×. ・Maximum horizontal magnification ratio of 32×. ・Replacement of macro characters is not supported. 14.
P-touch Template 2.0 Command Reference 14.5 Label Format Commands DPL Name Notes ・Opaque Mode and Inverse Mode are not supported. Prints in Transparent Mode.
P-touch Template 2.
P-touch Template 2.0 Command Reference Appendix B: Specifications RJ-4XXX P-touch Template 2.
P-touch Template 2.0 Command Reference RJ-3XXX P-touch Template 2.
P-touch Template 2.0 Command Reference RJ-2XXX P-touch Template 2.
P-touch Template 2.0 Command Reference TD-4XXX P-touch Template 2.
P-touch Template 2.0 Command Reference TD-2XXX P-touch Template 2.
P-touch Template 2.
P-touch Template 2.
P-touch Template 2.
P-touch Template 2.
P-touch Template 2.0 Command Reference (4) Japan 0 1 2 3 4 5 6 7 0 SP 0 @ P ` 1 ! 1 A Q 2 ” 2 B 3 # 3 4 $ 5 8 9 A B C D p SP ー タ ミ a q 。 ア チ ム R b r 「 イ ツ メ C S c s 」 ウ テ モ 4 D T d t 、 エ ト ヤ % 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 I Y i y ゥ ケ ノ ル A * : J Z j z ェ コ ハ レ B + ; K [ k { ォ サ ヒ ロ C , < L \ l |
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 n 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 0 United States (U.S.A) # $ @ [ \ ] ^ ` { ¦ } ˜ 1 France # $ à ° ç § ^ ` é ù è ¨ 2 Germany # $ § Ä Ö Ü ^ ` ä ö ü ß 3 Britain (U.K.) £ $ @ [ \ ] ^ ` { ¦ } ˜ 4 Denmark I # $ @ Æ Ø Å ^ ` æ ø å ˜ 5 Sweden # ¤ É Ä Ö Å Ü
P-touch Template 2.0 Command Reference Appendix D: 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.
P-touch Template 2.0 Command Reference Appendix E: 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. https://support.brother.com/g/s/es/dev/en/index.