CognitiveTPG DLXi User Manual

Page 76

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

ASCII commands cannot be mixed in the binary

graphics file. If you want to print predefined objects
(such as bar codes or text) on the same label with

binary bitmapped graphics, you have four possible
approaches:

1. Program either the graphics or the ASCII
components in the background, and put the other

components in the foreground.

2. Use the !+ header line mode with

AREA_CLEAR

to overlay existing data with new data (typically,

you send the bitmap to the printer first, then use !+
to put the ASCII components over the bitmap).

3. Use

LOGO

mode to place graphics where you want

them, then use !+ to send ASCII components to the

printer.

4. Use the

GRAPHIC

command to send the graphics

to the printer as a BMP or PCX file, and then follow

it with an ASCII label format containing the
predefined objects.

See also

Header line

,

LOGO

mode

,

AREA_CLEAR

,

and

GRAPHIC

Example

Here is the beginning of a typical foreground

graphic in ASCII form, hexadecimal form, and
binary. The segment shown covers the graphics

header and the beginning of the bitmap. Spaces

have been added to the ASCII and hexadecimal
forms for clarity. The printer will only accept the

binary form.

ASCII:

@ 100 100 1 0000000000...

Hex: 40 64 0064 1 000000000...

Binary:

0010100001000000000000000100000000000000000

000100000…

Revision F, January 2012, CognitiveTPG

67

Advertising
This manual is related to the following products: