P7-2 Mobile Printer CPCLProgramming Manual
LINE Commands
Lines of any length, thickness, and angular orientation
can be drawn using the LINE command.
Format:
{command} {x
0
} {y
0
} {x
1
} {y
1
} {width}
where:
{command}:
Choose from the following:
LINE Prints a line.
(or L)
{x
0
}:
X-coordinate of the top-left corner.
{y
0
}:
Y-coordinate of the top-left corner.
{x
1
}:
X-coordinate of:
- top right corner for horizontal.
- bottom left corner for vertical.
{y
1
}:
Y-coordinate of:
- top right corner for horizontal.
- bottom left corner for vertical.
{width}:
Unit-width (or thickness) of the line.