beautypg.com

Alpha-numeric field definition, Pull web – Avery Dennison PCL User Manual

Page 10

background image

8 •••• Users Guide

PAXAR PCL

A field definition starts with ~FA for an alphanumeric field, ~FB for a barcode field,
~FL for a box / underline field, ~FG for a logo field, and ~FS for a care symbol field.
(Refer to the section Field Information for a list of all field types available for each
printer model.) Once the printer receives one of these commands, it considers the
format header information to be complete and will ignore any other header commands
that are sent. The printer expects all the commands that follow the field definition start
command to be information for that field. Any commands that are sent that are not
commands for the field type specified in the field definition start command will be
ignored. To start the definition of another field, send another field definition start
command. Once all the field definitions have been sent, then an ~XZ command should
be sent to signal that the format definition is complete.

All field definitions must have a web position and a pull position specified. These
positions are set using the ~FW and ~FP commands. Another feature for a field is
rotation. The rotation is specified using the ~FR command.

PULL

WEB

TEXT

90

180

270

0

PULL

WEB

90

180

270

0

0 1234567890 5

PULL

WEB

90

180

270

0

Alphanumeric Rotation

Barcode Rotation

Logo Rotation

Alpha-Numeric Field Definition

Each field definition will consist of a Field Definition command (~FA for an
alphanumeric field, ~FB for a barcode field, etc.) and one or more field attribute
commands. Some of the field attribute commands are common to all field types and
will start with a ~F, while some commands are unique to a particular field type. For
example, commands for alphanumeric fields begin with ~A.

The definition of an alphanumeric field with a length of seven characters would start as
~FA07. The field is to be placed at a position that is 1/2" in the web direction and 1/2"
in the pull direction. These commands would be ~FW0500 and ~FP0500. The rotation
of the field is zero degrees which would be ~FR0. The field would be printed with the
top left of the first character in the field starting 1/2" in from the trailing edge of the tag
and 1/2" in from the inside edge of the stock as it traveled through the printer. A 10-
point font size could be selected for the field by using the command ~AP10 and font 8
selected by using the command ~AF08. The full field definition would be:

~FA07~FW0500~FP0500~FR0~AF08

There are more features which can be implemented for alphanumeric fields described in
the Reference manual under the ~A commands.