beautypg.com

Dascom 7010 Programmers Manual ZPL User Manual

Page 41

background image

41

style bar code to be printed with no rotation and a height of 100 dots.

Instruction four (^FDCODE128 in Fig. A) and (^FD>:CODE128 in Fig. B) specify the

content of the bar code. Command five (^XZ) indicates the end of the print field and the

end of the label format.

The interpretation line will print below the code with the UCC check digit turned off.

The ^FD command for Fig. A does not specify any subset so the B subset is used. In Fig.

B , the ^FD instruction specifically calls subset B Although ZPL® defaults to Code B, it

is very good practice to include the invocation codes in the command.

Code 128 - subset B is programmed directly as ASCII text, except for values greater than 94

decimal and a few special characters:

^ > ~

These characters must be programmed by using the invocation codes.

Example of Code 128 - Subsets A and C

Code 128 subsets A and C are programmed as pairs of digits, 00-99, in the field data string.

(Refer to the Code 128 characters chart.)

In subset A, each pair of digits results in a single character being encoded in the barcode; in

subset C, they are printed as entered. Fig E below is an example of Subset A. (The “>9" is

the Start Code for Subset A.)

Non-integers programmed as the first character of a digit pair (D2) are ignored. However,

non-integers programmed as the second character of a digit pair (2D) invalidate the

entire digit pair, and the pair is ignored. An extra, unpaired digit in the field data

string just before a code shift is also ignored.

Fig. C and Fig. D below are examples of subset C. Notice that the bar codes in the figures

are identical. In the program code for Fig. D, the “D” is ignored and the 2 is paired with the

4.

This manual is related to the following products: