![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/0/a9/0a90a2e7-ecc7-4ff3-9654-b409a1ae8f71/0a90a2e7-ecc7-4ff3-9654-b409a1ae8f71-bg16.png)
42
n selects the printing position as follows:
N Printing position
0,48 Not printed
1,49 Above bar code
2,50 Below bar code
3,51 Both above and below the bar code
● HRI indicates Human Readable interpretation.
[Default] n = 0
GS I n
[Name] Transmit printer ID
[Format] ASCII ESC I n
Hex 1D 49 n
Decimal 29 73 n
[Range] 1 ≤n ≤3 , 49 ≤n ≤51
[Description] Transmits the printer ID specified by n as follows:
n Printer ID Specification ID(hexadecimal)
1,49 Printer model ID STP-103S / STP-103P 30
2,50 Type ID 02
3,51 ROM version ID Depends on ROM version 10
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
[Description] Sets the left margin using nL and nH.
● The left margin is set to [(nL + nH X 256) X (horizontal motion
unit6)] inches.
Printable area
Left Margin Printing area width
43
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 1/x inch, respectively.
When x is set to 0, the default setting value is used.
When y is set to 0, the default setting value is used.
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
[Description] Sets the printing area width to the area specified by nL and nH.
● The printing area width is set to [(nL + 256 X nH) X horizontal
motion unit] inches.
Printable area
Left Margin Printing area width
GS ^ r t m
[Name] Execute macro
[Format] ASCII GS ^ r t m
Hex 1D 5E r t m
Decimal 29 94 r t m
[Range] 0 ≤ r ≤ 255
0 ≤ t ≤ 255
0 ≤ m ≤ 1
[Description] Executes a macro.
● r specifies the number of times to execute the macro.
● t specifies the waiting time for executing the macro.
The waiting time is t X 100 msec for every macro execution.
● m specifies macro executing mode.
● When the LSB of m = 0:
The macro executes r times continuously at the interval
specified by t.