Next Previuos Contents

MICROPLOTTER COMMANDS

The BASIC statement for printing with the
microplotter is LPRINT. There are some ASCII
codes allocated as instructions and these are
listed below. To send them the BASIC function
CHRS must be used.

Example: LPRINT CHR$(08)

sends the ASCII code for a backspace
(08) to the microplotter.

If the same form is used for an ASCII code for a
printable character, the character will be
printed.

Example: LPRINT CHR$(90)
prints the character z (ASCII code 90).

The Microplotter has two modes of operation:

- Text Mode (automatically entered at switch-on)

- Graphic Mode.


TEXT MODE COMMANDS

CHR$(08) Backspace; backspaces the pen one
character at a time.

CHRS(11) Reverse line feed; moves the paper back
one line at a time.

CHR$(18) Select Graphic Mode.

CHR$(29) Rotate pen holder; advances the pen
holder one position to the next colour.


GRAPHIC MODE COMMANDS

CHR$(17) Select Text Mode.
A Return to Text Mode.
Cn Change colour; colour defined By n = 0 (black); 1 (red); 2 (green); 3 (blue).


- 55 -

Next Previuos Contents