Secondary Address - OKIDATA 120 Handbook

For commodore computers
Table of Contents

Advertisement

all, the CHR$(24) command will do it. This command re-
turns you to these standard settings:
Feature:
Character size
Line spacing
Character set
Paper sensor
Auto-skip
Auto line feed
Graphics mode
Page length
Language set
Standard setting:
Pica (10 CPI)
6 Lines Per Inch (LPI)
Cursor Up mode
ON
OFF
ON or OFF
*
Normal or
High-density*
5.5,8.5, 11 or 14 inches
*
Slashed zero, unslashed zero,
French-Canadian or Spanish
*
*
Determined by function switch settings.
NOTE:
The cancel command won't clear the following functions: page length,
top of page location or paper end sensor.
- - - - - -
Secondary Address
- - - - - -
Function:
Cursor Up mode (Upper
case letters and graphics)
Cursor Down mode (Upper
and lower case letters)
Reset printer
Code:
OPEN 1,4,0
OPEN 1,4,7
OPEN 1,4,10
On page 20 we explained how to use software commands
to enter Cursor Up mode (capital letters and graphic sym-
bols) or Cursor Down mode (upper and lower case letters).
As an alternative to this method, you can use a secondary
address number in your OPEN statement. If you want to
enter Cursor Down mode, add a 7 to your OPEN state-
ment, like this:
OPEN 1,,:;,7
NOTE:
The first two numbers (1 and 4) serve other programming purposes
(see page 20). The 7 is the optional secondary address
number.
39

Advertisement

Table of Contents
loading

Table of Contents