|
c39tool − encodes a string used to create a Code 39 barcode & returns it to stdout |
|
c39Tool codeset barcode |
|
C39Tools is a collection of fonts that allows you to create Code 39 (Code 3 of 9) barcodes. C39Tools can be used to create regular Code 39 bar codes including Full ASCII Code 39 barcodes. You cannot simply type directly in the fonts and create a valid, scannable symbol. The 39tool command line utility accepts a string, formats it to include the start and stop bars, and converts any lowercase or control codes in the input into the correct Full ASCII Code 39 symbol characters. The string it returns is to be formatted in one of Azalea Software’s Code 39 barcode fonts. |
|
c39 |
Code 39 |
|||
|
c39b |
c39b is Full ASCII Code 39 |
|
The point size you use determines the height of the bar code. If you format a string of the text at 36 points, the bars will be 1/2" tall and if you format a string at 24 points, the bars will be 1/3" tall. The overall width of the symbol depends on which of the 27 individual fonts in C39Tools you use. Some fonts create wider or narrower symbols than others. Simply change among the various fonts to see which one works best for you. There are three families of fonts in C39Tools : Narrow, Regular, and Wide. Each font family has a different wide bar to narrow bar ratio. The Narrow fonts have a 2:1 wide:narrow ration, the Regular fonts have a 2.5:1 ratio, and the Wide fonts have a 3:1 ratio. Within each of the three font families, there are nine individual fonts. These nine fonts have different overall height to width ratios. For example, Code39Regular-E is 50% wider than Code39Regular-D. Code39Regular-F is twice as wide as Code39Regular-D. The table below lists the ratio between the width of the various fonts, assuming Code39 is the base font. |
Code39Narrow 2:1
narrow/wide units
Code39NarrowA 15/30 62.5
Code39NarrowB 18/36 75
Code39NarrowC 24/48 100
Code39NarrowD 30/60 125
Code39NarrowE 36/72 150
Code39NarrowF 48/96 200
Code39NarrowG 60/120 250
Code39NarrowH 72/144 300
Code39NarrowI 90/180 375
Code39Regular, 2.5:1
narrow/wide units
Code39RegularA 6/15 25
Code39RegularB 12/30 50
Code39RegularC 18/45 75
Code39RegularD 24/60 100
Code39RegularE 36/90 150
Code39RegularF 48/120 200
Code39RegularG 72/180 300
Code39RegularH 96/240 400
Code39RegularI 120/300 500
Code39Wide, 3:1
narrow/wide units
Code39WideA 3/9 12.5
Code39WideB 6/18 25
Code39WideC 12/36 50
Code39WideD 18/54 75
Code39WideE 24/72 100
Code39WideF 36/108 150
Code39WideG 48/144 200
Code39WideH 72/216 300
Code39WideI 96/288 400
|
Code 39’s standard character set included 44 characters. C39Tools also supports Full ASCII Code 39 symbols. Full ASCII Code 39 is used to create the lower 128 ASCII characters. This is done by using pairs of characters to create the characters outside of the standard 44. Make sure that your scanner supports Full ASCII (most do). You may have to reconfigure your scanner. |
0 NUL %U | 44 comma /L | 88 X X 1 SOH $A | 45 hyphen - | 89 Y Y 2 STX $B | 46 period . | 90 Z Z 3 ETX $C | 47 slash2 /0 | 91 leftBracket %K 4 EOT $D | 48 0 0 | 92 backwardL %L 5 ENQ $E | 49 1 1 | 93 rightBracket %M 6 ACK $F | 50 2 2 | 94 upArrow %N 7 BEL $G | 51 3 3 | 95 underScore %O 8 BS $H | 52 4 4 | 96 accentGrave %W 9 HT $I | 53 5 5 | 97 a +A 10 LF $J | 54 6 6 | 98 b +B 11 VT $K | 55 7 7 | 99 c +C 12 FF $L | 56 8 8 | 100 d +D 13 CR $M | 57 9 9 | 101 e +E 14 SO $N | 58 colon /Z | 102 f +F 15 SI $O | 59 semiColon %F | 103 g +G 16 DLE $P | 60 lessThan %G | 104 h +H 17 DC1 $Q | 61 equalSign %H | 105 i +I 18 DC2 $R | 62 greaterSign %I | 106 j +J 19 DC3 $S | 63 questionMark %J | 107 k +K 20 DC4 $T | 64 atSign %V | 108 l +L 21 NAK $U | 65 A A | 109 m +M 22 SYN $V | 66 B B | 110 n +N 23 ETB $W | 67 C C | 111 o +O 24 CAN $X | 68 D D | 112 p +P 25 EM $Y | 69 E E | 113 q +Q 26 SUB $Z | 70 F F | 114 r +R 27 ESQ %A | 71 G G | 115 s +S 28 FS %B | 72 H H | 116 t +T 29 GS %C | 73 I I | 117 u +U 30 RS %D | 74 J J | 118 v +V 31 US %E | 75 K K | 119 w +W 32 [space] [space]* | 76 L L | 120 x +X 33 exclaim /A | 77 M M | 121 y +Y 34 doubleQuotes /B | 78 N N | 122 z +Z 35 poundSign /C | 79 O O | 123 leftCurly %P 36 dollarSign /D | 80 P P | 124 verticalBar %Q 37 percent /E | 81 Q Q | 125 rightCurly %R 38 ampersand /F | 82 R R | 126 tilde %S 39 singleQuote /G | 83 S S | 127 DEL1 %T, %X, %Y, %Z 40 leftParen /H | 84 T T | 41 rightParen /I | 85 U U | 42 asterisk /J | 86 V V | 43 plusSign /K | 87 W W |DIAGNOSTICS
|
The c39tool utility exits 0 on success, and >0 if an error occurs. |