Epson LQ-1000 User Manual - Page 60

Demonstration Programs, standardized by the American Standard Code for Information Inter

Page 60 highlights

Some codes tell the printer to print a character, and other codes tell it to turn on or off certain printer functions, such as emphasized or Letter Quality. Because the codes between 0 and 127 are basically standardized by the American Standard Code for Information Interchange (ASCII), they are referred to as ASCII numbers in this manual. Nearly all of the codes for printer functions require more than one number and begin with a special code, called the escape code. This code signals that the next number is a code for a printer function and its name is usually printed with the first three letters capitalized (Escape) or it is abbreviated ESC or (ESC) . In the demonstration programs in this manual, you'll see how ASCII and ESCape codes are used in the BASIC programming language. l LPRINT signals that information is to be sent to the printer. l The CHR$ (character string) function is used for numerical codes. l CHR$(27) is the ESCape code. l Quotation marks are used for printable characters, such as letters of the alphabet. Your word processing or business program may use other methods to send those codes, such as pressing the ESC key for the ESCape code. See your software manual for further information and use Appendix B of this manual to find the proper codes. Appendix D also has some suggestions on using LQ features with applications software. Demonstration Programs To enable you to see the LQ features in action, this manual includes demonstrations in the BASIC programming language. Although you will probably not do much of your printing using BASIC, the demonstrations are in BASIC because nearly all personal computer systems include some version of this language. Therefore, almost everyone can try the examples. As you run the programs (or even as you read the explanations and look at the printed examples), you learn how the LQ responds to the messages your computer sends it by printing letters, numbers, symbols, and graphics in various print modes. 5-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
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185

Some codes tell the printer to print a character, and other codes tell
it to turn on or off certain printer functions, such as emphasized or
Letter Quality. Because the codes between 0 and 127 are basically
standardized by the American Standard Code for Information Inter-
change (ASCII), they are referred to as ASCII numbers in this manual.
Nearly all of the codes for printer functions require more than one
number and begin with a special code, called the escape
code.
This
code signals that the next number is a code for a printer function and
its name is usually printed with the first three letters capitalized
(Escape) or it is abbreviated ESC or (ESC) .
In the demonstration programs in this manual, you’ll see how
ASCII and ESCape codes are used in the BASIC programming lan-
guage.
l
LPRINT signals that information is to be sent to the printer.
l
The CHR$ (character string) function is used for numerical codes.
l
CHR$(27) is the ESCape code.
l
Quotation marks are used for printable characters, such as letters of
the alphabet.
Your word processing or business program may use other methods
to send those codes, such as pressing the
ESC
key for the ESCape
code. See your software manual for further information and use
Appendix B of this manual to find the proper codes. Appendix D also
has some suggestions on using LQ features with applications soft-
ware.
Demonstration Programs
To enable you to see the LQ features in action, this manual includes
demonstrations in the BASIC programming language. Although you
will probably not do much of your printing using BASIC, the demon-
strations are in BASIC because nearly all personal computer systems
include some version of this language. Therefore, almost everyone
can try the examples.
As you run the programs (or even as you read the explanations and
look at the printed examples), you learn how the LQ responds to the
messages your computer sends it by printing letters, numbers, sym-
bols, and graphics in various print modes.
5-2