22
18) Panel switch enable/disable :<< ESC c 5 n >>
Code
: [1B ] h + [63] h + [35] h + n
* [00
≤
n
≤
FF] h
Description : 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.
19) Print and “n” line feed
:<< ESC d n >>
Code
: [1B] h + [64] h + n
* [0
≤
n
≤
FF] h
Description : Prints the data in the print buffer and feeds paper by
“n”
lines.
Beginning of a line is a print start position.
20) Character code table select :<< ESC t n >>
Code
: [1B] h + [74]h + n
* [00
≤
n
≤
01]h
Description : selects either Japan code table or overseas code table.
Explanation : “n” value has following meaning.
n(Hex)
character code table
00
overseas character code table
01
Japan character code table
The default value of “n” is [01].
21) Printer status transmission
:<< ESC v >>
Code
: [1B] h + [76] h
Description : Sends current printer status
Explanation : 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
close
open
2 paper end
paper present
paper end
3 head temp. abnormal
Normal
Temp. abnormal
4
not
defined
5
not
defined
6
peripherals
receipt
journal
7
data
recognition
0
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.