Printronix ThermaLine Series User Manual

Page 273

Advertising
background image

6–5

Form Examples and Exercises

Example: Using the Setup Command

The following example demonstrates how the margins,landscape orientation,

8LPI and font double wide are automatically SETUP at power–up.

~SETUP

CONFIG

TOP/BOTTOM MARGIN ; 1

LEFT MARGIN ; 10

END

~PAPER ; ROTATE 270

~LPI ; 8

~EXPAND ; 1 ; 2

~SETUPEND

Example: Dynamic Data

The process of executing dynamic alphanumeric and bar code data fields is

explained in the following exercises. Each stage includes printing the

program; however, the total program may be entered as one unit. Each stage

offers the option of choosing features applicable to specific needs.

Basic Design

The SAMPLE program below, shown in Figure 6–2, is a basic design in

CP.DP format and defined by standard Create Form mode command

sequences. The label is duplicated twice horizontally on an approximate form

length of 8 1/2 x 5 1/2 inches (390 dots), with three bar code locations

specified per label. The result is two “forms” — two labels per form, four

labels printed on one 8-1/2 x 11-inch “page.” On the next few pages, you will

add bar code data, dynamic alphanumeric data, and dynamic bar code data.

Then you will execute and print the complete form (Figure 6–3).

When entering command lines, remember to correctly terminate each line

with a line feed or carriage return with line feed. Use your system commands

to open a file for the label program. When you have finished, exit the file (if

necessary for your system) and print.

Advertising