使用如下网页链接,用来生成一维或二维条码:
使用这个可以输入特殊条码,比如Function 3的条码。这种条码有时作为特殊指令输入给扫描设备。
下面的例子就表示一个BEPLVL3的命令,以字符FNC3开头,会被某些扫描设备识别为指令,而不是普通条码。结尾的句点表示命令结束终止符。
![](https://i-blog.csdnimg.cn/blog_migrate/49c02fd2de4a81c86b5892d893201649.png)
注意上面要勾选使能转义序列。具体使用可以查看视频和文档。
关于转移序列使用介绍如下:
转义序列(二进制数据编码)
如果您想在条形码中使用不可打印的或特殊的字符,您必须使用转义序列。转义序列总是以反斜杠('/')开始,后面是序列本身。
- 您必须在条码属性中激活转义序列的解码 - 默认情况下转义序列的翻译是关闭的。
- 激活转义序列功能后,您必须在输入数据中使用"\\"来表示条形码中的单个反斜杠"\"。
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 must 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
|
Zero Byte (if subsequent char is non-numeric)
Available in TBarCode V10+
| |
\0ooo
|
ASCII-character in octal notation:
ooo … up to 3 octal digits (0..7)
First digit is always zero.
| |
\ddd
|
ASCII-character in decimal notation:
ddd … up to decimal digits (0..9)
First digit must not be zero.
| |
\xhh
|
For encoding bytes or ASCII-characters in hexadecimal notation
hh … hexadecimal digits (0..F)
| |
\Crrggbb
|
Color selection
|
See Pharmacode
|
\Ce
|
Reset the color to default
| |
\F
|
FNC1 (Function Number Character 1) used as field separator
|
GS-128, Codablock-F
MicroPDF417: a special FNC1 code word is inserted when using emulation mode for GS1-128 or Code-128
Data Matrix: a special FNC1 code word is inserted
|
\F
|
Inserts a Gs (Group Separator) or ASCII 1DHex. Do not encode the \x1d directly!
|
PDF417, MaxiCode and in QR-Code
QR-Code: When using format UCC/EAN/GS1 Gs is inserted in Byte Mode, a % is inserted in alphanumeric mode.
|
\Ennnnnn
|
Extended Channel Interpretation (ECI).
nnnnnn … 6 digit ECI number with leading zeros
Used for defining the character set (code page) for the subsequent encoded data – see C.1 ECI
|
MaxiCode, Data Matrix, QR-Code, PDF417, MicroPDF417, Aztec Code
|
\EB, \EE
|
Special ECI identifiers for nesting ECIs.
\EB (ECI Begin) opens a nesting level,
\EE (ECI End) closes it.
|
QR-Code
|
\G
|
Global Language Identifier (GLI), similar to ECI (see \E).
|
PDF417
|
\S
|
Symbol separator character for C128 emulation
| |
\<FNCx>
|
Function sequence. Currently FNC1, FNC2, FNC3, and FNC4 are implemented. \<FNC1> is equal to \F.
| |
\x11
|
DC1
|
Code93, Code93Ext
|
\x12
|
DC2
|
Code93, Code93Ext
|
\x13
|
DC3
|
Code93, Code93Ext
|
\x14
|
DC4
|
Code93, Code93Ext
|
\x1e
|
Rs (Record Separator), ASCII 1EHex
|
PDF417, QR-Code, Data Matrix, MaxiCode (Mode 3,4 SCM)
|
\x1d
|
Gs (Group Separator), ASCII 1DHex
|
PDF417, QR-Code, Data Matrix, MaxiCode (Mode 3,4 SCM)
|
\x04
|
Eot (End of Transmission), ASCII 04Hex
|
PDF417, QR-Code, Data Matrix, MaxiCode (Mode 3,4 SCM)
|