PPTII-A Programming Manual
www.hprt.com
33
GS L nL nH
[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
[Dscription]
Sets the left margin using nL and nH.
The left margin is set to [(nL + nH*256)*0.125 mm].
[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.
[Default]
nL = 0, nH = 0
GS W nL nH
[Name]
Set printing area width
[Format]
ASCII
GS
W
nL nH
Hex
1D
57
nL nH
Decimal 29
87
nL
nH
[Range]
0 ≤ nL ≤ 255
0 ≤ nH ≤ 255
[Dscription]
Set printing area width using nL and nH.
• Set printing area width to [( nL + nH × 256)× 0.125mm)] from the beginning of a line.
[Notes]
• In standard mode, this command is enabled only when processed at the beginning of
a line.
• This command is ineffective in page mode, all the command data is managed as
normal characters.
• This command does not affect printing in page mode.
• If the command sets the value of left printing area width more than the
printable area, the printing area width is the printable area width-left margin.
[Default]
related to the actual printable width, different printer types set different.