7.4

Table Of Contents
BarHeight
Measure value setting the height of each bar, in inches.
BarType
Integer value specifying the type of barcode to print. Current possible values include:
BarType: Code:
0 Code 39
1 Code 128
2 UPC_A
3 UPC_E
4 UPC/EAN 8
5 UPC/EAN 13
6 PostNet
7 PDF-417
Code Sample Example
This example prints a Code 128 barcode.
The BarWidth, BarHeight and BarType variables must be created exactly as shown here, with the same case changes in
the variable names.
Example
define(&BarWidth,measure,0.012)
define(&BarHeight,measure,1.000)
define(&BarType,integer,1)
%Set bar color to black and display barcode
setfillcolor([100,100,100,100])
showbarcode('Bar 128')
ShowBarcode2of5(procedure)
Displays a specified string as a Standard 2 of 5 barcode.
Syntax
showbarcode2of5( str, barwidth, readable, bearers)
Arguments
str
Value of type string to display as a barcode.
barwidth
©2010 Objectif Lune Inc - 452 -