beautypg.com

Printronix ThermaLine Series User Manual

Page 187

background image

5–49

Bar Codes

Code 128B Example

Figure 5–6 illustrates a horizontal and vertical Code 128B bar code generated

by the following program:

~CREATE;128B

(Enter Create Form Mode)

BARCODE

(Bar Code command)

C128B;DARK;40;15

(Dark Code 128B at SR 40, SC 15)

*SAMPLE CODE 128B*

(Data Field)

PDF;A

(Upper Printable Data Field)

STOP

(Ends Bar Code command)

BARCODE

(New Bar Code command)

C128B;VSCAN;H12;DARK;31;55

(Vert. Dark C128B, H 1.2 at SR 31, SC 55)

*SAMPLE CODE 128B*

(Data Field)

PDF

(Printable Data Field)

STOP

(Ends Bar Code command)

END

(Terminate Create Form Mode)

~EXECUTE;128B;1

(Execute the form, form count of 1)

CODE128B.EX

SR 40

SC 15

SR 31

SC 55

Figure 5–6. Sample Code 128B Bar Codes