Barcode128

New in version 4.0

Barcode128 ( left ;​ top ;​ width ;​ height ;​ text ;​ color )

Argument Type Range Default Note
left num -inf..+inf (required)
top num -inf..+inf (required)
width num 0..inf (required)
height num 0..inf (required)
text str 0..100 (required) Max. 100 chars.
color rgba 0..255 black
Examples

Barcode128(10;​10;​200;​50;​"0123456789")

Barcode128(20;​20;​200;​50;​"ABCDEFGHIJKLM")

Barcode128(50;​20;​300;​100;​"X2max Software";​darkBlue)

Description

The Barcode128() function makes it possible to create Code 128 barcodes.

Examples:

BARCODE_128_01
1

/* Note: Using a high print resolution is recommended for all types of barcodes. */

2

OpenDrawing(260;​100;​print)

3

Barcode128(20;​20;​220;​60;​"0123456789ABCDEF")

4

CloseDrawing()

BARCODE_128_01
BARCODE_128_02
1

/* Note: Using a high print resolution is recommended for all types of barcodes. */

2

OpenDrawing(260;​100;​print)

3

Barcode128(20;​20;​220;​60;​"0123456789ABCDEF")

4

AddText(130;​95;​"0123456789ABCDEF";​Verdana;​12;​plain;​black;​center)

5

CloseDrawing()

BARCODE_128_02
Scroll to Top
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×