Brother BT-1000 User Manual

Page 1
BBTT--11000000 BBrrootthheerr BBaarrccooddee FFoonntt
UUsseerr’’ss G
Guuiiddee
Version 0
1
Page 2
Table of Contents
CHAPTER 1 HOW TO INSTALL THE BT-1000 BROTHER BARCODE FONT
UPGRADE ON BROTHER PRINTER...........................................................4
®
1 WINDOWS AND WINDOWS
2 OTHER OPERATING SYSTEMS........................................................... 5
CHAPTER 2 BT-1000 BARCODE FONT SOLUTIONS MANUAL ...............6
1 CODE 128...............................................................................................6
1.1 ABOUT CODE 128.......................................................................................6
1.2 CHOOSING THE RIGHT FONT AND SIZE ......................................................... 6
1.3 PCL ESCAPE SEQUENCES .......................................................................... 7
1.4 CODE 128 FONT PRODUCT CHARACTER SET................................................ 7
SYSTEMS (WINDOWS® 95/98/ME, WINDOWS NT® 4.0
®
2000/XP)...........................................................................4
2 CODE 39...............................................................................................10
2.1 ABOUT CODE 39.......................................................................................10
2.2 WHATS IN IT?........................................................................................... 10
2.3 CHOOSING THE RIGHT FONT...................................................................... 11
2.4 THE PCL ESCAPE SEQUENCES ................................................................. 11
2.5 CODE 39 FONT PRODUCT CHARACTER SET ............................................... 12
3 INTERLEAVED 2OF5........................................................................... 15
3.1 ABOUT INTERLEAVED 2 OF 5...................................................................... 15
3.2 PCL ESCAPE SEQUENCES ........................................................................ 15
3.3 I2OF5 FONT PRODUCT CHARACTER SET.................................................... 16
4 UPC / EAN CODE................................................................................. 18
4.1 ABOUT THE UPC / EAN CODE................................................................... 18
4.2 TYPES OF UPC SYMBOLS ......................................................................... 19
4.2.1 UPC-A.............................................................................................. 19
4.2.2 UPC-E.............................................................................................. 20
4.3 PCL ESCAPE SEQUENCES ........................................................................ 21
5 CODABAR............................................................................................21
5.1 ABOUT CODABAR...................................................................................... 21
5.2 PCL ESCAPE SEQUENCES ........................................................................ 22
2
Page 3
Trademarks
The Brother logo is a registered trademark of Brother Industries, Ltd. Macintosh is registered trademark in t he Unit ed St ates and other countries, and
TrueType is a trademark of Apple Computer, Inc. Microsoft, MS-DOS, Windows and Windows NT are registered trademarks of
Microsoft Corporation in the U.S. and other countries. PostScript is a registered trademark of Adobe Syst em s I ncorporated. All other terms and brand and product names m entioned in this User’s Guide are
registered trademarks of their r espect ive com panies.
Compilation and Publication Notice
Under the supervision of Brother Industr ies Lt d. , this manual has been compiled and published, covering the latest product’s descriptions and specifications.
The contents of this manual and the specifications of t his pr oduct are subject to change without notice.
Brother reserves the right to m ake changes wit hout notice in the specifications and materials contained herein and shall not be responsible for any damages ( including consequential) caused by reliance on the materials presented, including but not limited to typographical and other err or s r elating to the publication.
©2002 Brother Industries, Ltd.
3
Page 4

Chapter 1 How to install the BT-1000 Brother Barcode Font Upgrade on Brother Printer

Note: In order to activate the BT-1000, you must use the PCL emulation mode.
1 Windows® Systems
(Windows 2000/XP)
To activate the barcode fonts, you must send an activation key to t he printer you wish to upgrade. To send the activation key, follow the steps below:
a. You must have already installed the corresponding Windows
the PC you wish to upgrade from. Use the CD-RO M that was supplied with the
printer to install a printer dr iver . b. Insert the BT-1000 CD-ROM int o your CD-ROM drive. c. Click AddFont in the AddFont folder in the CD-ROM. d. A screen similar to the one below appears:
®
95/98/Me, Windows NT® 4.0 and Windows®
®
printer driver onto
e. Select the appropriate printer. Depending on your printer and PC configuration,
the display will vary.
4
Page 5
f. Click the OK button to send the font activation key. The pr int er will receive the
activation key. Wait at least 30 seconds. g. Switch the printer off and then on. h. Print, PRINT FONTS by using the control panel. You can check t he newly
activated fonts.

2 Other Operating Systems

If you are using another operating system such as Linux, Unix, O S/ 2, etc, follow the steps below:
a. Insert the BT-1000 CD-ROM int o your CD-ROM drive. b. Select the AddFont.bin file in the Others folder in the CD-ROM and send it t o
the printer. The printer will receive t he activation key. Wait at least 30 seconds. c. Swit ch t he pr inter off and then on. d. Print, PRINT FONTS by using the control panel. You can check t he newly
activated fonts.
5
Page 6

Chapter 2 BT-1000 Barcode Font Solutions Manual

1 Code 128

1.1 About Code 128

Introduced in 1981, Code 128 bar codes are used extensively by the shipping industry, as well as for inventory, ID, and t r acking purposes. It is often selected over Code 39 when space is at a premium and because it offers a much lar ger selection of characters. The Code 128 standard is maintained by AI M (Automatic Identification Manufacturers).
Code 128 provides a very dense numeric-only bar code, and a dense alphanumeric bar code. This is a continuous code, of variable length, bi-dir ect ional and self ­checking. It is designed to encode all 128 ASCII characters , and is optimized to compress the bar code. It will use the least amount of space for data of 6 characters or more of any 1-D symbol.
The character set includes the lower 128 ASCII charact ers with upper and lowercase letters, numbers, punctuation, and cont rol codes. A check digit, determined by Modulus 103, is placed at the end of the message before the end character, for data integrity purposes. The symbol can be as long as necessary to store the encoded data.

1.2 Choosing the Right Font and Size

BT-1000 includes three different fonts used to create bar code symbols of different densities. Changing fonts alters the width of a bar code without affecting the symbol’s height. BT-1000 supports Code set A, Code set B and Code set C.
Like any TrueType or Type 1 font, the bar code fonts can be scaled to any size. Any of the fonts formatted at 24 or 36 points will create bar codes 1/3 (8.5mm) or ½ (12.7mm) inches tall, respectively. Print samples of your desired string in a number of the fonts to verify that it can be scanned when printed on your particular printer.
6
Page 7

1.3 PCL Escape Sequences

