Star Micronics NP-225 User Manual
Page 31

28
20) Panel switch enable/disable:<< ESC c 5 n >>
Code
: [1B ] h + [63] h + [35] h + n
* [00
≤n≤FF] h
Changes the FEED switch valid or invalid.
* “n” is only valid for LSB(b0)
* “n” bit has a following meanings
b0 Description
0
enable FEED switch
1
disable FEED switch
Default value of “n” is [00]h.
21) Print and “n” line feed:<< ESC d n >>
Code
: [1B] h + [64] h + n
* [00
≤n≤FF] h
Prints the data in the print buffer and feeds paper by “n” lines.
* Beginning of a line is a print start position.
* If there is print data remained, line feed is activated for the same height of character.
22) Character code table select:<< ESC t n >>
Code
: [1B] h + [74]h + n
* [00
≤n≤01]h
Selects either Japan code table or non-Japan code table.
Explanation : “n” value has following meaning.
n(Hex)
character code table
00
Non-Japan character code table
01
Japan character code table
The default value of “n” is [S2-2] for DIP SW.
23) Printer status transmission
:<< ESC v >>
Code
: [1B] h + [76] h
Sends current printer status
* Status to be transmitted consist of 1 byte and the content is explained in the chart
below.
Value
bit Functions
0 1
0 paper near end
paper present
near end
1 platen open
normal
head open
2 paper end
paper present
no paper
3 head temp. abnormal
normal
Temp. high
4 cutter problem
normal
cutter problem
5 presenter problem
normal
presenter problem
6
paper remove sensor
information
no paper
paper present
7
not
defined
* Make sure that command is issued before transmission of print data.
(commands are stored in the input buffer and executed sequentially)
* Reception is available except in the buffer full status.
* The commands above are valid only for serial interface.
* Regarding DTR/DSR control, only one byte is transmitted after confirmation that the
host is able to receive data, that is DSR signal is in SPACE status. For XON/OFF
control, one byte is transmitted without confirmation of DSR signal status.
* For DTR/DSR control, if host is not in a receivable status, it waits until host can receive
data.
24) Inverted character set and reset
:<< ESC { n >>