Epson LX-90 User Manual - Parallel 8620 PIC for LX-90 - Page 31

Underline Mode, LPRINT This text is not underlined., LPRINT CHR

Page 31 highlights

When you run the program, your printout should match the one below, showing that the two modes combine with no trouble. This is standard printing. Emphaasized expanded A later section in this chapter explains a special ESCape code, Master Select, which allows you to control six features with one ESCape sequence. Underline Mode The LX-90 also has a mode that will underline characters and spaces. You turn it on with ESCape "-1" and off with ESCape "-0". Note that the underline code is like the expanded code in that it uses a character, in this case the hyphen or minus sign, combined with numeral one to turn it on and a character combined with the numeral zero to turn it off. You can see it in action with the following program: NEW 10 LPRINT "This text is not underlined." 20 LPRINT CHR$( 27);"-1"; 30 LPRINT "This text is underlined." 100 LPRINT CHR$(27);"@" This text is not. underlined. This text is underlined As shown in the printout above, the underline mode is continuous, but some word processing and other applications programs produce an underline that leaves small gaps in the line as demonstrated in the printout below. This uses the underline character If your software prints this type of underline, it is using the LX-90's underline character (ASCII 93, not the underline mode. Because the underline character is only five dots wide, it does not fill the spaces between characters. 28

  • 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
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122

When you run the program, your printout should match the one
below, showing that the two modes combine with no trouble.
This is
standard
printing.
Emphaasized
e
x
p
a
n
d
e
d
A later section in this chapter explains a special ESCape code, Mas-
ter Select, which allows you to control six features with one ESCape
sequence.
Underline Mode
The LX-90 also has a mode that will underline characters and
spaces. You turn it on with ESCape “-1” and off with ESCape “-0”.
Note that the underline code is like the expanded code in that it uses a
character, in this case the hyphen or minus sign, combined with nu-
meral one to turn it on and a character combined with the numeral
zero to turn it off. You can see it in action with the following program:
NEW
10 LPRINT "This text is not underlined."
20 LPRINT CHR$(
27);“-1”;
30
LPRINT "This text is underlined."
100 LPRINT CHR$(27);"@"
This text is
not.
underlined.
This text is
underlined
As shown in the printout above, the underline mode is continuous,
but some word processing and other applications programs produce
an underline that leaves small gaps in the line as demonstrated in the
printout below.
This uses
the
underline
character
If your software prints this type of underline, it is using the LX-90’s
underline character (ASCII 93, not the underline mode. Because the
underline character is only five dots wide, it does not fill the spaces
between characters.
28