beautypg.com

4 horizontal movement commands, Esc l specify left margin, Esc l – Brother RJ-4040 User Manual

Page 46: Specify left margin, Ction

background image

ESC/P Command Reference

- 40 -

5. Control Command Details

5.4 Horizontal movement commands

ESC l

Specify left margin

ASCII: ESC

l

n

Decimal: 27

108

n

Hexadecimal: 1B

6C n

Parameters

0≤n≤255

0≤left 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.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

Print area

Unprinted

area

Unprinted

area

Left margin setting

Right margin setting

Left edge

Left margin position

Right margin position

Printable area

Example: Left margin=Column 5; right margin=Column 14

Columns

This manual is related to the following products: