Fill_box – CognitiveTPG DLXi User Manual

Page 70

Advertising
background image

S T A N D A R D P R I N T E R C O M M A N D S

FILL_BOX

Function This

command

inverts every dot in the specified

rectangular area. Where the existing field is white,
the FILL_BOX command fills it in black, while areas

already black are flipped to white.

Explicit Form

FILL_BOX x y w h

Implicit Form

F x y w h

Parameters

x

X coordinate of upper left corner of

box

y

Y coordinate of upper left corner of
box

w

Box width, measured in dot
columns. Must be greater than zero.

h

Box height, measured in dot rows.
Must be greater than zero.

Comments The

FILL_BOX

command can produce many useful

effects. Overlaying multiple filled boxes can produce
wide or multiple-line borders. Overlaying filled

boxes can also produce shadow effects or one-dot-
wide lines. The following examples show some

possible uses of the command.

See also

DRAW_BOX

IMPORTANT!

You can print black labels with white text on them using
the

FILL_BOX

command, but this is not

recommended. Printing large dark areas causes
excessive heat buildup and is very hard on the print
head. Long horizontal boxes are most strenuous to
print. They may adversely affect print quality, and also
place considerable drain on a portable printer's battery.

Revision F, January 2012, CognitiveTPG

61

Advertising
This manual is related to the following products: