Brother International PT-P900 P-touch Template Manual/ Command Reference - Page 88

ESC iXR2 Specify line feed command text string

Page 88 highlights

P-touch Template Command Reference ESC iXR2 Specify line feed command text string ASCII: ESC i X R Decimal: 27 105 88 82 Hexadecimal: 1B 69 58 52 2 n1 n2 data 50 nd1 nd2 datad 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) - 82 - 7. Control Command Details

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120

P-touch Template Command Reference
- 82 -
7.
Control Command Details
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)