Programming
0705
TTPM3 Printer/Encoder–Technical Manual
39
type
Selects type of bar code. The following types are available:
Value
1 =
EAN13 (partly implemented, no check sum)
Value
2 =
Code 2-of-5 interleaved
Value
8 =
EAN 128
Value
9 =
Code 128
Value
11 =
Code 39
space
A space (blank) has to be inserted between the type parameter and the
data string.
bar code data This is a block of data to be converted by the TTPM3 and printed in bar
code form in accordance with the parameters identified. For available
characters and data string formats, please refer to the specific type of bar
code.
The following command string produces the ticket illustrated to the left below:
!C
!L1
!F C N 12 102 1 4 3 1 "1234567890128"
!P
SW97103A
X
Y
FAST
SLOWER
but more
reliable
Feed
direction
If dots are missing
the bar code will
still be readable
Figure 15. EAN13 bar code. Use east or west oriented bar codes wherever possible, to guarantee readability.
Code 39 example
!F C N 100 230 6 2 2 11 "12345"
Code 128 example
!F C N 100 320 1 5 2 9 "abc123"
Code 2-of-5 example
!F C N 100 410 5 2 2 2 "123456"
NOTE! –
Code 2-of-5 must have an even number of digits.