beautypg.com

Microcom 814M Programming Manual User Manual

Page 58

background image

54

[Default]

[Reference]

nL = 0, nH = 0

GS P, GS W

GS P xL xH yL yH

[Name]

[Format]

[Range]

[Description]

[Notes]

[Default]

[Reference]

Set horizontal and vertical motion units

ASCII

GS

P

xL xH yL yH

Hex

1D

50

xL xH yL yH

Decimal 29

80

xL xH yL yH

x = xL + xH x 256, y = yL + yH x 256

0 ≤ x ≤ 360 ,0 ≤ y ≤ 360

0 ≤ y ≤360

Sets the horizontal and vertical motion units to approximately 25.4/ x mm {1/ x inches}

and approximately 25.4/ y mm {1/ y inches} respectively. When x and y are set to 0, the

default setting of each value is used.

ƒ

The horizontal direction is perpendicular to the paper feed direction and the vertical

direction is the paper feed direction.

ƒ

In standard mode, the following commands use x or y, regardless of character rotation

(upside-down or 90° clockwise rotation):

-Commands using x: ESC SP, ESC $, ESC \, FS S, GS L, GS W

-Commands using y: ESC 3, ESC J, GS V

ƒ

In page mode, the following command use x or y, depending on character orientation:

- When the print starting position is set to the upper left or lower right of the

printing area using ESC T (data is buffered in the direction perpendicular to the

paper feed direction):

Commands using x: ESC SP, ESC $, ESC W, ESC \, FS S

Commands using y: ESC 3, ESC J, ESC W, GS $, GS \, GS V

- When the print starting position is set to the upper right or lower left of the

printing area using ESC T (data is buffered in the paper feed direction):

Commands using x: ESC 3, ESC J, ESC W, GS $, GS \

Commands using y: ESC SP, ESC $, ESC W, ESC \,FS S,

GS V.

ƒ

If the related commands are not executed after changing motion unit, relative settings

shall not be changed.

ƒ

The minimum motion unit is a combined result of this command and other commands.

300 DPI model: x = 305, y = 305; 203 DPI model: x = 203, y = 203

ESC SP, ESC $, ESC 3, ESC J, ESC W, ESC \, GS $, GS L, GS V, GS W, GS \