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

LPRINT CHR$27;CHR$81;CHR$60, LPRINT CHR$27;Wl, Decimal with quotes

Page 78 highlights

In BASIC you can use either decimal or hexadecimal numbers, and if there is a single letter in the second ASCII code column, you can use that letter in quotation marks instead of the number below it. For example, the format section for the right margin command is as follows: ASCII code: ESC Decimal: 27 Hexadecimal: 1B Q (n) 81 ( n ) 51 (n) In BASIC you can send the command to set the right margin to 60 in three ways: Decimal : LPRINT CHR$(27);CHR$(81);CHR$(60) Hex: LPRINT CHR$(&HlB);CHR$(&H51);CHR$(&H3C) Decimal with quotes: LPRINT CHR$(27);"Q";CHR$(60) ESCape sequences that require a 0 or 1 with a letter, such as ESC 'Wl" to turn on expanded, can use either the ASCII code or the numeral in quotation marks for the 0 or 1. For example, in BASIC you can turn on expanded with either of the formats below: LPRINT CHR$(27);"Wl" or LPRINT CHR$(27);"W";CHR$(1) c-2

  • 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

In BASIC you can use either decimal or hexadecimal numbers, and
if there is a single letter in the second ASCII code column, you can use
that letter in quotation marks instead of the number below it. For
example, the format section for the right margin command is as fol-
lows:
ASCII code:
ESC
Q
(n)
Decimal:
27
81
(n)
Hexadecimal:
1B
51
(n)
In BASIC you can send the command to set the right margin to 60 in
three ways:
Decimal :
LPRINT CHR$(27);CHR$(81);CHR$(60)
Hex:
LPRINT CHR$(&HlB);CHR$(&H51);CHR$(&H3C)
Decimal with quotes:
LPRINT CHR$(27);"Q";CHR$(60)
ESCape sequences that require a 0 or 1 with a letter, such as ESC
‘Wl” to turn on expanded, can use either the ASCII code or the
numeral in quotation marks for the 0 or 1. For example, in BASIC
you can turn on expanded with either of the formats below:
LPRINT CHR$(27);"Wl"
or
LPRINT CHR$(27);"W";CHR$(1)
c-2