Epson LX-90 User Manual - Apple IIc 8699 PIC for LX-90 - Page 50

Reassigning Code, CHR$ n1 ;CHR$ n2 c

Page 50 highlights

B-inch high-speed double-density row has 960 places where the LX-90 can put a dot (dot positions), but only half of them can be used on any one pass of the print head. Having twice as many possible dot positions enables high-speed double-density designs to have a higher resolution than single-density ones even though consecutive dots are not used. You are familiar with the command format that uses the ESCape code and a letter, but LX-90 graphics commands can also be in the following format: PRINT CHR$ (27); "*" ;CHR$ (m) ; CHR$ (n1) ;CHR$ (n2) c; with m being the mode number found in the left column of Table 7-l. As usual, nl and n2 reserve the number of columns for graphics. The seven modes include six densities, with two speeds for double-density Reassigning Code The LX-90 has a graphics command that changes one graphics mode to another. You can use it with many commercial graphics software programs to change the density and shape of your printouts. The code is ESCape "?s" n, where s is one of the four alternate graphics codes (K, L, Y, or Z) and n is the number of the new code (O-6). For example, if you send the following code before you run a graphics program, it will change every instance of mode "Y" (high-speed double-density) to mode 5 (one-to-one). PRINT CHR$(27);"?Y";CHR$(5) As usual, this example is in BASIC, but you can send the code in any programming language. Even if you don't know which code your graphics program uses, a little experimentation should tell you whether the reassigning code can improve your graphics printouts. 48

  • 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

B-inch high-speed double-density row has 960 places where the LX-90
can put a dot (dot positions), but only half of them can be used on any
one pass of the print head. Having twice as many possible dot posi-
tions enables high-speed double-density designs to have a higher reso-
lution than single-density ones even though consecutive dots are not
used.
You are familiar with the command format that uses the ESCape
code and a letter, but LX-90 graphics commands can also be in the
following format:
PRINT CHR$ (27); "*" ;CHR$ (m)
; CHR$ (n1) ;CHR$ (n2) c;
with m being the mode number found in the left column of Table 7-l.
As usual, nl and n2 reserve the number of columns for graphics. The
seven modes include six densities, with two speeds for double-density
Reassigning Code
The LX-90 has a graphics command that changes one graphics
mode to another. You can use it with many commercial graphics soft-
ware programs to change the density and shape of your printouts.
The code is ESCape “?s“ n, where s is one of the four alternate graphics
codes (K, L, Y, or Z) and n is the number of the new code (O-6).
For example, if you send the following code before you run a
graphics program, it will change every instance of mode “Y”
(high-speed double-density) to mode 5 (one-to-one).
PRINT CHR$(27);"?Y";CHR$(5)
As usual, this example is in BASIC, but you can send the code in
any programming language.
Even if you don’t know which code your graphics program uses, a
little experimentation should tell you whether the reassigning code can
improve your graphics printouts.
48