
Star PRNT Command Specifications
2-30
2.3.8. Page Function
ESC GS h 0 k m n
[Name]
180˚ Inversion Function
[Code] ASCII
ESC GS h
0
k m n
Hex.
1B
1D
68
30 k m n
Decimal 27
29
104 48 k m n
[Defined Area]
0
≤
k
≤1
, m = 0, n = 0
[Initial Value]
Memory switch setting
[Function]
Enables/disables the 180° inversion function.
k
180˚ Inversion Function
0
Enable
1
Disable
<
180˚ Inversion Function
>
Enables/disables the 180° inversion function.
When the 180° inversion function is enabled, a 180° inversion is executed by the 180° inversion trigger.
However, this function is executed for the print data that fits in the image buffer length.
In case with print data longer than the image buffer length, the 180° inversion function is ignored.
Also, when printing is started by other than the 180° inversion trigger described below, when the print startup
control setting is set for each line, during the page mode, or while a macro is being executed, the 180° inversion
function is ignored.
This setting will not be cleared by <ESC> @ command.
180° inversion trigger
・
Cutter command:
<ESC> d n
・
FF command:
<FF>
・
BM detection command: <ESC> d n, <FF>
Example of usage
1) 180° inversion function enabled: <ESC> <GS> h 0 k m n (k=0x01, m=0x00, n=0x00)
2) Print data transmission:
Print data (Print length must be within the image buffer length.)
3) Trigger command transmission: <ESC> d n (Cutter command is the 180° inversion trigger.)