20) Panel switch enable/disable:<< ESC

c

5 n >>

 

Code

: [1B ] h + [63] h + [35] h + n

* [00nFF] 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

 

 

* [00nFF] 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

 

 

* [00n01]h

Selects either Japan code table or non-Japan code table.

Explanation

: “n” value has following meaning.

 

 

n(Hex)

 

character code table

 

 

00Non-Japan character code table

01Japan 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.

bit

Functions

 

Value

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

no paper

 

paper present

information

 

 

 

 

 

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 >>

28

Page 31
Image 31
Star Micronics NP-325, NP-415W, NP-215, NP-225 specifications Platen open