-------------Thermal Printer-------------
40
Normal mode or Double-height mode = 1 dot
[Default] nL = 0, nH = 2
For 58mm paper width model; nL = 104, nH = 1
[Reference]
GS L, GS P
GS \ nL nH
[Name] Set relative vertical print position in page mode
[Format] ASCII GS \ nL nH
Hex 1D 5C nL nH
Decimal 29 92 nL nH
[Range] 0≤nL≤255
0≤nH≤255
[Description] Sets the relative vertical print starting position from the current position in page mode.
·This command sets the distance from the current position to [(nL + nH X 256) X vertical or
horizontal motion unit].
[Details] ·This command is ignored unless page mode is selected.
·When pitch N is specified to the movement downward:
nL + nH X 256 = N
When pitch N is specified to the movement upward (the negative direction), use the complement
of 65536.
When pitch N is specified to the movement upward:
nL + nH X 256 = 65536
–
N
·Any setting that exceeds the specified printing area is ignored.
·This command function as follows, depending on the print starting position set by
ESC T
:
When the starting position is set to the upper left or lower right of the printing, the vertical
motion unit (y) is used.
When the starting position is set to the upper right or lower left of the printing area, the
horizontal motion unit (x) is used.
·The horizontal and vertical motion unit are specified by
GS P
.
·The
GS P
command can change the horizontal (and vertical) motion unit. However, the value cannot
be less than the minimum horizontal movement amount, and it must be in even units of the
minimum horizontal movement amount.
[Reference]
ESC $, ESC T, ESC W, ESC \, GS $, GS P
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
m = 0, 1
[Description] Executes a macro.
·r specifies the number of times to execute the macro.
·t specifies the waiting time for executing the macro.
·m specifies macro executing mode.
When the LSB of m = 0:
The macro executes r times continuously at the interval specified by t.
When the LSB of m = 1:
After waiting for the period specified by t, the PAPER OUT LED indicators blink and the printer
waits for the FEED button to be pressed. After the button is pressed, the printer executes the
macro once. The printer repeats the operation r times.
[Details] ·The waiting time is t x 100 m s for every macro execution.
·If this command is received while a macro is being defined, the macro definition is aborted and the
definition is cleared.
·If the macro is not defined or if r is 0, nothing is executed.
·When the macro is executed (m = 1), paper always cannot be fed by using the FEED button.
[Reference]
GS :