Monarch 9400 Series manual Appendix B Code 128 Information, Bar Code Data =

Page 95

Appendix B: Code 128 Information

The 128 bar code is divided into 3 character sets (Code A, Code B, and Code C). Depending on the character set used, the same bar pattern can be one of three characters. Table 1, at the end of this appendix, lists the characters in each character set.

Code A contains upper case letters (A-Z), special characters, and control characters. Code A does not have lower case letters.

Code B contains upper and lower case alphanumeric characters and special characters. Code B does not have control characters.

Code C character set contains pairs of numbers. In code C, each bar pattern represents a pair of numbers, ranging from 00 to 99.

When the data contains at least four numbers in a row, 128 switches to code C, then prints one bar pattern for each pair of numbers. This doubles the numeric data per inch.

Therefore, it may be better to pad numeric data with a zero if it has an odd number of characters. The bar codes below show the difference between an odd number of numeric characters and an even number of numeric characters. Do this only if your system can ignore leading zeros.

Bar Code 1

Data = 1234567

Bar Code 2

Data = 01234567

Appendix B: Code 128 Information

B-1

Image 95
Contents Programmers Manual Page Table of Contents Parallel Character Width in Dots for Index-1 Series Programmers Manual Introduction Series Programmers Manual Overview Series Programmers Manual Communication Requirements Input CharacteristicsData Flow Control Setting Communication Values Series Programmers Manual Pin Description Cable Interface9400PC Transmitting Online Data Streams Creating Online Data StreamsMode LPT1=COM1 Print FORMAT1.DAT Incorrect Data Errors Error NotificationData Transmission Errors Monetary Symbols Programming Conventions CommandsCommand Characters Format Data Syntax Field ContentsFormat Header Record ExampleSyntax Checklist Message Structures 999 Text Field Record2032 OCR-A UPC HR1 UPC HR2 T05,I,0,230,30,1,1,0,0,B p Bar Code Field Record FieldContents9425 9425 16 0.06 inches 9445 9465 9474 23 0.09 inchesUPC-A UPC-E Human readable characters One digit ∙ No human readable characters appear with this bar code Codabar CodeAscii Code Function Line Field Column Direction Stop One or two digits for the line thickness Series Programmers Manual Example Batch Header Record Batch DataOn printers with a knife 9999One to four digits for the supply repetition SOCKS12 Entering Print Data for Fields Message Structures Using Previously Defined Print Data Using Multiple Batches with One FormatBatch Separators Stacker Type None 920 924/925 Data Stream Turn batch separator off Series Programmers Manual Defining Graphic Image Data Using GraphicsRow Data Stream Coding Chart Black Dots White DotsDot count Must begin with the letter G to identify Lines and Dots exist to Example Syntax Checklist Placing the Image in a Format 9425 508 0 to 2 inches 9445 1016 0 to 4 inches 9465 9474 Following batch data stream prints the tag below Clear Image Buffer Example Field ContentsCompressing the Data Stream Long Version Compressed Version Series Programmers Manual 9425/9445/9465/9474 Fonts Text Font SizesRotated Characters Parallel Characters9420/9440 Fonts Character Width in DotsSerial Character Width in Dots for Parallel Character Width in Dots for the 9425, 9445,Parallel Character Width in Dots for 9420/9440 Fonts Parallel Character Width in Dots forBar Codes Serial Character Width in Dots for 9420/9440 FontsBar Code Densities Value Bar Code Density Char/in Bar Code Densities 9425/9445/9474Quick Bar Code Densities 9420/9440Bar Code Densities 9465, Parallel Print Bar Code Densities 9465, Serial Print Appearance Line WidthLine Widths 9425/9445/9474 and 9420/9440 Line Line WidthHorizontal Line Widths Appearance Inches Vertical Line WidthsAscii Code Function Code Ascii Code Symbol DescriptionSpecial Characters Code 128 Function CodesOffline Online Inches Tomms 9420/9440 Horizontal Print LocationQuick References Ascii Characters Printable Characters by Font English/Metric Conversion Tomm = Tenths of millimeters Series Programmers Manual Sample Tag Formats, Text and Bar Code FieldsSample Format Data Stream Sample Batch Data StreamLine Fields Sample Graphic Data Stream Graphic ImagesB3,1,1,1,1,0,1LETTER-A p T0LETTER a Graphic p Sample Compressed Graphic Data Stream Compressed Graphic DataSample Format Data Stream Bar Code Data = Appendix B Code 128 InformationBar code Data = 12345678ABCDEF Bar Code WidthBar code Data = 1234ABC5678DEF Appendix B Code 128 Information Density Numeric Alpha Data Numeric data Quiet Zone Press these keys Function CodesTo select this Table A-1 Bar Code Character Sets NUL SOH STX Code B FNC4 Series Programmers Manual Page U.S.A Canada