Using Compressed Graphics - Paxar 9430RX Programmer's Manual

Paxar 9430rx printer programmer's manual
Table of Contents

Advertisement

Using Compressed Graphics

You can compress the data in a graphic when it has repetitive values.
Syntax
ESC-<cmdg>-<height>-<width>-<counter>-#data#
ESC
<cmdg>
<height>
<width>
<counter>
#data#
NOTES: <counter> and <data> can repeat multiple times within one
<low><high>
#data#
Starts the command language.
Graphic command. Enter v.
The number of dot lines in the following data
(entered as 8-bit data).
The number of bytes per dot line (entered as 8-bit
data).
An indicator of how much data to process.
When <counter> is signed (and a positive number),
process the specified amount of data as with data
stream graphics. Otherwise, repeat the next byte
the specified number of times.
When <counter> is unsigned (and less than or
equal to 127), process the specified amount of
data as with data stream graphics. Otherwise,
repeat the next byte the specified number of times
(the specification being the difference between
counter and 256).
The data in the graphic. 72 hex bytes, indicating
the dots to turn on or off. For example, if a
specified byte is FF, all the dots are on. If it is 01,
only one dot is on, and the other 7 are off.
command. For using Flash Memoroy Graphics, use the
graphic command above. However, <height> and <width> are
replaced by <low> and <high>. Do not use <counter>, but
make sure you still include the graphic's #data#.
The hex digits (listed backward) of a number
indicating how many lines to print. For example,
to print 10 lines, <low> is A, and <high> is 0.
72 hex bytes, indicating the dots to turn on or off.
For example, if a specified byte is FF, all the dots
are on. If it is 01, only one dot is on, and the
other 7 are off.
If you accidentally specify less than 72 bytes, the
printer does not print the graphic. If you specify
more than 72 bytes, a fatal error occurs.
Creating and Printing Formats 3-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Monarch 9430rx

Table of Contents