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.

Form Examples and Exercises

6±5

Page 273
Image 273
Printronix ThermaLine Series manual Example Using the Setup Command, Example Dynamic Data, ~Setupend