beautypg.com

The graphics command set, Bar codes, Write graphics control (wgc) – Printronix T5000R User Manual

Page 20: Write graphics (wg)

background image

18

Chapter

2

The IPDS Emulation

The Graphics Command Set

The following commands are used to present graphics in a page, a page
segment, or an overlay.

Write Graphics Control (WGC)

Byte

D684

Flag

CID

Graphics Area

Count

Position;
Graphics
Output Control;
Graphics Data
Descriptor

WGC specifies the graphics block position, size and orientation; it specifies
the graphics presentation space window size and location inside the graphics
presentation space; and it defines how the window will map into the graphics
block.

Write Graphics (WG)

Byte

D685

Flag

CID

Begin Segment

Count

Introducer and
drawing orders

The WG command follows the Write Graphics Control command and contains
information about the graphics presentation space. This data is referred to as
drawing orders.

Bar Codes

Bar codes contain information that can be read by optical scanners and are
widely used.

A bar code resides in a bar code presentation space, which is mapped to a
bar code block that exists on the logical page. This block can be the same
size, larger, or smaller than the bar code presentation space.

The entire bar code presentation space must be mapped to the bar code
block; you cannot trim and cut any of the bar code presentation space.