Brother International PJ-883 ESC/ P Brother Command Reference - Page 42

ESC – Apply/cancel underlining, Underline, Underline Position

Page 42 highlights

ESC/P Command Reference ESC - Apply/cancel underlining ASCII: ESC - n Hexadecimal: 1B 2D n Parameters n=0, 1, 2, 3, 4 or 48 ("0"), 49 ("1"), 50 ("2"), 51 ("3"), 52 ("4") Description  Applies or cancels underlining. n=4 or 52 ("4"): Applies underlining with a width of 4 dots. n=3 or 51 ("3"): Applies underlining with a width of 3 dots. n=2 or 50 ("2"): Applies underlining with a width of 2 dots. n=1 or 49 ("1"): Applies underlining with a width of 1 dot. n=0 or 48 ("0"): Cancels underlining.  This command is valid anywhere in a text line.  The underlining specified with this command is a continuous line.  Spaces between characters and words are also underlined.  Areas with the "specify absolute horizontal position" (ESC $) and "specify relative horizontal position" (ESC \) commands are not underlined.  4 dots is added to the line feed amount for lines that include underlined characters.  The underline is positioned as follows: Underline Underline Position 1 dot wide 2 dots below the characters 2 dots wide Between 2 dots and 3 dots below the characters 3 dots wide Between 1 dot and 3 dots below the characters 4 dots wide Between 1 dot and 4 dots below the characters ABCDE ABCDE ABCDE (1-dot width) (3-dot width) Example Code: ABC ESC - 1 ABC ESC - 0 ABC FF Print result: ABCABCABC - 36 - 5. 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
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129

ESC/P Command Reference
- 36 -
5. Control Command Details
ESC –
Apply/cancel underlining
ASCII:
ESC
-
n
Hexadecimal: 1B
2D
n
Parameters
n=0, 1, 2, 3, 4 or 48 (“0”), 49 (“1”), 50 (“2”), 51 (“3”), 52 (“4”)
Description
Applies or cancels underlining.
n=4 or 52 (“4”): Applies underlining with a width of 4 dots.
n=3 or 51 (“3”): Applies underlining with a width of 3 dots.
n=2 or 50 (“2”): Applies underlining with a width of 2 dots.
n=1 or 49 (“1”): Applies underlining with a width of 1 dot.
n=0 or 48 (“0”): Cancels underlining.
This command is valid anywhere in a text line.
The underlining specified with this command is a continuous line.
Spaces between characters and words are also underlined.
Areas with the “specify absolute horizontal position” (ESC $) and “specify relative horizontal position”
(ESC \) commands are not underlined.
4 dots is added to the line feed amount for lines that include underlined characters.
The underline is positioned as follows:
Underline
Underline Position
1 dot wide
2 dots below the characters
2 dots wide
Between 2 dots and 3 dots below the characters
3 dots wide
Between 1 dot and 3 dots below the characters
4 dots wide
Between 1 dot and 4 dots below the characters
ABCDE
ABCDE
ABCDE
(1-dot width)
(3-dot width)
Example
Code:
ABC ESC - 1 ABC ESC - 0 ABC FF
Print result: ABCABCABC