P7-4 Mobile Printer CPCLProgramming Manual
INVERSE-LINE Commands
The INVERSE-LINE command has the same syntax as
the LINE command. Previously created objects that lie
within the area defined by the INVERSE-LINE command
will have their black areas re-drawn white, and white
areas re-drawn black. These objects can include text,
bar codes and/or graphics, including downloaded .pcx
files. INVERSE-LINE has no effect on objects created
after its location, even if they fall within its covered area.
In example INVERSE2.LBL, portions of the text field
created after the INVERSE-LINE command remain black,
hence invisible, even though placed within the IN-
VERSE-LINE area.
Format:
{command} {x
0
} {y
0
} {x
1
} {y
1
} {width}
where:
{command}:
Choose from the following:
INVERSE-LINE Prints a line over an existing
(or IL) field to invert the image.
{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 inverse-line.