EC-520 User’s Manual
Chapter 7 Command Code Summary
7.1 General
The EC-520 printer‘s control commands are compatible with ESC/POS.
Explanation of every command contains format and description. ”Format ” parts give three kinds
of command format, including ASCII Code, Decimal code and hexadecimal code. “Description”
parts describe the function of command. These three kinds of command format are equivalent,
and you can select anyone by your need.
The explanation format of these commands is shown as following:
Command Function
Format: ASCII: Indicates the ASCII equivalents
Decimal: Indicates the decimal equivalents
Hex: Written in hexadecimal code
[Description]
Describing the function and using instruction of this command.
7.2 Explanation of Command
HT Horizontal tab
Format: ASCII: HT
Decimal: 9
Hex:
09
[Description]
Moves the print position to the next horizontal tab position.
If the current printing position exceeds the last horizontal tab position, the HT command will not be
executed.
Horizontal tab positions are set by “ESC D” command.
LF Print and line feed
Format: ASCII:
LF
Decimal:
10
Hex: 0A
[Description]
Prints one line data in the line editing buffer and feeds one line based on the current line spacing.
If the line editing buffer is empty, then only feeds one line based on the current line spacing without
printing.
CR
Print and carriage return
Format: ASCII:
CR
Decimal:
13
Hex:
0D
[Description]
The printer prints one line data in the line editing buffer and the print head returns to the left position
automatically.
- 23 -