1 DATECS
LP-50
34
Drawing a rectangle
There are three commands designed for this operation. LO
prints in black, LE inverts the dots located below the line (in
the XOR mode), while LW prints, unconditionally, in white.
Format:
LOa,b,c,d or
LEa,b,c,d or
LWa,b,c,d
a
Starting coordinate for X: 0 - 2047
b
Starting coordinate for Y: 0 - 4095
c
Size for X: 1 - 2047
d
Size for YL: 1 - 4095
Example:
LO10, 10, 100, 200
Draws a rectangle with coordinates (10,10), (110,10),
(110,210) and (10, 210) in black.
Drawing a diagonal line
Format
:
LS[m]a,b,c,d,e
m
Non-compulsory parameter. Possible values:
E
mode XOR
W
white
a
Starting coordinate for X: 0 - 2047
b
Starting coordinate for Y: 0 - 4095
c
Line thickness: 1 - 80
d
End coordinate for X: 0 - 2047
e
End coordinate for Y: 0 - 4095
Example:
LSE10, 10, 8, 100, 200
Draws a line from coordinate (10,10) to (100,200) 8 dots thick
which inverts the image over which it runs.
Drawing frame
The command generates a rectangular frame with a set line
thickness.
Format:
Xa,b,c,d,e
a
The X coordinate of the right angle: 0 - 2047
b
The Y coordinate of the right angle: 0 - 4095
c
Frame thickness: 1 - 80. Thickness is at the expense
of the inner area.