D-F0399 NP-266S/366S Specifications Ver.0.01 Provisional
33
35) Data input control
:<< ESC = n >>
Code
: [1B] h + [3D] h + n
* [00
≤
n
≤
FF] h
Description:Selects valid device where data input is possible through host computer.
* Each bit of “n” has the following meaning.
Values
Bit Function
0 1
0 Printer
Invalid
Valid
1 Not
defined
2 Not defined
3 Not defined
4 Not defined
5 Not defined
6 Not
defined
7 Not
defined
* If printer is not in “no selection” status, printer will discard all received data until it is in
the selection status by this command.
* Even if printer is in no selection status, the status may become BUSY by printer
operation.
* The default value of “n” is [01] h.
36) Print position alignment
:<< ESC a n >>
Code : [1B] h + [61] h + n
* [00
≤
n
≤
02] h
Description : Aligns all data to be printed on the assigned position in a line.
* “n” values are assigned to:
n (Hex)
Position
00
Left
01
Center
02
Right
* This command is valid only when it is input at the head of a line.
* The default value of “n” is [00] h.
37) Cut
:<< ESC i >>
Code
: [1B] h + [69] h
* Cut the paper.
* Effective at the head of a line
* Feeds paper by 3mm after paper cut to prevent from paper jam.
38) Select character code table :<< ESC T n>>
Code: [1B] h + [54] h + n
* [00
≤
n
≤
03] h
* Select the character code table.
* n means as follows.
n(Hex) Font
table
00
Japanese
01
Chinese
02
Korean
03 Greek
Default of n value is as per memory switch setting (MS2-2, MS2-3).
By executing printer initialization, this setting will be returned to value set by memory switch
(MS2-2, MS2-3).