Unisys E-@CTION EFP9800 User Manual

Page 111

Advertising
background image

EFP9800 ESC/POS Commands

3255 4073– 002

6– 21

Set Relative Print Position

Sets the print starting position based on the current position, in the
fundamental calculation pitch. The distance (in inches) from the current
position is calculated as: [N x (fundamental calculation pitch)]. See the Set
Fundamental Calculation Pitch command (1D 50).

Pitch N to the right is calculated as: (n1 + n2 x 256). Pitch N to the left is
calculated as:

(n1 + n2 x 256) = 65535 - N.

The print position moves right when the result is a positive number, and left
when the result is a negative number.

Hexadecimal Decimal

ASCII

Value

of

n1 Value

of

n2

1B 5C n1 n2 27

92

n1 n2 ESC

\

n1 n2

0 -255

0 -255

Standard Mode

The horizontal direction of the fundamental calculation pitch is used to
calculate the print starting position.

Page Mode

Two types of fundamental calculation pitch are used to calculate the print
starting position, depending on the value of the Select Print Direction in Page
Mode command (1B 54 n). For more information see “ Page Mode” later in this
section.

If 1B 54 n = 0 or 2, the horizontal direction of the fundamental calculation
pitch is used.

If 1B 54 n = 1 or 3, the vertical direction of the fundamental calculation
pitch is used.

The command is ignored when the start position specified is beyond the
beginning or end of the line or outside the printing area width or the left margin.

Select Justification

Begins justification as specified by the value of n. Any blank space (for example
as a result of setting the relative or absolute print position or a tab) is also
justified.

Advertising