REGO Thermal Printer Technical Manual
www.regotek.com
26
[Description]
Align all the data in one line to the specified position. n selects the justification as
follows:
n
Justification
0, 48
Left justification
1, 49
Centering
2, 50
Right justification
[Notes]
The command is enabled only when processed at the beginning of the line in standard mode.
If this command is input in page mode, the printer performs only internal flag operations.
This command has no effect in page mode.
This command executes justification in the printing area.
This command justifies the space area according to HT, ESC $ or ESC \.
[Default]
n = 0
[Example]
GS L nL nH Set left margin
[Name]
Set left margin
[Format]
ASCII
GS
L
nL nH
Hex
1D
4C
nL nH
Decimal
29
76
nL nH
[Range]
0 ≤ nL ≤ 255
0 ≤ nH ≤ 255
[Description]
Set the left margin using nL and nH.
The left margin is set to [(nL + nH × 256) × horizontal motion unit)] inches.
[Notes]
This command is effective only when processed at the beginning of the line in standard mode.
If this command is input in page mode, the printer performs only internal flag operations.
This command does not affect printing in page mode.
If the setting exceeds the printable area, the maximum value of the printable area is used.
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.
[Default]
nL = 0, nH = 0
[Reference]
GS P, GS W