To print from Unix or DOS systems you must send the appropriate PCL escape sequences to print the bar code font you require. Exam ple escape sequences ar e shown below:
Code128TT-Regular : esc(12Yesc(s1p#v0s0b28685T Code128-NarrowTT-Regular : esc(12Yesc(s1p#v0s0b28686T Code128-WideTT-Regular : esc(12Yesc(s1p#v0s0b28687T (#: point size 0.25 – 999.75)
Replace the hash (#) with the relevant point size. For exam ple, to print a bar code that is one inch (25.4 mm) high, substitute ‘#’ with ‘72’. To print a bar code half and inch (12.7 mm) high, use 36.
To switch back to printing normal fonts in the t ypest y le you expect , print the PCL font list from the printer contr ol panel, and r efer to the escape sequence shown on the print out.

1.4 Code 128 Font Product Character Set

ASCII value Code Set A Code Set B Code Set C
174 SP SP 00
33 ! ! 01 34 “ 02 35 # # 03 36 $ $ 04 37 % % 05 38 & & 06 39 ‘ 07 40 ( ( 08 41 ) ) 09 42 * * 10 43 + + 11 44 , , 12 45 - - 13 46 . . 14 47 / / 15 48 0 0 16 49 1 1 17 50 2 2 18 51 3 3 19 52 4 4 20 53 5 5 21 54 6 6 22 55 7 7 23 56 8 8 24 57 9 9 25 58 : : 26
7
Page 8
ASCII value Code Set A Code Set B Code Set C
59 ; ; 27 60 < < 28 61 = = 29 62 > > 30 63 ? ? 31 64 @ @ 32 65 A A 33 66 B B 34 67 C C 35 68 D D 36 69 E E 37 70 F F 38 71 G G 39 72 H H 40 73 I I 41 74 J J 42 75 K K 43 76 L L 44 77 M M 45 78 N N 46 79 O O 47 80 P P 48 81 Q Q 49 82 R R 50 83 S S 51 84 T T 52 85 U U 53 86 V V 54 87 W W 55 88 X X 56 89 Y Y 57 90 Z Z 58 91 [ [ 59 92 \ \ 60 93 ] ] 61 94 ^ ^ 62 95 _ _ 63 96 NUL 64 97 SOH a 65 98 STX b 66
99 ETX c 67 100 EOT d 68 101 ENQ e 69 102 ACK f 70 103 BEL g 71 104 BS h 72 105 HT i 73 106 LF j 74 107 VT k 75
8
Page 9
ASCII value Code Set A Code Set B Code Set C
108 FF l 76 109 CR m 77 110 SOH n 78 111 SI o 79 112 DLE p 80 113 DC1 q 81 114 DC2 r 82 115 DC3 s 83 116 DC4 t 84 117 NAK u 85 118 SYN v 86 119 ETB w 87 120 CAN x 88 121 EM y 89 122 SUB z 90 123 ESC { 91 124 FS | 92 125 GS } 93 165 RS ~ 94 166 US DEL 95 167 FNC 3 FNC 3 96 168 FNC 2 FNC 2 97 169 SHIFT SHIFT 98 170 CODE C CODE C 99 171 CODE B FNC 4 CODE B (100) 172 FNC 4 CODE A CODE A (101) 173 FNC 1 FNC 1 FNC 1 (102) 161 START A START A START A (103) 162 START B START B START B (104) 163 START C START C START C (105) 164 STOP STOP STOP
9
Page 10

2 Code 39

2.1 About Code 39

Code 39 was the first alphanumeric bar code developed and is the most widely used. Also known as Code USD-3 or Code 3/9, Code 39 is widely used in many industries and is the standard for many government bar code specif ications, including the U.S. Department of Defense. Code 39 is defined in Amer ican National Standards Institute (ANSI) standard MH10.8M-1983.
Code 39 is often used for identification, inventor y, and work-in-process tracking because the character set is alphanumeric, the input st r ing lengt h is var iable (although more than 25 characters is hard t o accom modate), and the symbol itself can vary in height and width. It is bi-directional, includes a checksum option, and is discreet.
BT-1000 includes eight fonts and switching between them changes the bar code’s width and density without changing its height.
2.2 What’s in it?
Code 39 is an alphanumeric bar code that can be as long as necessary to store encoded data. Designed to encode 26 uppercase letters, 10 digits and 7 special characters, the Code 39 character set includes t he digits 0-9, the letters A-Z (upper case only), and the following symbols: space, minus (-) , plus (+), full stop (.), dollar sign ($), slash (/), and percent ( %). It can be extended to code all 128 ASCII characters by using a two character coding scheme. Extended characters are encoded by a pair of normal Code 39 characters; for exam ple, a lower case 'a' (not part of the standard Code 39 character set ) can be encoded by t he pair '+A'. A carriage return control code can be encoded by the pair '$M ' .
The symbol includes a quiet zone, the start character " * " , the encoded data, the stop character "*", and a trailing quiet zone. The ast er isk in code 39 is used as t he st art and stop bar. 5 bars and 4 spaces for a total of 9 element s r epr esent each character. Each bar or space is either "wide" or "narrow" and 3 out of the 9 elements are always wide. That is what gives the code its other name - Code 3 of 9. Of the 9 elements, 3 are large and 6 are narrow. Characters are separated by an inter­character gap the same width as a narrow bar. The ratio of wide: narrow bar width may be in the range of 1.8 to 3.4. Bar codes wit h a narrow bar width of less than
0.020 inches (0.508mm) should have a ratio of at least 2.5. A ratio of 3.0 is recommended. Every Code 39 bar code should be preceded and followed by a quiet zone the width of at least 10 narrow bars.
10
Page 11

2.3 Choosing the Right Font

The various Code 39 fonts creates bar code symbols of differ ent sizes and densit ies. Most of the fonts use a 2.5:1 wide: nar r ow bar ratio. The Slim fonts use a 2:1 ratio for narrower symbols and the Wide font uses a 3:1 ratio f or wider symbols. Like any TrueType or Type 1 font, the bar code fonts can be scaled to any size. Any of the fonts formatted at 24 or 36 points will create bar codes that are 1/3 (8.5mm) or 1/2 (12.7mm) inches tall respectively.
Be sure to print samples of the desired string in a num ber of the fonts and check that it can be scanned when printed on your particular printer. Since t he fonts have different wide bar to narrow bar r a t ios, and over all height to width ratios, the same string formatted in differ ent f onts will be different widths. Try differ ent fonts to decide which one works best in your situation.

2.4 The PCL Escape Sequences

From UNIX or DOS it is necessary to send PCL escape sequences as part of the print data to select the desired bar code font. Example escape sequences are shown below:
Code39QuarterInch-Regular : esc(9Yesc(s1p#v0s0b28676T Code39HalfInch-Regular : esc (9Yesc(s1p#v0s0b28677T Code39OneInch-Regular : esc(9Yesc(s1p#v0s0b28678T Code39SmallLow-Regular : esc(9Yesc(s1p#v0s0b28679T Code39SmallMedium-Regular : esc(9Yesc(s1p#v0s0b28680T Code39SmallHigh-Regular : esc(9Yesc(s1p#v0s0b28681T Code39Slim-Regular : esc(9Yesc(s1p#v0s0b28682T Code39Wide-Regular : esc(9Yesc(s1p#v0s0b28683T (# : point size 0.25 - 999.75)
Replace the hash (#) with the relevant point size. For exam ple, to print a bar code that is one inch (25.4 mm) high, substitute ‘#’ with ‘72’. To print a bar code half and inch (12.7 mm) high, use 36.
After printing a bar code it is necessary to select a dif ferent font in order to print something besides more bar codes. The PCL command to select the default font is “<esc>(3@”. To select a font other t han the default font, use the PCL escape sequence show on the PCL font list. The “<esc>” shown is the ASCI I escape character. It is decimal 27, hexadecimal 1B, oct a l 33, or binary 00011011.
11
Page 12

2.5 Code 39 Font Product Character Set

ASCII Character Code 39
0 NUL %U 1 SOH $A 2 STX $B 3 ETX $C 4 EOT $D 5 ENQ $E 6 ACK $F 7 BEL $G 8 BS $H
9 HT $I 10 LF $J 11 VT $K 12 FF $L 13 CR $M 14 SO $N 15 SI $O 16 DLE $P 17 DC1 $Q 18 DC2 $R 19 DC3 $S 20 DC4 $T 21 NAK $U 22 SYN $V 23 ETB $W 24 CAN $X 25 EM $Y 26 SUB $Z 27 ESC %A 28 FS %B 29 GS %C 30 RS %D 31 US %E 32 SP SP 33 ! /A 34 “ /B 35 # /C 36 $ /D 37 % /E 38 & /F 39 ‘ /G 40 ( /H 41 ) /I 42 * /J 43 + /K 44 , /L 45 - -
12
Page 13
ASCII Character Code 39
46 . . 47 / /O 48 0 0 49 1 1 50 2 2 51 3 3 52 4 4 53 5 5 54 6 6 55 7 7 56 8 8 57 9 9 58 : /Z 59 ; %F 60 < %G 61 = %H 62 > %I 63 ? %J 64 @ %V 65 A A 66 B B 67 C C 68 D D 69 E E 70 F F 71 G G 72 H H 73 I I 74 J J 75 K K 76 L L 77 M M 78 N N 79 O O 80 P P 81 Q Q 82 R R 83 S S 84 T T 85 U U 86 V V 87 W W 88 X X 89 Y Y 90 Z Z 91 [ %K 92 \ %L 93 ] %M 94 ^ %N
13
Page 14
ASCII Character Code 39
95 _ %O 96 ‘ %W 97 a +A 98 b +B 99 c +C
100 d +D 101 e +E 102 f +F 103 g +G 104 h +H 105 i +I 106 j +J 107 k +K 108 l +L 109 m +M 110 n +N 111 o +O 112 p +P 113 q +Q 114 r +R 115 s +S 116 t +T 117 u +U 118 v +V 119 w +W 120 x +X 121 y +Y 122 z +Z 123 { %P 124 | %Q 125 } %R 126 ~ %S 127 DEL %T, %X, %Y, %Z
14
Page 15

3 Interleaved 2 of 5

3.1 About Interleaved 2 of 5

3.1 Abou eT*5oasoer
Interleaved 2 of 5 is a numeric-only bar code, variable in lengt h and bi- directional. It is a high-density code that can hold up to 18 digits per inch (25.4mm) when printed using a 7.5 mil X dimension. It is a general-purpose code whose only r est r ict ion is that there must be an even number of characters in the data. For general-purpose, free form numeric data, this is the most ef5.7(o)-*-0.0017 Tc-6.3( efn(o)-*-0 be a]7(ct)-6. T*-0.001,(Inte *)3J-1.6( in 41n5.7e )3J-1.6( in 41ns477g-1.6057(ved 2 3-1r)-5.6.3(5.7(oti-1TJT*0.q.g/GS1 g6-1r)-5lY-1.6(41n5.78nd b687li!n66(p)0.1e an eve9ly bar7n5nab0.78nd(ve9ly bar7n5(n)2.3er)-5.2, e1..6( of)-6.2( cha5er)-5.9(ic ni-6.5(e 0 0 11..g/GS1an even  ni-65( var)-8aa)i.6(41ny bar7n54F3)-509T*t)-6.3IR:a eT*4F3)-50y bar7n5.2 to)]TJ 0 11.8 Te)-5.9(i)ar7ner)-5.-65( v)]TJT* 5
15
Page 16
After printing a bar code it is necessary to select a dif ferent font in order to print something besides more bar codes. The PCL command to select the default font is “<esc>(3@”. To select a font other t han the default font, use the PCL escape sequence show on the PCL font list. The “<esc>” shown is the ASCI I escape character. It is decimal 27, hexadecimal 1B, octal 33, or binary 00011011.

3.3 I2of5 Font Product Character Set

ASCII Character Interleaved 2 of 5
33 ! 0 34 “ 1 35 # 2 36 $ 3 37 % 4 38 & 5 39 ‘ 6 40 ( 7 41 ) 8 42 * 9 43 + 10 44 , 11 45 - 12 46 . 13 47 / 14 48 0 15 49 1 16 50 2 17 51 3 18 52 4 19 53 5 20 54 6 21 55 7 22 56 8 23 57 9 24 58 : 25 59 ; 26 60 < 27 61 = 28 62 > 29 63 ? 30 64 @ 31 65 A 32 66 B 33 67 C 34 68 D 35 69 E 36 70 F 37 71 G 38 72 H 39
16
Page 17
ASCII Character Interleaved 2 of 5
73 I 40 74 J 41 75 K 42 76 L 43 77 M 44 78 N 45 79 O 46 80 P 47 81 Q 48 82 R 49 83 S 50 84 T 51 85 U 52 86 V 53 87 W 54 88 X 55 89 Y 56 90 Z 57 91 [ 58 92 \ 59 93 ] 60 94 ^ 61 95 _ 62 96 ‘ 63 97 a 64 98 b 65 99 c 66
100 d 67 101 e 68 102 f 69 103 g 70 104 h 71 105 i 72 106 j 73 107 k 74 108 l 75 109 m 76 110 n 77 111 o 78 112 p 79 113 q 80 114 r 81 115 s 82 116 t 83 117 u 84 118 v 85 119 w 86 120 x 87 121 y 88
17
Page 18
ASCII Character Interleaved 2 of 5
122 z 89 161 90 162 91 163 92 164 93 165 94 166 95 167 96 168 97 169 98 170 99 171 Start 172 Stop

4 UPC / EAN Code

4.1 About the UPC / EAN Code

UPC Code is a collection of Type 1 and TrueType fonts that create and pr int UPC version A, UPC version E, EAN-8/JAN-8, EAN-13/JAN-13, Bookland (ISBN), and ISSN bar code symbols within any Microsoft Windows The bar code fonts in UPC Code can be used with your database, spreadsheet, or custom application by simply changing fonts.
Created in 1973, UPC is perhaps the best-known and commonly used 1D bar code. The similar European Article Numbering (EAN) and Japanese Article Numbering (JAN) codes were developed soon after. Extr em ely r eliable codes, (version A of UPC has a 99 percent success rate on the first read pass of a fixed laser scanner) they use the relative distances between leading to leading, and trailing t o trailing edges of bars to decode the symbols. It is suitable for a variety of printing techniques and is not prone to errors from ink spr eading dur ing pr inting.
UPC, EAN, Bookland, and ISSN bar codes are found on reta il it em s scanned at the cash register. Package designers therefore creat e these bar codes. UPC symbols are also placed on shipping labels, forms, and catalogs. Book covers have a Bookland bar code based on the ISBN number. EAN and JAN bar codes are used outside of the US and Canada, while international periodicals use ISSN bar codes.
Generally, the code is split into two halves of six digits each. The first one is always zero, except for products like meat and pr oduce t hat have variable weight, and a few other special items. The next five are the manuf acturers’ code, the next five are the product code and the last is a check digit used to verify that the preceding digits have been scanned properly. Cues in the structure of the code tell the scanner which end is which, so it can be scanned in any direction.
®
, Unix or Mac® application.
18
Page 19
Both UPC-A and UPC-E allow for a supplemental two or f ive digit number to be appended to the main bar code symbol. The supplemental message was designed for use on publications and periodicals. To enter a supplemental m essage, it must consist of either two or five numeric digits . The supplem ental is simply a small additional bar code that is added onto the right side of a standar d UPC sym bol.

4.2 Types of UPC Symbols

4.2.1 UPC-A
UPC-A is a 12 digit, numeric symbology used in retail applicat ions t o identify the manufacturer and specific product so point-of- sale cash register systems can automatically look up the price. UPC-A symbols consist of 11 data digits, and one check digit. The first digit is a number system digit that usually represents the type of product being identified.
The next 5 digits are the manufacturers ’ code, f ollowed by a 5-digit product code. UPC-A encodes 12 numeric digits. The first digit identifies the numbering system:
0: regular UPC codes 1: reserved 2: random weight items marked at t he st ore 3: National Drug Code and National Health Related Items code 4: no format restrictions, f or in- s t or e use on non-food items 5: for use on coupons 6: reserved 7: regular UPC codes 8: reserved 9: reserved
The next group of 5 digits identifies the manufact urer and is assigned by The Uniform Code Council (UCC). The next 5 digits ident if y the particular product and are assigned by the manufacturer. The last digit is a Modulo 10 checksum.
The checksum is a Modulo 10 calculation.
1. Add the values of the digits in positions 1, 3, 5, 7, 9, and 11.
2. Multiply this result by 3.
3. Add the values of the digits in positions 2, 4, 6, 8, and 10.
4. Sum the results of steps 2 and 3.
5. The check character is the smallest number which, when added to the result in step 4, produces a multiple of 10.
A UPC-A code may be augmented with the two-digit supplem ent al bar code noted above to indicate the issue number for a periodical. Weekly publicat ions ar e generally numbered 1-52, while semi-monthlies are num ber ed 1-24 and monthlies 1-
12.
19
Page 20
4.2.2 UPC-E
The UPC-E code is a compressed bar code intended for use on small item s. Compression works by squeezing extra zeros out of the bar code and t hen automatically re-inserting them at the scanner . Only bar codes containing zeros are candidates for the UPC-E symbol.
UPC-E is also referred to as "zero suppressed". The way this works is that UPC-E compresses a normal 12-digit UPC-A code into a six-digit code by " s uppr essing" the number system digit, trailing zeros in the manufacturers code and leading zeros in the product identification part of t he bar . By suppressing zeros, UPC-E codes can be printed in a very small space required for labeling small items. The UPC-E code can only be used if the system character is 0 and the original 10 data characters have at least four zeros.
For example, the UPC-A code 12300-00064 can be compressed to 123643. The last digit (3) indicates the type of compression. Guard bars precede and follow the data in the pattern. The UPC-E bar code specifies left hand guard bars, the six data characters, and right hand guard bars.
In addition to the requirement that the first digit of t he bar code (number syst em) must be zero, there are four rules that determine what UPC codes can be printed using the compressed UPC-E format:
*If the last 3 digits of the manufact ur er's number are 000, 100, or 200, the valid product code numbers are 00000 - 00999 (1,000 numbers) *If the last 3 digits of the manufact ur er's number are 300, 400, 500, 600, 700, 800, or 900, the valid product code numbers are 00000 – 00099 (100 numbers) *If the last 2 digits in the manufactur er 's number are 10, 20, 30, 40, 50, 60, 70, 80, or 90, the valid product code numbers are 00000 – 00009 (10 numbers) *If the manufacturer's number does not end in zer o, the valid product code numbers are 00005 - 00009 (5 numbers)
The checksum for the UPC-E code is calculated with the same method as the UPC­A code.
20
Page 21

4.3 PCL Escape Sequences

From UNIX or DOS it is necessary to send PCL escape sequences as part of the print data to select the desired bar code font. The PCL escape sequences for the fonts are shown on the PCL font list. Inst ructions on how to print the PCL font list are given in your printer manual.
Font Name PCL Escape Sequence UPCTall : esc(24Yesc(s1p#v0s0b28688T UPCTallNarrow : esc(24Yesc(s1p#v0s0b28689T UPCTallThin : esc(24Yesc(s1p#v0s0b28690T UPCHalf : esc(24Yesc(s1p#v0s0b28691T UPCHalfNarrow : esc(24Yesc(s1p#v0s0b28692T UPCHalfThin : esc(24Yesc(s1p#v0s0b28693T UPCTallMusicThin : esc(24Yesc(s1p#v0s0b28694T UPCHalfMusicThin : esc(24Yesc(s1p#v0s0b28695T UPCTallBarsThin : esc(24Yesc(s1p#v0s0b28696T UPCHalfBarsThin : esc(24Yesc(s1p#v0s0b28697T (# : point size 0.25 - 999.75)
After printing a bar code it is necessary to select a dif ferent font in order to print something besides more bar codes. The PCL command to select the default font is “<esc>(3@”. To select a font other t han the default font, use the PCL escape sequence shown on the PCL font list.

5 Codabar

5.1 About Codabar

Created in 1972, Codabar was developed by the Monarch Marking Syst em s division of Pitney Bowes, Inc. Originally developed for r etail price labeling, Codabar is a general purpose bar code used primarily for numeric data. It is used in libraries, to label photo-finishing envelopes, Federal Express air bills, and is the American Blood Commission's standard symbology for blood bag labeling. Blood banks use the D stop character to indicate that the next bar code beginning with a D should be concatenated with the current bar code. The Xer ox Codabar bar code f ont is the Rationalized Codabar variant. Codabar may also be referr ed t o as Am es Code, USD-4, NW-7, or 2 of 7 Code.
Codabar is bi-directional, self-checked and discrete. Its length is unlimited and there is no checksum defined as part of the Codabar standard, but some industries (libraries, for example) have adopted their own checksum standards. AIM has a recommended check character.
The Codabar font works with any Microsoft Windows application. As a font, it is easy to integrat e int o a database, spreadsheet, or custom application.
®
, Macintosh®, or UNIX
21
Page 22
Codabar is unusual because some characters are wider than other s. With 2-element widths defined, each character contains 4 bars and 3 spaces. The charact er is followed by a single narrow space to separate it from t he next character. Each pattern begins and ends with one of 4 start/stop characters A-D.
Codabar defines different element widths f or each of the characters in an effort to make all the characters have the same width. ( Rat ionalized Codabar uses the same patterns, but assigns only 2 element widths for wide and narrow.)

5.2 PCL Escape Sequences

From UNIX or DOS it is necessary to send PCL escape sequences as part of the print data to select the desired bar code font. The PCL escape sequences for the fonts are shown on the PCL font list. Inst ructions on how to print the PCL font list are given in your printer manual.
Font Name PCL Escape Sequence Codabar-Regular : esc(26Yesc(s1p#v0s0b28702T (# : point size 0.25 - 999.75)
Replace the hash (#) with the relevant point size. For exam ple, to print a bar code that is one inch (25.4 mm) high, substitute ‘#’ with ‘72’. To print a bar code half and inch (12.7 mm) high, use 36.
After printing a bar code it is necessary to select a dif ferent font in order to print something besides more bar codes. The PCL command to select t he default font is “<esc>(3@”. To select a font other t han the default font, use the PCL escape sequence show on the PCL font list. The “<esc>” shown is the ASCI I escape character. It is decimal 27, hexadecimal 1B, oct a l 33, or binary 00011011.
22
Loading...