Download Print this page

Star Micronics NP-345 Product Specifications page 28

Advertisement

20) Feed switch enable/disable:<< ESC c 5 n >>
Code
Changes the FEED switch valid or invalid.
* "n" is only valid for LSB(b0)
* "n" bit has a following meanings
21) Print and "n" line feed:<< ESC d n >>
Code
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
Selects either Japan code table or non-Japan code table.
Explanation : "n" value has following meaning.
n(Hex)
00
01
The default value of "n" is [S2-2] for DIP SW.
23) Printer status transmission
Code
Sends current printer status
* Status to be transmitted consist of 1 byte and the content is explained in the chart
below.
bit
0
Paper near end
1
Head open
2
Paper end
3
Head temp. abnormal
4
5
6
Paper out sensor
7
Enclosure open
* 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.
: [1B ] h + [63] h + [35] h + n
b0
Description
0
enable FEED switch
1
disable FEED switch
Default value of "n" is [00] h.
: [1B] h + [64] h + n
: [1B] h + [74]h + n
character code table
Non-Japan character code table
Japan character code table
:<< ESC v >>
: [1B] h + [76] h
Functions
* [00≤n≤FF] h
* [00≤n≤FF] h
* [00≤n≤01]h
Value
0
Paper present
Normal
Paper present
Normal
No paper
Normal
23
1
Near end
Head open
No paper
Temp. high
Paper exists
Open

Advertisement

loading