110

EPL Commands

GW

GW

Direct Graphic Write

Description Use this command to load binary graphic data directly into the Image Buffer memory for immediate printing. The printer does not store graphic data sent directly to the image buffer.

The graphic data is lost when the image has finished printing, power is removed or the printer is reset. Commands that size (Q and q) or clear (N and M) the image buffer will also remove graphic image data.

Syntax GWp1,p2,p3,p4,DATA

Parameters This table identifies the parameters for this format:

Parameters

Details

 

 

 

 

p1

=

Horizontal start

Horizontal start position (X) in dots.

 

 

position

 

 

 

 

 

p2

=

Vertical start position

Vertical start position (Y) in dots.

 

 

 

p3

= Width of graphic

Width of graphic in bytes. Eight (8) dots = one (1) byte of

 

 

 

data.

 

 

 

p4

= Length of graphic

Length of graphic in dots (or print lines)

 

 

 

DATA

 

Raw binary data without graphic file formatting. Data must

 

 

 

be in bytes. Multiply the width in bytes (p3) by the number of

 

 

 

print lines (p4) for the total amount of graphic data. The

 

 

 

printer automatically calculates the exact size of the data

 

 

 

block based upon this formula.

 

 

 

 

14245L-003 Rev. A

EPL Programming Guide

12/16/13

Page 110
Image 110
Zebra Technologies 14245L-003 manual Direct Graphic Write, 110