Low Order Data; High Order Data; Bitmap Data; Example Of Direct Graphics Commands - Intermec EasyCoder 3240 Developer's Manual

Intermec printer language (ipl)
Hide thumbs Also See for EasyCoder 3240:
Table of Contents

Advertisement

Example of Direct Graphics Commands

Intermec Printer Language (IPL) Developer's Guide

Low Order Data

Can represent up to 7 bits of data (0 to 127). Must be preceded by a
command byte so the printer knows how to interpret them.
• 7 bits long and may be combined with high order data. 8th bit is always
set to 1.
• Byte format (7-0): 1xxxxxx.
• Range is 128 to 255

High Order Data

When combined with low order data, can represent up to 13 bits of data (0-
8191). Must be preceded by a command byte so the printer knows how to
interpret them. Printer ignores high order data followed by a command or
more high order data.
• 6 bits long and always combined with low order data. 7th bit is always
set to 1 and 8th bit is always set to 0.
• Byte format (7-0): 01xxxxx
• Range: 64 - 127
• Data represented: 0 to 63

Bitmap Data

Composed of uncompressed bytes (7 data bits per byte) that represent
columns of your graphic. 8th bit is always set to 1.
• Byte format (7-0): 1xxxxxx
• Range: 128 to 255
• Data represented: Raw data
This example consists of two parts: a graphic and a line. The origin of the
direct graphic is defined the same as the origin of a normal graphic. In this
example, the coordinates for the origin of the complex graphic are 0,450;
however, once you enter Direct Graphics mode, your printer loads the
information in the reverse y direction. Each column of the graphic loads
from the bottom to the top. Y coordinates now start at 0 from the bottom
left corner and increase in size as the data loads. So, the printer starts
loading data for the complex graphic at 0,450 and loads up to 0,425.
Likewise, the data for the line starts loading at 19,450 and loads up to 19,0.
Chapter 4 — Advanced Printer Programming
65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents