5.4 Horizontal movement commands
ESC l
Specify left margin
ASCII:
ESC
Decimal:
27
Hexadecimal: 1B
Parameters
0≤n≤255
0≤left margin<right margin
Description
The left margin and the right margin use the left edge of the physically printable area as the reference.
The area between the left edge of the physically printable area and the specified number of columns is
specified as an unprinted area. The left margin position is the right edge of the specified column.
(Character width*n)
The setting is in the range 0≤ (character width*n) ≤x. Settings outside that range are ignored. However, x is
a value dependent on the media.
The area between the left edge (first column) to the nth column is specified as an unprinted area.
The position of the left margin is the character width (when this command was specified)*n from the left
edge.
The character width when the margin 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 (=20 dots) or 12 cpi
(=16 dots), 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.
Left edge
Columns
1
2
・
Unprinted
area
Left margin setting
・
l
n
108
n
6C
n
Left margin position
3
4
5
6
7
Right margin setting
Example: Left margin=Column 5; right margin=Column 14
8
9
10
11
12
Print area
Printable area
- 38 -
ESC/P Command Reference
Right margin position
13
14
15
16
Unprinted
area
5. Control Command Details