REGO Thermal Printer Technical Manual
www.regotek.com
7
4.
ESC/POS Command Details
LF Print and feed one line
[Name]
Print and feed one line
[Format]
ASCII
LF
Hex
0A
Decimal
10
[Description]
Prints the data in the print buffer and feeds one line, based on the current line
spacing.
[Notes]
The command set the current position at the beginning of a line.
[Reference]
ESC 2, ESC 3
[Example]
char SendStr[10] = {0x31,0x0A,0x32,0x33,0x0A,0x0A,0x34,0x35,0x36, 0x0A};
SendData(SendStr, 10);
FF Print and feed paper to a black mark
[Name]
Print and feed paper to a black mark
[Format]
ASCII
FF
Hex
0C
Decimal
12
[Description]
If the paper type is continuous paper,
In standard mode: ignore the command.
In page mode: prints all the data in buffer and switches to standard mode from page mode, clear
all the data in the buffer.
If the paper type is black mark or label paper,
In standard mode: feeds paper to a black mark.
In page mode: prints all the data in buffer and switches to standard mode from page mode, clear
all the data in the buffer and feeds paper to a black mark. If there’s no mark, feeds paper to 30cm
and stops.
ESC FF Print data in buffer in page mode
[Name]
Print data in buffer in page mode
[Format]
ASCII
ESC FF
Hex
1B 0C
Decimal
27 12
[Description]
In page mode, prints all the data in buffer.
[Notes]
This command is only valid in page mode.
If the paper type is label paper, this command won’t effect label positioning after printing.
It won’t clear the data in buffer after printing. And commands ESC T, ESC W are invalid.
[Reference]
FF, ESC L, ESC S
1
23
456