Commands that can be set or obtained in P-touch Template mode
^PT
5E 50 54DynamicSelect print start trigger
^PS5E 50 53DynamicSpecify print start command text string
^PC5E 50 43DynamicSpecify print start received character count
^SS5E 53 53DynamicSpecify delimiter
^TS5E 54 53DynamicSelect template
^CF 5E 43 46 DynamicFull cut setting
^CH 5E 43 48 DynamicHalf cut setting
^CP 5E 43 50 DynamicChain printing setting
^MP 5E 4D 50 DynamicMirror printing setting
^LS5E 4C 53Specify line spacing with line feed
^CC5E 43 43DynamicChange prefix character
^RC 5E 52 43 DynamicSpecify line feed command text string
^CN 5E 43 4E Specify number of copies
^NN 5E 4E 4E Specify number of Numbering copies
^ID 5E 49 4E Initialize template data
^QV 5E 51 56 DynamicSpecify QR Code version
^FC 5E 46 43 DynamicFNC1 replacement setting
^II5E 49 49 Initialize
^OP5E 4F 50Perform machine operations (feed/cut)
^SR 5E 53 52 Status request
^VR 5E 56 52 Retrieve version Information
^CR 5E 43 52 Line feed in object
^OS 5E 4F 53 Select object (object number)
^ON 5E 4F 4E Select object (object name)
^DI 5E 44 49 Directly insert object
ESC ia1B 69 61DynamicSpecify command mode
* The commands listed above must be used in P-touch Template mode.
They cannot be used in raster mode or ESC/P mode. (except ESC ia)
5
Page 32
Commands that can be set or obtained in raster mode
ESC iXT21B 69 58 54 32StaticSelect print start trigger
ESC iXP21B 69 58 50 32StaticSpecify print start command text string
ESC iXr21B 69 58 72 32StaticSpecify print start received character count
ESC iXD21B 69 58 44 32StaticSpecify delimiter
ESC iXa21B 69 58 61 32StaticSpecify non-printed text strings
ESC iXi21B 69 58 69 32StaticSpecify command mode
ESC iXn21B 69 58 6E 32StaticSelect template
ESC iXf2 1B 69 58 66 32 StaticChange prefix character
ESC iXc21B 69 58 63 32StaticSpecify machine settings (full cut option
of labels)
ESC iXH1 1B 69 58 48 31 Retrieve half cut setting
ESC iXM1 1B 69 58 4D 31 Retrieve mirror printing setting
ESC iXs1 1B 69 58 73 31 Retrieve special tape setting
ESC iXm1 1B 69 58 6D 31 Retrieve character code set setting
ESC iXj1 1B 69 58 6A 31 Retrieve international character set setting
ESC iXf1 1B 69 58 66 31 Retrieve prefix setting character
ESC iXR1 1B 69 58 52 31 Retrieve line feed command setting text
string
ESC iXC1 1B 69 58 43 31 Retrieve number of copies setting
ESC iXN1 1B 69 58 4E 31 Retrieve number of Numbering copies setting
ESC iXF1 1B 69 58 46 31 Retrieve FNC1 replacement setting
* The commands listed above must be used in raster mode.
They cannot be used in ESC/P mode or P-touch Template mode.
7
Page 34
About P-touch Template
Data can be sent from a host device (such as measuring instruments, scales and bar code
readers) and printed in a template created in P-touch Editor and previously transferred to
the printer.
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.
Static and dynamic commands
With static commands, settings specified with a command are saved and stored in the
memory.
With dynamic commands, settings specified with a command are temporarily saved and
applied until the machine is turned off.
If printing does not begin (main most frequent causes)
1) Incorrect communication settings
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 are available, but the selection is
incorrect.
① When the specified text string is received
② When all objects are filled
③ When the specified number of characters is received
If the settings described above are incorrect, use the P-touch Template Settings tool to
specify the settings.
8
Page 35
Control command details
^PT Select print start trigger
[ASCII] ^ P T n
[Decimal] 94 80 84 nd
[Hexadecimal] 5E 50 54 nh
[Parameters] 1≤n≤3
[Description]
・Selects the print start trigger type.
n=1: When the specified text string is received (default)
n=2: When all objects are filled
(Prints with the delimiter at the end of the data)
n=3: When the specified number of characters is received
(not including delimiters)
・This command is a dynamic command.
[Remarks]
・Invalid if n is a value other than 1 through 3
[Example]
・When the print start trigger is “when all objects are filled”
^ P T 2 (5Eh 50h 54h 32h)
9
Page 36
^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”.
・This command is a dynamic command.
[Remarks]
・Invalid if more than 20 characters are specified
[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, n1=0 and n2=5.
Therefore, the command will be as follows.
^ P S 0 5 S T A R T
(5Eh 50h 53h 30h 35h 53h 54h 41h 52h 54h)
10
Page 37
^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 in order to start printing.
(n1*100)+(n2*10)+n3: Print start received character count
(1 to 999 characters)
・The default print start received character count is 10.
・This command is a dynamic command.
・One full-width character is treated as 2 bytes, and one half-width character is treated as 1
byte.
[Example]
・To change the print start received character count to 100 characters: Since n1=1, n2=0 and
n3=0, the command will be as follows.
^ P C 1 0 0 (5Eh 50h 43h 31h 30h 30h)
11
Page 38
^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).)
・The default text string for the delimiter is “09h” (TAB code).
・A text string that will not appear in the print data should be specified.
・This command is a dynamic command.
[Remarks]
・Invalid if more than 20 characters are specified
[Example]
・To change the delimiter to “,” (0x2C):
Since the text string contains one character, n1=1 and n2=1 and, with the text string
(datah) “,” (2Ch), the command will be as follows.
^ S S 0 1 , (5Eh 53h 53h 30h 31h 2Ch)
12
Page 39
^TS Select template
[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 number of the template selected from the machine.
(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. This command becomes
invalid if any other value has been specified or if the number that has been specified is for
a template not transferred to the machine.
・All data already fed in, selected objects and the search text are initialized.
[Example]
・To select template number 99:
Since n2=9 and n3=9, the command will be as follows.
^ T S 0 9 9 (5Eh 54h 53h 30h 39h 39h)
13
Page 40
^CF Full cut setting
[ASCII] ^ C F n1 n2
[Decimal] 94 67 70 nd1 nd2
[Hexadecimal] 5E 43 46 nh1 nh2
[Parameters] 0≤n1≤9
0≤n2≤9
[Description]
・Specifies whether or not full cut is used, and specifies the number of copies.
(n1*10)+n2: Full cut and number of copies settings
(00: OFF; 01 to 99: Number of copies)
(Default value: 01)
・This command is a dynamic command.
[Remarks]
・The full cut label number setting can be between 1 and 99. This command becomes invalid
if any other value has been specified.
[Example]
・To cut after every two labels:
Since the auto cut label number will be set to 2, n1=0 and n2=2. Therefore, the command
will be as follows.
^ C F 0 2
(5Eh 43h 46h 30h 32h)
14
Page 41
^CH Half cut setting
[ASCII] ^ C H n
[Decimal] 94 67 72 nd
[Hexadecimal] 5E 43 48 nh
[Parameters] 0≤n≤1
[Description]
・Specifies whether or not half cut is used.
n: Half cut setting
(ON: 1 (default); OFF: 0)
・This command is a dynamic command.
[Remarks]
・Invalid if n is a value other than 1 or 0
[Example]
・To make half cuts:
Since half cuts will be enabled, n=1. Therefore, the command will be as follows.
^ C H 1
(5Eh 43h 48h 31h)
15
Page 42
^CP Chain printing setting
[ASCII] ^ C P n
[Decimal] 94 67 80 nd
[Hexadecimal] 5E 43 50 nh
[Parameters] 0≤n≤1
[Description]
・Specifies whether or not chain printing is applied.
n: Chain printing setting
(OFF: 0 (default); ON: 1)
・This command is a dynamic command.
[Remarks]
・Invalid if n is a value other than 1 or 0
[Example]
・To use chain printing:
Since chain printing will be enabled, n=1. Therefore, the command will be as follows.
^ C P 1
(5Eh 43h 50h 31h)
16
Page 43
^MP Mirror printing setting
[ASCII] ^ M P n
[Decimal] 94 77 80 nd
[Hexadecimal] 5E 4D 50 nh
[Parameters] 0≤n≤1
[Description]
・Specifies whether or not mirror printing is applied.
n: Mirror printing setting
(OFF: 0 (default); ON: 1)
・This command is a dynamic command.
[Remarks]
・Invalid if n is a value other than 1 or 0
[Example]
・To use mirror printing:
Since mirror printing will be enabled, n=1. Therefore, the command will be as follows.
^ M P 1
(5Eh 4Dh 50h 31h)
17
Page 44
^SP Special tape setting
[ASCII] ^ S P n
[Decimal] 94 83 80 nd
[Hexadecimal] 5E 53 50 nh
[Parameters] 0≤n≤1
[Description]
・Specifies whether or not the special tape setting is enabled.
When the special tape setting is ON, the cut settings and chain printing setting are not
available (same as being OFF). When the special tape setting is OFF, the cut settings and
chain printing setting are applied as specified.
n: Special tape setting
(OFF: 0 (default); ON: 1)
・This command is a dynamic command.
[Remarks]
・Invalid if n is a value other than 1 or 0
[Example]
・To use the special tape setting:
Since the special tape setting will be enabled, n=1. Therefore, the command will be as
follows.
^ S P 1
(5Eh 53h 50h 31h)
18
Page 45
^LS Specify line spacing with line feed
[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 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.
[Remarks]
・The number of dots for the line spacing can be between 0 and 255. This command
becomes invalid if any other value has been specified.
1 dot = 1/360 inch
1 dot ≈ 0.071 mm
[Example]
・To set the line spacing to 10 dots:
^ L S 0 1 0 (5Eh 4Ch 53h 30h 31h 30h)
19
Page 46
^CC Change prefix character
[ASCII] ^ C C n
[Decimal] 94 67 67 nd
[Hexadecimal] 5E 43 43 nh
[Parameters] 00h≤nh≤FFh
[Description]
・Changes the prefix character code.
n: Character code
・The default text string for the prefix character is “^”.
・This command is a dynamic command.
[Example]
・To change the prefix character from “^” to “_”, send the command shown below.
^ C C 5Fh (5Eh 43h 43h 5Fh)
(“_”)
・However, since the prefix character remains set to “_” if the machine is not later turned off,
then on, the initialize command, for example, will be “_II” instead of “^II”.
20
Page 47
^RC Specify line feed 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 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”.
・This command is a dynamic command.
[Remarks]
・Invalid if more than 20 characters are specified
[Example]
・To change the text string for the line feed command to “0Dh 0Ah”:
Since the text string to be specified (data) contains 2 characters, n1=0 and n2=2. Therefore,
the command will be as follows.
^ R C 0 2 0Dh 0Ah
(5Eh 52h 43h 30h 32h 0Dh 0Ah)
21
Page 48
^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.
[Remarks]
・When printing is finished, the number of copies specified with this command returns to the
number of copies (static value) specified from the machine.
[Example]
・To change the number of copies to 100: Since n1=1, n2=0 and n3=0, the command will be
as follows.
^ C N 1 0 0 (5Eh 43h 4Eh 31h 30h 30h)
22
Page 49
^NN Specify number of Numbering copies
[ASCII] ^ N N n1 n2 n3
[Decimal] 94 78 78 nd1 nd2 nd3
[Hexadecimal] 5E 4E 4E nh1 nh2 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.
[Remarks]
・When printing is finished, the number of copies specified with this command returns to the
number of copies (static value) specified from the machine.
[Example]
・To change the number of Numbering copies to 100: Since n1=1, n2=0 and n3=0, the
command will be as follows.
^ N N 1 0 0 (5Eh 4Eh 4Eh 31h 30h 30h)
23
Page 50
^ID Initialize template data
[ASCII] ^ I D
[Decimal] 94 73 68
[Hexadecimal] 5E 49 44
[Parameters] None
[Description]
・Returns the data in the selected template to what it was when the template was
transferred.
24
Page 51
^QV Specify QR Code version
[ASCII] ^ Q V n1 n2
[Decimal] 94 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.
・This command is a dynamic command.
・If the print range is exceeded, the bar code is not printed.
[Example]
・To change the version to 10: Since n1=1 and n2=0, the command will be as follows.
^ Q V 1 0 (5Eh 51h 56h 31h 30h)
25
Page 52
^FC FNC1 replacement setting
[ASCII] ^ F C n
[Decimal] 94 70 67 nd
[Hexadecimal] 5E 46 43 nh
[Parameters] 0≤n≤1
[Description]
・This command selects whether or not GS codes, which are included in bar code 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. Therefore, the command will be as follows.
^ F C 0
(5Eh 46h 43h 30h)
26
Page 53
^II Initialize
[ASCII] ^ I I
[Decimal] 94 73 73
[Hexadecimal] 5E 49 49
[Parameters] None
[Description]
・Reverts all dynamic settings to the machine settings.
1) Select print start trigger
2) Specify print start command text string
3) Specify print start received character count
4) Delimiter setting
5) Select template
6) Full cut setting
7) Half cut setting
8) Chain printing setting
9) Mirror printing setting
10) Special tape setting
11) Change prefix character
12) Specify line feed command text string
13) Specify number of copies
14) Specify QR Code version
15) FNC1 replacement setting
[Remarks]
・All data already fed in, selected objects and the search text are initialized.
27
Page 54
^OP Perform machine operations (feed/cut)
[ASCII] ^ O P n
[Decimal] 94 79 80 nd
[Hexadecimal] 5E 4F 50 nh
[Parameters] n=4
[Description]
・Causes the machine to perform a feed and cut operation.
n = 4 : Performs the feed and cut operation
[Remarks]
・Invalid if n is a value other than 4
[Example]
・To specify that the machine performs a feed and cut operation:
^ O P 4 (5Eh 4Fh 50h 34h)
28
Page 55
^S R Status request
[ASCII] ^ S R
[Decimal] 94 83 82
[Hexadecimal] 5E 53 52
[Parameters] None
[Description]
・The printer status is returned.
The printer status consists of 32 bytes.
Order Offset Size Name Value/Reference
1 0 1 Print head mark Fixed at 80H
2 1 1 Size Fixed at 20H
3 2 1 Brother code Fixed at “B” (42H)
4 3 1 Series code Fixed at “0” (30H)
“a” (61H) (*1) 5 4 1 Model code
“b” (61H) (*2)
6 5 1 Country code Fixed at “0” (30H)
7 6 1 Main unit information Fixed at 00H
8 7 1 Reserved Fixed at 00H
9 8 1 Error information 1 See below.
10 9 1 Error information 2 See below.
11 10 1 Media width See below.
12 11 1 Media type See below.
13 12 1 Number of colors Fixed at 00H
14 13 1 Internal font information Fixed at 00H
15 14 1 Internal Japanese font
information
16 15 1 Mode Fixed at 00H
17 16 1 Density Fixed at 00H
18 17 1 Media length
Fixed at 00H
19 18 1 Status type See below.
20 19 1 Phase type See below.
21 20 1 Phase number (upper
byte)
22 21 1 Phase number (lower
byte)
29
Fixed at 00H
Fixed at 00H
Page 56
23 22 1 Notification number Not used
24 23 1 Expansion section
(number of bytes)
25 24 8 Reserved Fixed at 00H
(*1) With PT-9800PCN
(*2) With PT-9700PC
Fixed at 00H
30
Page 57
Error information 1
Flag Mask Definition
Bit 0 0x01 "No media” error
Bit 1 0x02 “End of media” error
Bit 2 0x04 “Cutter jam” error
Bit 3 0x08 Not used
Bit 4 0x10 Not used
Bit 5 0x20 Machine turned off
Bit 6 0x40 Not used
Bit 7 0x80 Not used
Error information 2
Flag Mask Definition
Bit 0 0x01 “Replace media” error
Bit 1 0x02 Not used
Bit 2 0x04 Communication error
Bit 3 0x08 Not used
Bit 4 0x10 “Cover open” error
Bit 5 0x20 “Print head overheating” error
Bit 6 0x40 Not used
Bit 7 0x80 System error
Reply to status request 00H
Printing completed 01H
Error occurred 02H
Not used 03H
Not used 04H
Notification 05H
Phase change 06H
Not used 07H to EFH
Send advanced data F0H
Not used F1H to FFH
Phase type
Phase type Value
Reception possible 00H
Printing 01H
32
Page 59
^V R Retrieve version Information
[ASCII] ^ V R
[Decimal] 94 86 82
[Hexadecimal] 5E 56 52
[Parameters] None
[Description]
・Retrieves the version information for the machine as a 16-character text string.
^CR Line feed in object
[ASCII] ^ C R
[Decimal] 94 67 82
[Hexadecimal] 5E 43 52
[Parameters] None
[Description]
・Adds a return 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:
1 ^ C R 2 ^ C R 3 ^ F F
(31h 5Eh 43h 52h 32h 5Eh 43h 52h 33h
5Eh 46h 46h)
Print result
1
2
3
33
Page 60
^OS Select object (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 command becomes invalid if any
other value has been specified.
・Use this command to insert data starting with an intermediary object.
[Example]
・To select the 33rd object:
^ O S 3 3 (5Eh 4Fh 53h 33h 33h)
^ON Select object (object name)
[ASCII] ^ O N data 00
[Decimal] 94 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. In addition, the command becomes invalid
if no text has been specified.
・“00h” should be added at the end of the text. This indicates the end of the text.
・Use this command to insert data starting with an intermediary object.
[Example]
・To select an object with the name “TEXT1”:
^ O N T E X T 1 00h
(5Eh 4Fh 4Eh 54h 45h 58h 54h 31h 00h)
34
Page 61
^DI Directly insert object
[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.)
(nh2*256)+nh1: Specified number of characters (bytes)
data: Text string
[Example]
・If “A” is specified as the print start text string, and the print start trigger is specified as the
print start text string, simply print “A” by printing with the following command.
^ D I 03h 00h 1 A 2 A
(5Eh 44h 49h 03h 00h 31h 41h 32h 41h)
Print result
1A2
ESC ia Specify command mode
[ASCII] ESC i a n
[Decimal] 27 105 97 nd
[Hexadecimal] 1B 69 61 nh
[Parameters] nh=00h 01h 03h 30h 31h 33h
[Description]
・Switches the mode.
nh=00h or 30h: ESC/P mode (default)
nh=01h or 31h: Raster mode
nh=03h or 33h: P-touch Template mode
・This command is a dynamic command.
[Remarks]
If the specified value is one other than those that can be set, raster mode will be entered.
35
Page 62
ESC iXT2 Select print start trigger
[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.
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)
nh3=02h: When the specified number of characters is received
(not including delimiters)
・This command is a static command.
[Remarks]
・Invalid if nh3 is a value other than 00h through 02h
[Example]
・When the print start trigger is “when all objects are filled”
ESC i X T 2 01h 00h 01h
(1Bh 69h 58h 54h 32h 01h 00h 01h)
36
Page 63
ESC iXP2 Specify print start command text string
[ASCII] ESC i X P 2 n1 n2 data
[Decimal] 27 105 88 80 50 nd1 nd2 datad
[Hexadecimal] 1B 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).)
・The default text string for the print start command is “^FF”.
・This command is a static command.
[Remarks]
・Invalid if more than 20 characters are specified
[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 i X P 2 05h 00h S T A R T
(1Bh 69h 58h 50h 32h 05h 00h 53h 54h 41h 52h 54h)
37
Page 64
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 in order 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.
[Example]
・To change the print start received character count to 100 characters: Since nh3=64h and
nh4=00h, the command will be as follows.
ESC i X r 2 02h 00h 64h 00h
(1Bh 69h 58h 72h 32h 02h 00h 64h 00h)
38
Page 65
ESC iXD2 Specify delimiter
[ASCII] ESC i 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.
nh1+(nh2*256): 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).)
・The default text string for the delimiter is “09h” (TAB code).
・This command is a static command.
[Remarks]
・Invalid if more than 20 characters are specified
[Example]
・To change the delimiter to “,” (2Ch):
Since the text string contains one character, nh1=01h and nh2=00h and, with the text string
(datah) “,” (2Ch), the command will be as follows.
ESC i X D 2 01h 00h 2Ch
(1Bh 69h 58h 44h 32h 01h 00h 2Ch)
39
Page 66
ESC iXa2 Specify non-printed 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 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.
[Remarks]
・Invalid if more than 20 characters are specified
[Example]
・To specify the non-printed text string as “ABCD”:
Since the text string contains four characters, nh1=05h and nh2=00h, and then the
command will be as follows.
ESC i X a 2 05h 00h 01h A B C D
nh3=03h: P-touch Template mode
・This command is a static command.
[Remarks]
Invalid if the specified value is any other than those that can be set
41
Page 68
ESC iXn2 Select template
[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]
・Specifies the number of the template selected from the machine.
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. This command becomes
invalid if any other value has been specified or if the number that has been specified is of a
template not transferred to the machine.
[Example]
・To select template number 99:
Since nh3=63h, the command will be as follows.
ESC i X n 2 01h 00h 63h
(1Bh 69h 58h 6Eh 32h 01h 00h 63h)
42
Page 69
ESC iXf2 Change 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.
[Example]
・To change the prefix character to “_”:
ESC i X f 2 01h 00h 5Fh (“_”)
(1Bh 69h 58h 66h 32h 01h 00h 5Fh)
nh3=00h: Full cut setting OFF, chain printing setting ON
nh3=01h: Full cut setting ON, chain printing setting ON
nh3=08h: Full cut setting OFF, chain printing setting OFF
nh3=09h: Full cut setting ON, chain printing setting ON
・This command is a static command.
[Example]
・To select full cut setting ON and chain printing setting ON:
ESC i X c 2 01h 00h 01h
(1Bh 69h 58h 63h 32h 01h 00h 01h)
44
Page 71
ESC iXy2 Specify machine settings (full cut option–specify cutting after specified
number of labels)
[ASCII] ESC i X y 2 n1 n2 n3
[Decimal] 27 105 88 121 50 nd1 nd2 nd3
[Hexadecimal] 1B 69 58 79 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. (If the full cut setting
is ON, the tape will be cut after the number of labels specified with this setting.)
nh3: Makes a full cut after a specified number of labels (00h to 63h)
・This command is a static command.
[Remarks]
・The full cut label number setting can be between 1 and 99. This command becomes invalid
if any other value has been specified.
[Example]
・To cut after every five labels (However, the full cut setting must be ON.)
ESC i X y 2 01h 00h 05h
(1Bh 69h 58h 79h 32h 01h 00h 05h)
nh3: 00h 01h
[Description]
・Specifies whether or not half cut is used.
nh3=00h: Half cut setting OFF
nh3=01h: Half cut setting ON
・This command is a static command.
[Example]
・To make half cuts:
nh3: 00h 01h
[Description]
・Specifies whether or not mirror printing is applied.
nh3=00h: Mirror printing setting OFF
nh3=01h: Mirror printing setting ON
・This command is a static command.
[Example]
・To apply mirror printing:
ESC i X M 2 01h 00h 01h
(1Bh 69h 58h 4Dh 32h 01h 00h 01h)
47
Page 74
ESC iXs2 Special tape setting
[ASCII] ESC i X s 2 n1 n2 n3
[Decimal] 27 105 88 115 50 nd1 nd2 nd3
[Hexadecimal] 1B 69 58 73 32 nh1 nh2 nh3
[Parameters] nh1: 01h (fixed)
nh2: 00h (fixed)
nh3: 00h 01h
[Description]
・Specifies whether or not the special tape setting is enabled.
When the special tape setting is ON, the cut settings and chain printing setting are not
available (same as being OFF). When the special tape setting is OFF, the cut settings and
chain printing setting are applied as specified.
nh3=00h: Special tape setting OFF
nh3=01h: Special tape setting ON
・This command is a static command.
[Example]
・To use the special tape setting:
ESC i X s 2 01h 00h 01h
(1Bh 69h 58h 73h 32h 01h 00h 01h)
48
Page 75
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.)
nh3=00h: Brother standard
nh3=01h: Windows 1250 (Eastern Europe)
nh3=02h: Windows 1252 (Western Europe)
・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)
49
Page 76
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 in the code
table according to the value of nh3.
nh3=00h: USA
nh3=01h: France
nh3=02h: Germany
nh3=03h: UK
nh3=04h: Denmark
nh3=05h: Sweden
nh3=06h: Italy
nh3=07h: Spain
nh3=08h: Japan
nh3=09h: Norway
nh3=0Ah: Denmark II
nh3=0Bh: Spain II
nh3=0Ch: Latin America
nh3=0Dh: Korea
nh3=40h: Legal
・The following 12 codes are changed.
23h 24h 40h 5Bh 5Ch 5Dh 5Eh 60h 7Bh 7Ch 7Dh 7Eh
(For the characters that are switched, refer to the international character set table.)
・The default setting is nh3=00h (USA).
・This command is a static command.
[Example]
・To change the international character setting to that for Japan:
ESC i X j 2 01h 00h 08h
(1Bh 69h 58h 6Ah 32h 01h 00h 08h)
50
Page 77
ESC iXR2 Specify line feed 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 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).)
・The default text string for the line feed command is “^CR”.
・This command is a static command.
[Remarks]
・Invalid if more than 20 characters are specified
[Example]
・To change the text string for the line feed command to “0Dh 0Ah”:
Since the text string to be specified (data), contains 2 characters, nh1=02h and nh2=00h.
Therefore, the command will be as follows.
ESC i X R 2 02h 00h 0Dh 0Ah
(1Bh 69h 58h 52h 32h 02h 00h 0Dh 0Ah)
51
Page 78
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.
[Example]
・To change the number of copies to 100: Since nh3=64h and nh4=00h, the command will
be as follows.
ESC i X C 2 02h 00h 64h 00h
(1Bh 69h 58h 43h 32h 02h 00h 64h 00h)
52
Page 79
ESC iXN2 Specify number of Numbering copies
[ASCII] ESC i X N 2 n1 n2 n3 n4
[Decimal] 27 105 88 78 50 nd1 nd2 nd3 nd4
[Hexadecimal] 1B 69 58 4E 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 with Numbering.
nh3+(nh4*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.
[Example]
・To change the number of Numbering copies to 100: Since nh3=64h and nh4=00h, the
command will be as follows.
ESC i X N 2 02h 00h 64h 00h
(1Bh 69h 58h 4Eh 32h 02h 00h 64h 00h)
nh3: 00h 01h
[Description]
・This command selects whether or not GS codes, which are included in bar code protocols
such as GS1-128 (UCC/EAN-128), are replaced with FNC1 codes.
nh3=00h: FNC1 replacement setting OFF
nh3=01h: FNC1 replacement setting ON
・This command is a static command.
[Example]
・To disable FNC1 replacement:
ESC i X F 2 01h 00h 00h
(1Bh 69h 58h 46h 32h 01h 00h 00h)
54
Page 81
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.
[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.
[Example]
・The print start trigger specified for the machine is retrieved. When the setting is “When the
specified text string is received”:
ESC i X T 1 00h 00h
・Retrieves the text string specified for the print start command.
・3- to 22-byte data is returned from the machine. (Varies depending on the length of the text
[3 and later]: Text string
・The retrieved value is a value specified by a static command.
[Example]
・When the text string for the print start command is specified as “START”:
If the command ESC i X P 1 00h 00h (1Bh 69h 58h 50h 31h 00h 00h) is sent,
05h 00h S T A R T (05h 00h 53h 54h 41h 52h 54h) is returned from the machine.
56
Page 83
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.
[1]: 02h (fixed)
[2]: 00h (fixed)
[3, 4]: nh3 nh4 settings
nh3+(nh4*256): Print start received character count
・The retrieved value is a value specified by a static command.
[Example]
・For a print start received character count of 500 characters:
If the command ESC i X 4 1 00h 00h (1Bh 69h 58h 72h 31h 00h 00h) is sent to the machine,
02h 00h F4h 01h is returned from the machine. 244 (F4h) + (1 (01h) * 256) = 500
characters
・Retrieves the specified non-printed text string.
・2- 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.
[Example]
・When “ABCD” is specified as the non-printed text string:
The following command is sent to the machine.
ESC i X a 1 01h 00h 01h
(1Bh 69h 58h 61h 31h 01h 00h 01h)
・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.
[Example]
When the setting is for raster mode:
ESC i X i 1 00h 00h
(1Bh 69h 58h 69h 31h 00h 00h)
The following is returned from the machine.
01h 00h 01h
60
Page 87
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.
[Example]
・When template number 99 is selected:
If ESC i X n 1 00h 00h (1Bh 69h 58h 6Eh 31h 00h 00h) is sent to the machine, the following
・Retrieves the various cut settings.
・3-byte data is returned from the machine.
[1]: 01h (fixed)
[2]: 00h (fixed)
[3]: Setting
00h: Full cut setting OFF, chain printing setting ON
01h: Full cut setting ON, chain printing setting ON
08h: Full cut setting OFF, chain printing setting OFF
09h: Full cut setting ON, chain printing setting ON
・The retrieved value is a value specified by a static command.
[Example]
・When the full cut setting is ON and the chain printing setting is ON:
If ESC i X c 1 00h 00h (1Bh 69h 58h 63h 31h 00h 00h) is sent to the machine, the following
is returned from the machine.
01h 00h 01h
62
Page 89
ESC iXy1 Retrieve machine settings (full cut option–specify cutting after specified
number of labels)
[ASCII] ESC i X y 1 n1 n2
[Decimal] 27 105 88 121 49 nd1 nd2
[Hexadecimal] 1B 69 58 79 31 nh1 nh2
[Parameters] nh1: 00h (fixed)
nh2: 00h (fixed)
[Description]
・Retrieves the setting for full cutting after a specified number of labels.
・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.
[Example]
・When a full cut is specified for every five labels:
If ESC i X y 1 00h 00h (1Bh 69h 58h 79h 31h 00h 00h) is sent to the machine, the following
・Retrieves the mirror printing setting.
・3-byte data is returned from the machine.
[1]: 01h (fixed)
[2]: 00h (fixed)
[3]: Setting
00h: Mirror printing setting OFF
01h: Mirror printing setting ON
・The retrieved value is a value specified by a static command.
[Example]
・When the mirror printing setting is ON:
If ESC i X M 1 00h 00h (1Bh 69h 58h 4Dh 31h 00h 00h) is sent to the machine, the
following is returned from the machine.
01h 00h 01h
65
Page 92
ESC iXs1 Retrieve special tape setting
[ASCII] ESC i X s 1 n1 n2
[Decimal] 27 105 88 115 49 nd1 nd2
[Hexadecimal] 1B 69 58 73 31 nh1 nh2
[Parameters] nh1: 00h (fixed)
nh2: 00h (fixed)
[Description]
・Retrieves the special tape setting.
・3-byte data is returned from the machine.
[1]: 01h (fixed)
[2]: 00h (fixed)
[3]: Setting
00h: Special tape setting OFF
01h: Special tape setting ON
・The retrieved value is a value specified by a static command.
[Example]
・When the special tape setting is ON:
If ESC i X s 1 00h 00h (1Bh 69h 58h 73h 31h 00h 00h) is sent to the machine, the following
is returned from the machine.
01h 00h 01h
66
Page 93
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.
[1]: 01h (fixed)
[2]: 00h (fixed)
[3]: Setting
00h: Brother standard
01h: Windows 1250 (Eastern Europe)
02h: Windows 1252 (Western Europe)
・The retrieved value is a value specified by a static command.
[Example]
・When the character code set is set to the Brother standard:
If ESC i X m 1 00h 00h (1Bh 69h 58h 6Dh 31h 00h 00h) is sent to the machine, the
following is returned from the machine.
01h 00h 00h
67
Page 94
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.
[1]: 01h (fixed)
[2]: 00h (fixed)
[3]: Setting
00h: USA
01h: France
02h: Germany
03h: UK
04h: Denmark
05h: Sweden
06h: Italy
07h: Spain
08h: Japan
09h: Norway
0Ah: Denmark II
0Bh: Spain II
0Ch: Latin America
0Dh: Korea
40h: Legal
・The retrieved value is a value specified by a static command.
[Example]
・When the international character setting is set to that for Japan:
If ESC i X j 1 00h 00h (1Bh 69h 58h 6Ah 31h 00h 00h) is sent to the machine, the following
is returned from the machine.
68
Page 95
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.
[Example]
・When the prefix character is set to “_”:
If ESC i X f 1 00h 00h (1Bh 69h 58h 66h 31h 00h 00h) is sent to the machine, the following
is returned from the machine.
01h 00h 5Fh
(“_”)
69
Page 96
ESC iXR1 Retrieve line feed 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 feed command.
・2- 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.
[Example]
・When the text string for the line feed command is specified as “0Dh 0Ah”:
If ESC i X R 1 00h 00h (1Bh 69h 58h 52h 31h 00h 00h) is sent to the machine, 02h 00h 0Dh
0Ah is returned from the machine.
70
Page 97
ESC iXC1 Retrieve number of copies setting
[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): Number of copies
・The retrieved value is a value specified by a static command.
[Example]
・When the number of copies is set to 500:
If the command ESC i X C 1 00h 00h (1Bh 69h 58h 43h 31h 00h 00h) is sent to the
machine,
02h 00h F4h 01h is returned from the machine. 244 (F4h) + (1 (01h) * 256) = 500
characters
71
Page 98
ESC iXN1 Retrieve number of Numbering copies setting
[ASCII] ESC i X N 1 n1 n2
[Decimal] 27 105 88 78 49 nd1 nd2
[Hexadecimal] 1B 69 58 4E 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 machine.
nh3+(nh4*256): Number of Numbering copies
・The retrieved value is a value specified by a static command.
[Example]
・When the number of Numbering copies is set to 500:
If the command ESC i X N 1 00h 00h (1Bh 69h 58h 4Eh 31h 00h 00h) is sent to the
machine,
02h 00h F4h 01h is returned from the machine. 244 (F4h) + (1 (01h) * 256) = 500
characters