Entering non-printable ascii characters – Rockwell Automation 2755 AdaptaScan Software User Manual

Page 196

Advertising
background image

A–3

Publication 2755-838

You can enter non-printable ASCII characters into Header and
Trailer strings.

Non-printable characters may be represented by escape sequences
like \ n (Newline). The Reader interprets the \ n not as two separate
characters but as a Newline function. Each escape sequence is
preceded by a backslash \ followed by a letter or number. To enter
the \ character, use \ \.

Here are the set of escape sequences:

\a = alert (bell) character
\b = backspace
\f = formfeed
\n = newline
\r = carriage return
\t = horizontal tab
\v = vertical tab
\\ = backslash

Note: \1, \2, through \9 represent replacement string metacharacters,
refer to page C–4.

Entering Characters by Specifying Their Equivalent Value

To enter other non-printable characters, specify the hexadecimal
number equivalent value (see ASCII chart on previous page).

The format for entering a hexadecimal equivalent is \xhh where hh
is the hexadecimal value. For example; Vertical Tab = \x0B and Bell
= \x07

Entering Non-Printable
ASCII Characters

Advertising