codeean128.htm
来自「非常实用的条形码制作工具」· HTM 代码 · 共 38 行
HTM
38 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML dir=ltr>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<title>Code-128/EAN-128</title>
</HEAD>
<BODY>
<h1>Code-128/EAN-128</h1>
<p><b>Code-128 A</b>, <b>B</b> & <b>C</b> are not really separate barcode types. A, B or C merely denotes the initial
character set used; you may switch to a different character set (for example, from A to C) in the middle
of the barcode at will, by inserting special characters into the barcode data. The special characters
are Code-128 specific control characters, i.e., they have no UNICODE equivalents.
In order to distinguish them from ASCII characters, in place of any such special character, we
adopt the convention of using the UNICODE (or ANSI Western) character having the code that is that of the special character
plus 128. For example, for the following Code-128 specific control characters,
<pre>
SHIFT = 98
CODE_C = 99
CODE_B = 100
CODE_A = 101
</pre>
we have to use the UNICODE (or ANSI Western) characters that have the following codes instead,
<pre>
98 + 128 = 226 (or 0xE2 in hex) for SHIFT
99 + 128 = 227 (or 0xE3 in hex) for CODE_C
100 + 128 = 228 (or 0xE4 in hex) for CODE_B
101 + 128 = 229 (or 0xE5 in hex) for CODE_A
</pre>
<p>
The above discussion applies equally to <b>EAN-128 A</b>, <b>B</b> & <b>C</b>.
</p>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?