beautypg.com

The bar code command set, Write bar code control (wbcc), Write bar code (wbc) – Printronix T5000R User Manual

Page 21

background image

The Bar Code Command Set

19

The Bar Code Command Set

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

Write Bar Code Control (WBCC)

Byte

D680

Flag

CID

Bar Code Area

Count

Position;
Bar Code
Output Control;
Bar Code Data
Descriptor

Use this command to set the bar code block position, size, and orientation; to
set the bar code presentation size; the bar code to be used; and to set how
the bar code presentation space will map into the bar code block.

Write Bar Code (WBC)

Byte

D681

Flag

CID

Data

Count

This command sends Bar Code Object Content Architecture data to the
printer and applies to only one bar code symbol. To print another bar code
symbol, you must send another WBC command.

The following table displays the code and bar code type.

Code

Bar Code Type

X’ 01’

Code 39 (3-of-9 Code), AIM USS-39

X’ 02’

MSI (modified Plessey code)

X’ 03’

UPC/CGPC--Version A

X’ 05’

UPC/CGPC--Version B

X’ 06’

UPC--Two-digit Supplemental (Periodicals)

X’ 07’

UPC--Five-digit Supplemental (Paperbacks)

X’ 08’

EAN-8 (includes JAN-short)

X’ 09’

EAN-13 (includes Jan-standard)

X’ 0A’

Industrial 2-of-5

X’ 0B’

Matrix 2-of-5

X’ 0C’

Interleaved 2-of-5, AIM USS-I 2/5

X’ 0D’

Codabar, 2-of-7, AIM USS-Codabar

X’ 11’

Code 128, AIM USS-128