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

ESC Q Specify right margin

Page 50 highlights

ESC/P Command Reference ESC Q Specify right margin ASCII: ESC Q n Hexadecimal: 1B 51 n Parameters 1≤n≤255 Left margin

  • 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
- 44 -
5. Control Command Details
ESC Q
Specify right margin
ASCII:
ESC
Q
n
Hexadecimal: 1B
51
n
Parameters
1≤
n
≤255
Left margin<character width (when the command was specified)*n
printable area
Description
The left margin and the right margin use the left edge of the physically printable area as the reference.
The right margin position is the right edge of the specified column. (Character width*n)
The setting is in the range 1
(character width*n)
x. Settings outside that range are ignored. However, x is
a value dependent on the media.
Left margin
print area<right margin
The position of the right margin is the character width (when the command was specified)*n from the left
edge.
The character width when the margin is specified includes the settings for the character spacing, full-width
character spacing or half-width character spacing. In addition, when a pitch of 10 cpi ,12 cpi or 15cpi,
compressed characters or double-width characters are specified, that character width is considered as the
unit.
However, character styles that increase the character width are not applied.
The horizontal print position is moved to the left margin position.
If the right margin setting is not at the beginning of the line, the right margin is specified after a line feed.
The beginning of the line indicates the left margin position for left alignment; for right and center alignment,
it means that no image or character is entered on the line.
Even if the character width is changed after the right margin has been specified, the right margin position
does not change.
A right margin setting that puts the right margin position to the left of the left margin position is ignored.
The right margin should be specified at least one column greater than the left margin.
If the difference between the right margin position and the left margin position is less than one character,
that character is ignored.
When proportional pitch is specified with the ESC p command, a character width of 10 cpi is applied.
If the print media is continuous length tape, the printing orientation is landscape and the page length is not
specified, commands specifying the right margin are ignored.