18
ESC J
Execute “n” dot feed paper
Form: ASCII:
ESC
J
n
Decimal:
27
74
n
HEX:
1B
4A
n
Explain: Printer prints forward with “n” point line. The value of n should be within the range
of 1 to 255 points. This command is not issued a carriage returns. It will not affect
the change line command later. If you need to produce immediately feed paper and
don't return, you can use the ESC J command. Commands ESC V, ESC W, FS W
will enlarge line spacing.
ESC 1
Set n point line spacing
Form : ASCII:
ESC
1
n
Decimal:
27
49
n
HEX:
1B
31
n
Explain: Set n point line spacing for changing line commands later.
The value of N should be between 0 ~ 255.When using ESC K command to bitmap
graphics printing, usually set n = 0, when the text printing way is usually set n = 3.
The default value of n = 3.
Observe the effect of this command, BASIC procedure is as follows:
FOR I = 1 TO 11 in STEP 2
LPRINT CRH $(27);CRH $(49);CRH $(I); 'the ESC 1 set the line spacing
LPRINT "RMWD TEST" 'print a string and line breaks
NEXT I
The printing results of above program are as follows: