Barcode39

New in version 4.0

Barcode39 ( left ;​ top ;​ width ;​ height ;​ text ;​ color ;​ checksumFlag )

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
checksumFlag int 0..1 off
Examples

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

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

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

Description

The Barcode39() function makes it possible to create Code 39 barcodes. It is also known as Alpha39, Code 3 of 9, Code 3/9, Type 39, USS Code 39, or USD-3.

Examples:

BARCODE_39_01
1

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

2

OpenDrawing(260;​100;​print)

3

Barcode39(20;​20;​220;​60;​"abc123")

4

CloseDrawing()

BARCODE_39_01

By activating the argument checksumFlag = on a checksum can be added, for example:

BARCODE_39_02
1

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

2

OpenDrawing(260;​100;​print)

3

/* Code 39 with checksum. */

4

Barcode39(20;​20;​220;​60;​"abc123";​black;​on)

5

CloseDrawing()

BARCODE_39_02
BARCODE_39_03
1

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

2

OpenDrawing(260;​100;​print)

3

/* Code 39 with checksum. */

4

Barcode39(20;​20;​220;​60;​"abc123";​black;​on)

5

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

6

CloseDrawing()

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

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

×