Mobile Printer CPCLProgramming Manual P7-1
BOX Command
The BOX command provides the user with the ability to
produce rectangular shapes of specified line thickness.
Format:
{command} {x
0
} {y
0
} {x
1
} {y
1
} {width}
where:
{command}:
BOX
{x
0
}:
X-coordinate of the top left corner.
{y
0
}:
Y-coordinate of the top left corner.
{x
1
}:
X-coordinate of the bottom right corner.
{y
1
}:
Y-coordinate of the bottom right corner.
{width}:
Unit-width (or thickness) of the lines
forming the box.
GRAPHICS
Input (BOX.LBL):
! 0 200 200 210 1
BOX 0 0 200 200 1
FORM
PRINT
Output:
Note: Text coordinates (in output) are shown for illustration
purposes only.
0,0
○○
200,200
○○
BOX Example