Specifications
TH230/TH230+ Programmers Guide
153
GS L
Function: Set left margin
Code ASCII: GS L n
L
n
H
Code HEX:
0x1D 0x4C n
L
n
H
Range: 0 ≤ (n
L
+ n
H
× 256) ≤ 65535 (0 ≤ n
L
≤ 255, 0 ≤ n
H
≤ 255)
Default:
(n
L
+ n
H
× 256) = 0 (n
L
= 0, n
H
= 0)
Description:
In standard mode, sets the left margin to (n
L
+ n
H
× 256) × (horizontal motion
unit) from the left edge of the printable area.
Notes:
• When standard mode is selected, this command is enabled only when
processed at the beginning of the line.
• The left margin has no effect in page mode. If this command is processed
in page mode, the left margin is set and it is enabled when the printer
returns to standard mode.
• If the setting exceeds the printable area, the left margin is automatically
set to the maximum value of the printable area.
• If this command and GS W set the printing area width to less than the
width of one character, the printing area width is extended to
accommodate one character for the line.
• Horizontal motion unit is used.
• If horizontal motion unit is changed after changing left margin, left margin
setting is not changed.
• Left margin setting is effective until ESC @ is executed, the printer is
reset, or the power is turned off.
• Left margin position is left edge of the printable area. If left margin
setting is changed, left edge of the printable area will move.
•
The horizontal motion unit is specified by GS P.