26
33) Automatic transmission of printer status : << GS v NUL >>
Code : [1D] h + [76] h + [00] h
*Automatically transmits the status when the printer status changes.
*Once setting is made, it is effective until software is reset, power is set off, or reset
signal is input.
*The commands are stored in the internal receive input buffer and executed
sequentially.
*Status of transmission is one byte and functions are explained below.
Value
Bit Function
0 1
0
Paper near end
Paper present
Near end
1 Platen
open
Normal
Open
2
Paper end
Paper present
Paper end
3
Head temp. too high
Normal
Head temp. too high
4 Not
defined
5 Not
defined
6 Peripheral
device
Receipt
Journal
7 Data
recognition
0
34) Registration of NV bit image : << GS T n >>
Code : [1D] h + [54] h + n
Registers the bit image print data determined in advance.
*Three patterns can be registered from 0 ~ 2.
*Bit image print data for each pattern can be registered up to the maximum paper
length of 150mm. The exceeding data to the maximum value is neglected.
*The registered data will not be erased by power off/on, input of reset signal, printer
initialization or software reset.
n values assign following justification.
n(hex) Function
0
Pattern 0 registration starts
1
Pattern 1 registration starts
2
Pattern 2 registration starts
FF
Registration
ends
*When registration starts in the middle of a line, whole line is registered.
* When registration ends in the middle of a line, whole line is not registered
< Command sequence for registration of the pattern 0 >
GS T [00] h + (bit image data by ESC * + ESC J n) x m lines + GS T [FF] h
35) NV bit image print: << GS P n >>
Code : [1D] h + [64] h + Dn * [00
≤
n
≤
02] h
Prints the bit image print data registered.
*Selects a pattern to be printed from the registered data (0~2, three patterns) by using
“n” value.