beautypg.com

Esc q specify right margin – Brother TD-4100N User Manual

Page 44

background image

ESC Q Specify right margin

[ASCII] ESC Q n

[Decimal] 27 81 n

[Hexadecimal] 1B 51 n

[Parameters] 1≤n≤255

Left margin < character width * n at time of setting ≤ 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 set column. (Character width * n)

The setting is in the range 0 ≤ (character width * n) ≤ x. ettings 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 * n (at the time that the right margin

is set) from the left edge.

The character width when specifying the margin includes the settings for specifying

character spacing, character spacing for full-width characters or half-width characters. In

addition, when pitches of 10 cpi (= 30 dots), 12 cpi (= 25 dots), or 15 cpi (= 20 dots),

reduced characters, or double-width characters are specified, that character width is

considered the unit.

However, increases in the character width due to character styles are not applied.

The horizontal printing 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 set 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 is set, the right margin

position does not change.

Any right margin setting that puts the right margin position to the left of the left margin

position is ignored.

When setting the right margin, set it at least one column (10 cpi = 30 dots) greater than
the left margin.

(If the character width * n at the time of setting < (left margin + 30 dots), the setting is

ignored.)

44

If the difference in the right margin position and the left margin position is less than one
character, that character is ignored.

This manual is related to the following products: