Download TBarCode/SAPwin

Transcript
T Bar Cod e/ S APw i n
Use this setting to attune to the particular data mode.
Note: This setting applies only to the standard BarcodePrint function and not to the
Unicode interface (V10.1 or later).
0
Auto-detection (default)
The bar code library examines the print control and conforms automatically
to the its encoding.
1
ANSI Mode
The bar code library assumes that the print control is in ANSI format
2
Mixed Mode
Experts only: The bar code library assumes that the print control is in mixed
format (16-bit UNICODE and ANSI characters)
DefEncodingMode
Specifies how the input data shall be interpreted.
The encoding mode is an integer argument that may have following values:
0
Code Page (Default)
The input string is converted to the selected code page (default) -- see
DefCodePageIndex.
1
Encode Lower Byte
The input string is treated as a sequence of ASCII characters ranging from 0
to 255. If the input data is
UNICODE/UTF-16  only the Lower Byte is encoded.
Single Byte (ANSI)  it is used as it is, no conversion is done.
2
As Byte Stream (Low + High Byte)
The input string is treated as byte stream (Low Byte before High Byte). If the
input data is
UNICODE/UTF-16  16-bit characters in the input stream are interpreted
as two ASCII characters. This encoding mode is
used for encoding binary and (untranslated)
UNICODE data.
Single Byte (ANSI)  it is used as it is ==> no conversion is done.
3
As Byte Stream (High + Low Byte)
The input string is treated as byte stream (High Byte before Low Byte). If the
input data is
UNICODE/UTF-16  16-bit characters in the input stream are interpreted
as two ASCII characters. This encoding mode is
used for encoding binary and (untranslated)
UNICODE data (reverse byte order of (2)).
Single Byte (ANSI)  it is used as it is, no conversion is done.
4
As sequence of Hexadecimal digits
Data characters are treated as binary data in Hexadecimal format (two hex
digits per Byte value). If you supply data in this format, bar code specific
code pages are not applied.
DefCodePageIndex
Following predefined code pages can be used:
1:
Default (depends on bar code type)
2:
ANSI Code Page
3:
Windows-1252 (1252)
4:
ISO 8859-1 Latin I (28591)
5:
ASCII Extended (437)
6:
UTF-8
7:
Korean (949)
8:
Japanese / Shift-JIS (932)
9:
Simplified Chinese (936)
10:
Traditional Chinese (950)
11:
ANSI - Cyrillic (1251)
12:
Russian KOI8-R (20866)
Attention: The encoding mode must be set to Code Page (=default) to use this setting.
DefCodePageCustom
The Code page ID
Alternatively to the predefined code pages it is possible to enter the code page id
directly. Any value set here overrides DefCodePageIndex.
Attention: The encoding mode must be set to Code Page (=default) to use this setting.
437
set the code page to ASCII Extended (437)
Table 33: Barcode-Ini Section SETTINGS (part 3)
Page 54 of 90