THERMAL RECEIPT PRINTER
23
§
In standard mode, the following commands use x or y, regardless of
character rotation (upside-down or 90
°
clockwise rotation):
①
Commands using x:
ESC SP
,
ESC $
,
ESC \
,
FS S, GS L
,
GS W
②
Commands using y:
ESC 3
,
ESC J
,
GS V
§
In page mode, the following command use x or y, depending on character
orientation:
①
When the print starting position is set to the upper left or lower right of the
printing area using
ESC T
(data is buffered in the direction perpendicular to
the paper feed direction):
Commands using x:
ESC SP
,
ESC $
,
ESC W
,
ESC \, FS S
Commands using y:
ESC 3
,
ESC J
,
ESC W
,
GS $
,
GS \
,
GS V
②
When the print starting position is set to the upper right or lower left of the
printing area using
ESC T
(data is buffered in the paper feed direction):
Commands using x:
ESC 3
,
ESC J
,
ESC W
,
GS $
,
GS \
Commands using y:
ESC SP
,
ESC $
,
ESC W
,
ESC \
,
FS S
,
GS V
§
The command does not affect the previously specified values.
§
The calculated result from combining this command with others is truncated
to the minimum value of the mechanical pitch.
[Default]
x = 200, y = 200
[Reference]
ESC SP, ESC $, ESC 3, ESC J, ESC W, ESC \, GS $, GS L, GS V, GS W, GS \
37
、
GS W nL nH
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 + nH
×
256)
×
horizontal motion unit] inches
可 打 印 区域
左 边距
打 印 区域宽 度
[Notes]
§
This command is effective only processed at the beginning of the line.
§
In page mode, the printer performs only internal flag operations.
§
This command does not affect printing in page mode.
§
If the [left printing area width] exceeds the printable area, [printable
area width - left margin] is used.
§
The horizontal and vertical motion units are specified by
GS P
. Changing the
horizontal and vertical motion units does not affect the current left margin.
§
The horizontal motion unit (x) is used for calculating the printing area width.
§
The calculated result is truncated to the minimum value of the mechanical pitch.