beautypg.com

Esc gs r n1 n2 – Star Micronics Line Thermal/Dot Printer User Manual

Page 53

background image

Rev. 0.00

3-41

STAR Line Mode Command Specifications

ESC GS R n1 n2

[Name] Move relative position
[Code]

ASCII

ESC

GS

R

n1

n2

Hexadecimal

1B

1D

52

n1

n2

Decimal

27

29

82

n1

n2

[Defined Area]

Thermal

: 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255

Slip

: 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255

Validation

: 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255

[Initial Value]

Thermal

: -

Slip

: -

Validation

: -

[Function]

Moves the printing position from the current position to the (n1 + n2 x 256) dot position.

This command is ignored if the print region is exceeded.

When (n1 + n2 x 256) ≥ 32768, it moves {65536 – (n1 + n2 x 256)} dots in the left direction.

When (n1 + n2 x 256) < 32768, it moves (n1 + n2 x 256)} dots in the right direction.

The right margin is also the reference for upside-down printing.

The left margin is also the reference for upside-down printing.

,

The right margin is also the reference for upside-down printing.