⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 code128b.htm

📁 非常实用的条形码制作工具
💻 HTM
字号:
<!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 B</title>
</HEAD>
<BODY>

<h1>Code-128 B</h1>
<img src="sample_images/code128b.gif" align="center"> (GIF)
<BR>
<img src="sample_images/code128b.jpg" align="center"> (JPEG)
<BR>
<img src="sample_images/code128b.png" align="center"> (PNG)
<P>
Code-128 B is a continuous barcode. Its character set is ASCII 32 to 127 plus 
special characters SHIFT, CODE_C, CODE_A. It has one check character (not 
shown as part of the display text).
<P>
The special characters have the following barcode-defined native values:
<PRE>
	SHIFT = 98
	CODE_C = 99
	CODE_A = 101
</PRE>
When using these characters in the Data property, you must add 128 to the 
above native values in order to distinguish them from normal ASCII characters, 
i.e., use
<PRE>
	98 + 128 = 226 for SHIFT (or 0xE2 in hex)
	99 + 128 = 227 for CODE_C (or 0xE3 in hex)
	101 + 128 = 229 for CODE_A (or 0xE5 in hex)
</PRE>
These characters make it possible to mix Code-128 A, Code-128 B and Code-128 
C characters in one barcode:
<BLOCKQUOTE>
SHIFT indicates the next one character will be encoded using Code-128 
A character set (if the current character set is Code-128 B)
<P>
CODE_C indicates starting with the next character, Code-128 C set will 
be used.
<P>
CODE_A indicates starting with the next character, Code-128 A set will 
be used.
</BLOCKQUOTE>
In the barcode image above, there's a CODE_C between W4 and 13, i.e., the 
9th character has code:
<PRE>
	99 + 128 = 227 (or 0xE3 in hex)
</PRE>
in the Data property. Consequently the characters starting with 13 are actually 
encoded using the Code-128 C character set.
<P>
On Windows, you can enter special characters by keeping 
the ALT key pressed and typing 0 followed by the character code (e.g. 227).
<p>
In a URL, you'll need to URL-encode the character; 227 (0xE3) will be encoded
as %u00E3. The barcode data above would look like the following in a URL,
<pre>
	1Z0413W4%u00E31302528989
</pre>
<p>
<b>See Also</b></p>
<p>
<A HREF="code128a.htm">Code-128 A</A>, <A HREF="code128c.htm">Code-128 C</A>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -