MODEL
442A
TSURUGA ELECTRIC CORPORATION
12
5.4.3 Control command
Command
Description
Code
Function
1 LF
Printing, Feeding
0AH
Printing data in the line buffer, and starting a new line.
No data in the line buffer is found, starting a new line only.
30 dots fixed for new lines.
LF after CR is neglected.
2 CR
Printing, Feeding
0DH
Printing data in the line buffer, and starting a new line.
No data in the line buffer is found, starting a new line only.
30 dots fixed for new lines.
3 SO
Specifying
0EH
Specify characters required double-size enlarged printing.
After specify the characters, the characters is printed in
double-size.
Double-size
enlarged printing.
4 SI
Resetting
Double-size
enlarged printing.
0FH
Reset double-size enlarged printing.
5 CAN
Printer buffer
18H
Cancel data in the line buffer.
Cancel the data just before entered in the same line.
When the command is done, the position becomes a start
line to print. The control command is not deleted.
cancellation.
6 DEL
Deleting a
7FH
Deleting a character.
Deleting a character of the receiving buffer just before
entered in the same line.
The control command is not deleted.
character.
7 FS+'&'
Specifying
1CH+26H
Specify Chinese character mode.
The characters are entered in turn (first bit, then second
bit…) according to the code in JIS6226-1983.
Chinese character code system: JIS code
(Shift JIS code is not available.)
ESC+'$'+'B' Chinese
1BH+24H+42H
ESC+'K'
characters.
1BH+4BH
8 FS+'.'
Cancellation of
Chinese
characters.
1CH+2EH
Cancellation of Chinese character mode.
ESC+'('+'B'
1BH+28H+42H
ESC+'H'
1BH+48H
9 DC2+'E'
Error status.
12H+45H
Responding Error status.
This command is available only in serial interface,
442A-E2(USB).
The error status to be sent is one byte, and contents is
as follows;
No paper:
1 (code 31H)
Unusual temperature in a head: 2 (code 32H)
Receiving buffer full:
8 (code 38H)
Example) 442A Printed example
Code
34 34 32 41 0D
⇒
⇒
⇒
⇒
⇒
Normal
⇒
⇒
⇒
442A
0E 34 34 32 41 0F 0D
⇒
⇒
⇒
⇒
Double-sized
⇒
⇒
442A
1B 24 42 23 34 23 34 23 32 23 41 1B 28 42 0D
⇒
Chinese character mode
⇒
442A