CR
[Name]
Print and carriage return
[Format]
ASCII
Hex
Decimal
When auto line feed is enabled, the CR command functions in the same way as the LF command.
When auto line feed is disabled, CR is ignored. The DIP switch setting enables or disables auto line
feed. When using the serial interface, CR is ignored.
Program Example
PRINT #1, "AAAAA"; CHR$(&HD);
PRINT #1, "
BBBBB"; CHR$(&HA);
ESC J n
[Name]
Print and feed paper
[Format]
ASCII
Hex
Decimal
[Range]
0
n
255
ESC J n prints the data in the print buffer and feeds the paper [n (vertical or horizontal motion unit)]
inches. This command is used to temporarily feed a specific length without changing the line spacing
set by other commands. The maximum paper feed amount is 40 inches. When standard mode is
selected, the vertical motion unit set by GS P is used. When page mode is selected, the vertical or
horizontal motion unit set by GS P is used for the print direction set by ESC T.
Program Example
PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180);
PRINT #1, "AAAAA"; CHR$(&HA);
PRINT #1, "BBBBB"; CHR$(&H1B);"J";CHR$(100);
PRINT #1, "CCCCC"; CHR$(&HA);
PRINT #1, "DDDDD"; CHR$(&HA);
1-6 Command Descriptions
CR
0D
13
ESC
J
n
1B
4A
n
27
74
n
Print Sample
AAAAA
Auto line feed enabled
BBBBB
AAAAA
BBBBB
Auto line feed disabled
Print Sample
AAAAA
BBBBB
ESC J used to print one line and then advance
the paper by 100/180 inch
CCCCC
DDDDD
Rev. A