D-F0399 NP-266S/366S Specifications Ver.0.01 Provisional
29
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.
* Only 1 byte will be sent after confirming the receivable status (SPACE status of CTS
signal) from host.
* It will wait till receivable status when the host can not receive the staus (MARK status of CTS signal).
Value
bit Functions
0 1
0 paper near empty
paper present
near empty
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
Undefined
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.
24) Inverted character set and reset
:<< ESC { n >>
Code
: [1B] h + [7B] h + n
* [00
≤
n
≤
FF] h
Sets or resets the inverted character function
* “n is only valid for the LSB (b0)
* LSB (b0) has the following meaning
b0 Description
0 resets inverted character
1 sets
inverted
character
* The command is only valid when it is assigned at the beginning of a line.
* The default value of n is [00] h.
25) 90
°
clockwise rotated character set and reset :<< ESC V n >>
Code
: [1B] h + [56] h + n
* [00
≤
n
≤
01] h
Sets and resets 90
°
clockwise rotated character.
* Underline cannot be assigned to the 90
°
clockwise rotated character.
* “n” has the following meaning.
n(hex) description
00
reset 90
°
rotated character
01
set 90
°
rotated character
* Default value for “n” is [00] h.
26) Absolute position set
:<< ESC $ n1 n2>>
Code
: [1B] h + [24] h +n1 +n2 * [00
≤
n1
≤
FF] h
* [00
≤
n2
≤
03] h
Print start position is assigned by dots in 1/203rd of inch from the beginning of line.
* Divide the value of dot by 256, place quotient to n2, and remainder to n1.
* The print start position is n1 + n2 x 256 from top of the line.
* Setting which exceeds end of line is ignored.
* If the command is received in the middle of line, the current position is also valid.