Logo mode, Logo, Mode – CognitiveTPG DLXi User Manual
Page 85

S T A N D A R D P R I N T E R C O M M A N D S
LOGO mode
Function
Allows placement of bitmapped graphics in specific label
areas, or windows. You specify the window sizes and
locations individually. Any number of graphics windows
is allowed, providing they do not overlap.
NOTE: Unlike most commands, you cannot enter the logo
mode command in ASCII form. The printer will only accept it
as pure binary data with no extraneous characters.
Explicit
Form
mode
0 x y w h data
mode 0
Logo mode identifier. Send the 0 as one
byte (hexadecimal zero). For foreground
graphics, mode is the @ sign, or
hexadecimal 40. For background graphics,
mode is the # sign, or hexadecimal 23.
x
Graphics window starting point X
coordinate, sent as two bytes. The X
coordinate equals the dot-column of the
desired starting point divided by 8.
y
Graphics window starting point Y
coordinate (dot-row), sent as two bytes.
w
Graphics window width, sent as two bytes.
The width equals the window width in
dot-columns divided by 8.
h
Graphics window height in dots, sent in
two bytes.
Parameters
Data
Binary graphics data. Always send
enough data to specify the condition of
every dot in the window area. Darkened
dots are programmed with a binary 1;
light dots are binary 0. Program the
graphics image as a raster-scan.
76
Revision F, January 2012, CognitiveTPG