Control Codes

 

PcOS Series 150

Programmer's Guide

Validation Operation

 

 

 

 

 

 

 

 

 

Function

Set left/right print margin

 

 

 

 

 

ASCII

[ESC] X <n1> <n2>

 

 

 

 

 

Hexadecimal

1BH 58H <n1> <n2>

 

 

 

 

 

Decimal

<27> <88> <n1> <n2>

 

 

 

 

 

IPCL

none

 

 

 

 

 

 

 

 

EPOS

[ESC] l or [ESC] Q

 

 

 

 

 

Description

Set left and right print margin in characters from the home position.

 

Where

n1 = Left margin

 

 

 

 

 

 

 

 

n2 = Right margin

 

 

 

 

 

 

 

 

The absolute position depends on the current print pitch.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8 cpi

10 cpi

 

12 cpi

15 cpi

17.1 cpi

20 cpi

24 cpi

 

Maximum

 

18

23

 

28

35

40

46

56

 

Columns

 

 

 

 

 

 

 

 

 

 

<n1>

 

1 to 18

1 to 23

 

1 to 28

1 to 35

1 to 40

1 to 46

1 to 56

 

<n2>

 

<n1>+2

<n1>+2

 

<n1>+3

<n1>+3

<n1>+4

<n1>+4

<n1>+4

 

 

 

to 18

to 23

 

to 28

to 35

to 40

to 46

to 56

 

 

 

 

 

 

 

 

 

 

 

If the left and right margins are set to the right of the current horizontal position, the new left and right margins become valid in the same line.

If the left margin is set to the left of the current horizontal position and the right margin to the right of the current horizontal position, the right margin becomes valid in the same line, but the left margin setting becomes valid in the next line.

When the left and right margins are set to the left of the current horizontal position, both left and right margin settings appear to become valid in the next line. This is because an AUTO CR is performed by the following data.

Page 54

Rev G

12/14/99

Page 64
Image 64
Star Micronics 150 manual Function Set left/right print margin