Epson LX-90 User Manual - IBM PC Jr. 8690 PIC for LX-90 - Page 80

Appendix B-control Codes In Numeric Order, Appendix B

Page 80 highlights

Appendix B Control Codes in Numeric Order Different programs use different methods to send these control codes to your LX-90. If you use BASIC, you send a control code using LPRINT CHR$(27) followed by CHR$(n), where n is a number from the decimal (Dec) column below. For a few codes, those with a dash in the ESC column, you omit the ESCape code. For the codes above decimal 27, you can use either the character in the symbol column (in quotation marks) or CHR$(n). For example, the command for turning on emphasized can be entered as: LPRINT CHR$(27)CHR$(69) or LPRINT CHR§(27)"E" Some applications programs can use control key codes for decimal codes O-27. See the control key chart at the end of this appendix for a complete list of control key values. Abbreviations: cpi = characters per inch cps = characters per second ESC Dec Hex Symbol Function 0 00 NUL Terminates horizontal and vertical tab setting ESCape sequences. 9 09 HT Horizontal tab. Empties the printer buffer, then moves the print head to the next tab stop. Default setting is every eight spaces. 10 0A LF Line feed. Empties the printer buffer, performs a line feed at the current line spacing, and resets the buffer character count to 0. 11 0B VT 12 0C FF Vertical tab. Empties the printer buffer, then advances the paper to the next vertical tab stop. Form feed. Empties the printer buffer, then advances the paper to the next top of form. B-l

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100

Appendix B
Control Codes in Numeric Order
Different programs use different methods to send these control
codes to your LX-90. If you use BASIC, you send a control code using
LPRINT CHR$(27) followed by CHR$(n), where n is a number from
the decimal (Dec) column below. For a few codes, those with a dash in
the ESC column, you omit the ESCape code. For the codes above
decimal 27, you can use either the character in the symbol column (in
quotation marks) or CHR$(n). For example, the command for turning
on emphasized can be entered as:
LPRINT CHR$(27)CHR$(69) or LPRINT CHR§(27)“E”
Some applications programs can use control key codes for decimal
codes O-27. See the control key chart at the end of this appendix for a
complete list of control key values.
Abbreviations: cpi = characters per inch
cps = characters per second
ESC Dec Hex Symbol Function
0
00
NUL
Terminates horizontal and vertical tab setting
ESCape sequences.
9
09
HT
Horizontal tab. Empties the printer buffer, then
moves the print head to the next tab stop.
Default setting is every eight spaces.
10
0A
LF
Line feed. Empties the printer buffer, performs
a line feed at the current line spacing, and
resets the buffer character count to 0.
11
0B
VT
Vertical tab. Empties the printer buffer, then
advances the paper to the next vertical tab
stop.
12
0C
FF
Form feed. Empties the printer buffer, then
advances the paper to the next top of form.
B-l