6 escape sequences (encoding binary data) – Konica Minolta Darwin VDP Software User Manual

Page 14

Advertising
background image



Page 14 of 92

T EC - I T B a r c o d e So f t w a re R e f e re n c e

Input data

Barcode type

Format string

Data used for
encoding

Notes

12345

Irrelevant

####^#

1234

c

5

When using Modulo 10 for check digit calcu-
lation, c will be

Mod-10 (12345) = 5 for TBarCode 6 (or
earlier).

Mod-10 (1234) = 0 for TBarCode 7 (or
later).

Hello

Code 128

A&

Hello

Hello

Code 128

A##B&

He

llo

Hello4711

Code 128

A##B&

He

llo4711

Hello4711

Code 128

A##B###C&

He

llo

4711

1234567890

EAN-128

#####^#####

12345767890

7 is the check digit computed when using
Modulo 10. The check digit computation uses
only the digits 12345 (67890 are ignored
because this data comes after the ^)

Table 5: Format Examples

red

characters

represented in subset A

gray

characters

represented in subset B

green

characters

represented in subset C

c

represents the place of the check digit

4.6 Escape Sequences (Encoding Binary Data)

If you want to use non-printable or special characters in a barcode, you have to use escape
sequences. An escape sequence

always start with a backslash („\‟) followed by the sequence itself.

You have to activate the decoding of escape sequences in the barcode properties

– per

default the translation of escape sequences is turned off.

With activated escape sequences you mu

st use “\\” in the input data to encode a single

backslash

„\“ in the barcode.

Escape
sequence

Description

Valid for Barcode Symbology

\a

Bell (alert)

All

\b

Backspace

\f

Form feed

\n

New Line

\r

Carriage Return

\t

Horizontal Tab

\v

Vertical Tab

\\

The backslash \ itself

\0

ooo

ASCII-character in octal notation:

ooo

… octal digits (0..7)

\

ddd

ASCII-character in decimal notation:

ddd

… decimal digits (0..9)

\x

hh

For encoding bytes or ASCII-characters in hexadecimal
notation

hh

… hexadecimal digits (0..F)

\C

rrggbb

Color selection

See Pharmacode

\Ce

Reset the color to default

\F

FNC1 (Function Number Character 1) used as field separator

EAN-128, UCC-128, Codablock-F

MicroPDF417: a special FNC1 codeword is
inserted when using emulation mode for

Advertising