Gw - Store Graphics In Image Buffer - Intermec EasyCoder PD4 Programmer's Reference Manual

Esim v5.12 bar code label printer
Hide thumbs Also See for EasyCoder PD4:
Table of Contents

Advertisement

GW – Store Graphics in Image Buffer
This command is used to store binary graphics files directly in the
Description
image buffer.
Syntax 
GW p
Parameters
p
1
p
2
p
3
p
4
"DATA"
Use this command instead of GM for temporarily used graph-
Remarks
ics, for example images that change between each label. Not only
is this method faster, but it also prolongs the life of the flash
memory as the graphics are downloaded directly to DRAM.
The printer's firmware will calculate exactly how much data to
expect based on p
Note that EasyCoder PD4 has a flash memory for forms and
graphics, which requires special consideration. Avoid storing fre-
quently changing data in flash and use printer drivers developed
for EasyCoder C4 and PD4.
The following sequence shows how to generate and print an
Example
image of a reduced square of 32*32 dots, with a diagonal line, all
lines 1 dot wide. Data below is shown in hex format:
0000
4E 0D 0A 47 57 32 30 2C 31 30 2C 34 2C 33 32 2C
0010
00 FF FF 00 3F FF FF FE 5F FF FF FE 6F FF FF FE
0020
77 FF FF FE 7B FF FF FE 7D FF FF FE 7E FF FF FE
0030
FF 7F FF FF FF BF FF FF FF DF FF FF FF EF FF FF
0040
FF F7 FF FF FF FB FF FF FF FD FF FF FF FE FF FF
0050
FF FF 7F FF FF FF BF FF FF FF DF FF FF FF EF FF
0060
FF FF F7 FF FF FF FB FF FF FF FD FF 7F FF FE FE
0070
7F FF FF 7E 7F FF FF BE 7F FF FF DE 7F FF FF EE
0080
7F FF FF F6 7F FF FF FA 7F FF FF FC 00 00 00 00
0090
50 0D 0A
The result will be a printout shown below:
ESim v5.12 for EasyCoder PD4—Programmer's Reference Manual
,p
,p
,p
,"DATA"
1
2
3
4
X-position in printer dots.
Y-position in printer dots.
Number of bytes across the graphic (8 dots = 1 byte).
Number of dot rows going down the graphic.
The graphic data in 1-bit (black & white) binary format. First data-byte repre-
sent dots in upper left corner and next data-byte next to the right. " 1" bits are
white dot-positions and " 0"-bits are black dot-positions. The total amount of
"DATA"–bytes are p
3
and p
3
Chapter —Commands
* p
.
4
.
4
N..GW20,10,4,32,
....?..._...o...
w...{...}...~...
................
................
................
................
...~............
................
P..
5

Advertisement

Table of Contents
loading

Table of Contents