GS P

VERSAJET

 

 

 

[Name]

Set horizontal and vertical motion units

 

Programming Reference

 

 

 

[Format]

ASCII

GS P x y

 

 

 

 

 

 

 

Hex

1D 50 x y

 

 

 

 

Decimal

29 80 x y

 

 

 

[Range]

0 ≤ x ≤ 255, 0 ≤ y ≤ 255

 

 

 

[Default]

x = 203, y = 203

 

 

 

[Description]

Sets the horizontal and vertical motion units to 1/x and 1/y inch, respectively.

 

 

 

 

When x = 0, the default setting of the horizontal value is used.

When y = 0, the default setting of the vertical value is used.

[Notes]

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

The horizontal and vertical motion units indicate the minimum pitch used for calculating the values of related commands.

In standard mode, the following commands use x or y.

Commands using x: ESC SP, ESC $, ESC \, GS L, and GS W.

Commands using y: ESC 3, ESC J

In page mode, the following commands use x or y, when the starting position is set to the upper left or lower right of the printing area using ESC T.

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

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

152