Graphics mode – CognitiveTPG DLXi User Manual
Page 74

S T A N D A R D P R I N T E R C O M M A N D S
Graphics mode
Function
Initializes the printer to receive binary data for
printing bitmapped graphics. Unlike most
commands, this command is not sent as ASCII text.
Send all graphics data, including the header line, to
the printer in a continuous binary data stream.
Explicit Form
mode dottime dotrows numlbls data
Parameters
mode
The graphics command. Use @ for
foreground graphics printing, # for
background graphics printing. The
mode parameter is sent as a one
byte binary representation of the
ASCII character.
dottime
Determines the Y dimension of each
dot. Dot time is a one byte binary
number with a decimal value
between 1 and 255.
dotrows
Number of dot rows required for the
image, sent as a two byte binary
value with a minimum of 1 and a
maximum limited by label size and
available printer memory.
numlbls
Number of duplicate labels to print,
sent as a two byte binary number
having a decimal value between 0
and 65535. Set this value to 0 when
preparing background graphics.
data
Binary data defining the bitmapped
image. The image is coded as a
raster scan, with binary 1's
representing black dots and binary
0's representing white dots.
IMPORTANT!
Dot time values that result in aspect ratios less than 0.8
are not recommended, as poor print quality can result.
Revision F, January 2012, CognitiveTPG
65