Monarch 9400 Series manual Commands, Programming Conventions, Command Characters

Page 21

4. Message Structures

Commands

The following characters are used in 9400 series online data streams.

Command Characters

 

 

 

 

 

 

Command

Hex

Description

 

 

Character

Value

 

 

 

{

7B

Open brace. Command LEADIN character

 

 

 

 

 

 

 

,

2C

Comma. Inter-field separator (IFS)

 

 

;

3B

Semicolon. Beginning of string character

 

 

p

7C

Split vertical bar. Command inter-record

 

 

 

 

separator (IRS)

 

 

}

7D

Close brace. Command TERMINATOR

 

 

 

 

character

 

 

 

 

 

 

Programming Conventions

All online commands from the host computer follow these rules.

All data after the TERMINATOR character ( } ) and before the next LEADIN character ( { ) is ignored.

The hex values 7B, 7C and 7D are reserved as command delimiters. All data of a value less than 20 hex and greater than 7E hex is ignored.

All data strings (batch data, compressed bit-map images or format data) begin with a semi-colon (3BH) and end with a TERMINATOR or inter-record separator (IRS or p (7C hex)).

All space characters, except string definitions, are ignored.

All strings must be less than 100 characters.

4-5

Message Structures

Image 21
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 Error Notification Data Transmission ErrorsIncorrect Data Errors Monetary Symbols Commands Command CharactersProgramming Conventions Format Data Format Header Record Field ContentsExample SyntaxSyntax 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 Coding Chart Black Dots White Dots Dot countData Stream 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 Line Widths 9425/9445/9474 and 9420/9440 Line WidthLine Line Width AppearanceHorizontal Line Widths Appearance Inches Vertical Line WidthsSpecial Characters Ascii Code Symbol DescriptionCode 128 Function Codes Ascii Code Function CodeOffline 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 Format Data Stream Formats, Text and Bar Code FieldsSample Batch Data Stream Sample TagLine 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 Width Bar code Data = 1234ABC5678DEFBar code Data = 12345678ABCDEF Appendix B Code 128 Information Density Numeric Alpha Data Numeric data Quiet Zone Function Codes To select thisPress these keys Table A-1 Bar Code Character Sets NUL SOH STX Code B FNC4 Series Programmers Manual Page U.S.A Canada