Download Print this page

OKIDATA Microline 93 User Manual page 116

Okidata microline personal printer user's manual

Advertisement

110
To load a descender character, start with this sequence:
ESC%D
CHR$(27);CHR$(37);
1B2544(hex)
CHR$(68)
-
Start loading descender
character
Let's load the same character as a descender, using "m" as
the representation
:
LPRI NT CH R$ (27) ;"%D";"m ";CH R$ (28) ;CH R$(34);
CHR$(8) ;CH R$(81) ;CH R$(4) ;CH R$(81) ;CH R$(4);
CH R$(81) ;CH R$(8) ;CHR$(34) ;CH R$(28)
Printing Downline Loadable Characters
This code sequence switches to the downline loadable char-
acter set:
ESC 2
CH R$(27) ;CH R$(50)
-
Switch to downline
loadable character set
1 B 32 (hex)
Any character after this will print as a DLCG character
until you switch back to Data Processing printing
-
CHR$(27);CHR$(48) - or to Correspondence Quality
printing
-
CH R$(27) ;CHR$(49)
.
NOTE: After you have switched to the downline loadable character set, the
printer will print only the characters you've designated and loaded
it will
not
print an
y
of th
e
standard characters until
y
ou switch back to Data Pro-
cessing or Correspondence Quality printing. If you switch to the downline load-
able character set without having loaded any characters or if you forget to
switch back to one of the standard character sets, the printhead will move,
but nothing will be printed.
Example
This program loads our new character as both an ascender
and descender character and prints a sample. Notice the
difference in position relative to the normal print line.
10 LPRINT CHR$(27);"%A" ;"M";CHR$(28);CHR$(34);
CH R $ ( 8) ;CH R $ ( 81 ) ;CH R $ ( 4) ;CH R $ ( 81 ) ;CH R $ ( 4) ;
CH R$(81) ;CH R$(8) ;CH R$(34) ;CHR$(28)
20 LPRINT CHR$(27);"%D";"m";CHR$(28);CHR$(34);
CH R$(8) ;CHR$(81) ;CH R$(4) ;CH R$ (81) ;CH R$(4);
CH R$(81) ;CHR$(8) ;CHR$(34) ;CHR$(28)

Advertisement

loading

This manual is also suitable for:

Microline 92