
Thermal Printer Technical Manual
8
CR Print and carriage return
[Name]
Print and carriage return
[Format]
ASCII CR
Hex 0D
Decimal 13
[Description]
When the command is enabled, this command functions the same as LF; when
disabled, this command is ignored.
[Notes]
Set the print starting position to the beginning of the line.
The command is ignored with a serial interface model.
This command is valid according to printer setting with a parallel interface model printer.
[Reference]
LF
CAN Delete data in buffer in page mode
[Name]
Delete data in buffer in page mode
[Format]
ASCII CAN
Hex 18
Decimal 24
[Description]
In page mode, prints all the data in buffer.
[Notes]
This command is only valid in page mode.
[Reference]
ESC L, ESC W
[Example]
char SendStr[21] = {0x1B,0x4C,0x1B,0x57,0x20,0x00,0x00,0x00,0x40,
0x01,0x90,0x01,0x31,0x32,0x33,0x0A,0x1B, 0x0C, 0x18,0x1B,0x0C};
SendData(SendStr, 21);
ESC J n Print and feed paper
[Name]
Print and feed paper
[Format]
ASCII
ESC J
n
Hex
1B
4A
n
Decimal
27
74
n
[Range]
0 ≤ n ≤ 255
[Description]
Print the data in the print buffer and feed the paper [n × (vertical or horizontal
motion unit)].
[Notes]
After printing, the current print position is at the beginning of a line.
Paper feed distance is not affected by command ESC 2 or ESC 3.
Horizontal and vertical motion units are set by the GS P.
In standard mode, the vertical motion unit (y) is used.
In page mode, this command functions as follows, depending on direction of the printing area
and the starting position of the printable area:
¬ When the starting position is set to the upper left or lower right of the printable area using ESC
T, the vertical motion unit (y) is used.
- When the starting position is set to the upper right or lower left of the printable area using ESC T,
123