function sets the line format and draws the line.
format [esc] lc; aaaa, bbbb, cccc, dddd, e, f (,ggg) [lf] [nul]
term aaaa: start point x-coordinate
fixed as 4 digits (in 0.1 mm units)
bbbb: start point y-coordinate
fixed as 4 digits (in 0.1 mm units)
cccc: end point x-coordinate
fixed as 4 digits (in 0.1 mm units)
dddd: end point y-coordinate
fixed as 4 digits (in 0.1 mm units)
e: type of line
0: line (horizontal, vertical line, slant line)
1: rectangle
f: no. of line width dots
1 to 9 (in 0.1 mm units)
ggg: radius of rounded corners of a rectangle (omissible)
fixed as 3 digits (in 0.1 mm units)
explanation

[line]
(1) horizontal line (in the case of |y↓2 - y↓1| = 0)

(2) vertical line (in the case of |x↓2 - x↓1| = 0)

(3) slant line a ( |x↓2 - x↓1| ≤|y↓2 - y↓1| )

(4) slant line b ( |x↓2 - x↓1| ] |y↓2 - y↓1| )
[rectangle]
(1) radius of rounded corners = 000 or parameter omitted

(2) radius of rounded corners ≠000

(1) in line designation, a horizontal line, vertical line or slant line a/b is drawn according to the start and end point coordinates.
(2) the result is the same even if the start and end point coordinates are reversed.
(3) the start and end point coordinates must be set so that the result of line drawing will be within the effective print area set by the label size set command ([esc] d).
(4) programming the radius of the rounded corner is effective only when the type of line is 1 (rectangle). when the type of line is 0, designation of the radius is ignored.
when the type of line is 1, and the radius of the rounded corner is 000 or omitted, a rectangle is printed.
(5) a circle is assumed when:

examples

10 print #1, esc$; ”c”; lf$; nul$;
20 print #1, esc$; ”lc; 0200, 0650, 0805, 0650, 0, 4”; lf$; nul$;
30 print #1, esc$; ”lc; 0200, 0650, 0200, 1000, 0, 4”; lf$; nul$;
40 print #1, esc$; ”xs; i, 0001, 0002c6000”; lf$: nul$;