Star Micronics NP-255 Product Specifications page 30

2 inch journal printer
Table of Contents

Advertisement

33) Automatic transmission of printer status : << GS v NUL >>
Code
*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.
Bit
0
Paper near end
1
Platen open
2
Paper end
3
Head temp. too high
4
Not defined
5
Not defined
6
Peripheral device
7
Data recognition
34) Registration of NV bit image : << GS T n >>
Code
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.
*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
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.
: [1D] h + [76] h + [00] h
Function
: [1D] h + [54] h + n
n(hex)
0
Pattern 0 registration starts
1
Pattern 1 registration starts
2
Pattern 2 registration starts
FF
Registration ends
0
Paper present
Normal
Paper present
Normal
Receipt
0
Function
* [00≤n≤02] h
26
Value
1
Near end
Open
Paper end
Head temp. too high
Journal

Advertisement

Table of Contents
loading

Table of Contents