This command is used to indicate whether or not to process the tilde character for DataMatrix barcode.
Command |
Description |
DMHT=0 |
Don't process the tilde character |
DMHT=1 |
Process the tilde character |
If "DMHT=1" is invoked, non-printable characters can be encoded with DataMatrix barcode by using the tilde character, "~dNNN" represents the ASCII character encoded by the 3 digits NNN, for example, "~d010" represents the character LF (line feed).
"~1" is used to indicate FNC1. For example, "~10107612345678900~117100503" can be used to generate GS1 DataMatrix "(01)0107612345678900(17)100503", and "~110AC34563G3" can be used to generate GS1 DataMatrix "(10)AC34563G3".
"~5" is used to indicate Macro 5. For example, "~5ABCDEF0x1D123456" can be used to generate DataMatrix "[)>[RS]05[GS]ABCDEF[GS]123456[RS][EOT]".
"~6" is used to indicate Macro 6. For example, "~6ABCDEF0x1D123456" can be used to generate DataMatrix "[)>[RS]06[GS]ABCDEF[GS]123456[RS][EOT]".
[RS] is the record separator with ASCII value 30, which can be represented with 0x1E in Barcode DLL with "X=1" command.
[GS] is the group separator with ASCII value 29, which can be represented with 0x1D in Barcode DLL with "X=1" command.
[EOT] is the end of transmission with ASCII value 4, which can be represented with 0x04 in Barcode DLL with "X=1" command.
Remarks:
An example of control character sequence to print DataMatrix barcodes:
bC=DM, X=1, B=50, H=50, R=0, DMFM=4, DMHT=1, DMMD=0, D=
See Also: