Download Print this page

Code Soft TP-290XIII Programmer's Manual page 23

Advertisement

35、GS L nL nH
[Format]
ASCII
Hex
Decimal
0 ≤ nL ≤ 255
[Range]
0 ≤ nH ≤ 255
[Description]
Sets the left margin using nL and nH.
§
左 边距
[Notes]
§
§
§
§
§
§
[Default]
nL = 0, nH = 0
[Reference]
GS P, GS W
36、GS P x y
Set horizontal and vertical motion units
[Format]
ASCII
Hex
Decimal
0 ≤ x ≤ 255
[Range]
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.
[Notes]
§
Set left margin
GS
L
1D
4C
29
76
The left margin is set to [( nL + nH ╳  2 56) ╳  h orizontal motion unit]]
inches.
可打印 区域
打印区域宽度
This command is effective only 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.
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.
GS
P
1D
50
29
80
The horizontal direction is perpendicular to the paper feed direction and the
vertical direction is the paper feed direction.
THERMAL RECEIPT PRINTER
nL nH
nL nH
nL nH
x
y
x
y
x
y
22

Advertisement

loading
Need help?

Need help?

Do you have a question about the TP-290XIII and is the answer not in the manual?

Subscribe to Our Youtube Channel