• The left margin is set to [( nL + nH ╳ 256) ╳ horizontal motion unit]] inches.
Left margin Printing area width
[Details] • This command is effective only processed at the beginning of the line in
• If this command is input in page mode, the printer performs only internal flag
• This command does not affect printing in page mode.
• If the setting exceeds the printable area, the maximum value of the printable
• The horizontal and vertical motion units are specified by GS P. Changing the
horizontal and vertical motion unit does not affect the current left margin.
• The horizontal motion unit (x) is used for calculating the left margin. The
calculated result is truncated to the minimum value of the mechanical pitch.
[Default] nL = 0, nH = 0
[Reference] GS P, GS W
52、GS P x y
[Name] Set horizontal and vertical motion units
[Format] ASCII GS P x y
Hex 1D 50 x y
Decimal 29 80 x y
[Range] 0
x
255
0
y
255
[Description] 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.
[Details]
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):