SurePOS 100 Technical Reference
Page 43 of 104
9.3.5 Control Codes Used for Line Spacing
Function:
Line feed
Code:
0Ah
Outline:
Data in the line buffer is printed out and one line is fed. If no data is in the line buffer before this code is received,
the printer feeds one line.
Function:
Carriage return
Code:
0Dh
Outline:
Functions the same as the code.
Notes:
The default DIP switch setting for the impact printer ignores this code.
The default memory switch setting for the thermal printer ignores this code.
Function:
Set normal line spacing
Code:
"z" "1" or "z"
1Bh 7Ah 31h or 1Bh 7Ah 01h
Outline:
Line spacing is set at 1/6 inch for the impact printer and 4 mm for the thermal printer after this code is received.
Function:
Set compact line spacing
Code:
"0"
1Bh 30h
Outline:
Line spacing is set at 1/8 inch for the impact printer and 3 mm for the thermal printer after this code is received.
Function:
Feed paper n lines
Code:
"a" n
1Bh 61h n
Definition Range:
1 <= n <= 127
Outline:
After data in the line buffer is printed, paper feeds n lines.
Function:
Set tight line spacing
Code:
"1"
1Bh 31h
Outline:
Line spacing is set at 7/72 inch for the impact printer and 3 mm for the thermal printer after this code is received.