Paxar 9474 A n d a r d S y n t a x G u i d e l i n e s, O g r a m m i n g C o n v e n t i o n s

Page 19

P r o g r a m m i n g C o n v e n t i o n s

All online commands from the host 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.

S t a n d a r d S y n t a x G u i d e l i n e s

A format header must be the first record in your format.

Begin the format name with the beginning of string character (;).

Begin a record with a LEADIN character ({).

Make sure the length and width in these records match your supply length and width. Remember, these numbers are in tenths of millimeters, so 500 equals 50 millimeters or 5 centimeters.

Make sure the row and column locations in the text, bar code, or line records are less than the supply length and width.

Allow enough space to hold all the characters in the field, the bar code height, or the line end point without running off the supply.

Field definitions may be sent in any order, regardless of field location. The last field carries priority over previous fields and overwrites the previous fields if they overlap when printed.

Message Structures 3-5

Image 19
Contents Monarch 9474 Printer Canadian D.O.C. Warning Ta b l e o f C o n t e n t s Page Page Page T R O D U C T I O N Batch data Format dataGraphic data M M U N I C AT I O N Q U I R E M E N T S T a F l o w C o n t r o l P u t C h a r a c t e r i s t i c sT t i n g C o m m u n i c a t i o n Va l u e s Page Pin Description B l e I n t e r f a c e9474 S S a G E S T R U C T U R E S Tr a n s m i t t i n g O n l i n e D a t a S t r e a m s E a t i n g O n l i n e D a t a S t r e a m sT a Tr a n s m i s s i o n Error s Error N o t i f i c a t i o nC o r r e c t D a t a Error s M m a n d s N e t a r y S y m b o l sO g r a m m i n g C o n v e n t i o n s A n d a r d S y n t a x G u i d e l i n e sPage R m a t D a t a R m a t H e a d e r R e c o r d A m p l eIflag Te x t F i e l d R e c o r dMAG IvalueROW COLUPC HR2 TfontOCR-A UPC HR1Barcode R code F i e l d R e c o r dBfont DensityHeight UpcaCodabar CodeN e F i e l d Thickness ColumnDirection StopExample CUT/TAKEUP T c h D a t aT c h H e a d e r R e c o r d QuantityMode REPParts ReservedSOCKS12 T e r i n g P r i n t D a t a f o r F i e l d sThis example contains data to print the label shown below I n g P r e v i o u s l y D e f i n e d P r i n t D a t a Type T c h S e p a r a t o r sBatch data stream Format data streamTurn batch separator off Turn batch separator on print another batchI N G G R a P H I C S F i n i n g G r a p h i c I m a g e D a t a Data Stream Dot countLines SyntaxDots A m p l e A c i n g t h e I m a g e i n a F o r m a t Following batch data stream prints the following tag M p r e s s i n g t h e D a t a S t r e a m E a r I m a g e B u f f e rPage Long Version Compressed Version N t s Te x t F o n t S i z e sR a l l e l C h a r a c t e r s A r a c t e r W i d t h i n D o t sT a t e d C h a r a c t e r s R codes R a l l e l C h a r a c t e r W i d t h i n D o t sR code D e n s i t i e s N e W i d t hLine Line Width Number Appearance Inches Code 1 2 8 F u n c t i o n codes E c i a l C h a r a c t e r sI n t a b l e C h a r a c t e r s b y F o n t C I I C h a r a c t e r sOCR-A G l i s h / M e t r i c C o n v e r s i o nTomm Tomm = Tenths of millimeters Quick References Before you call Error M E S S a G E SMessage Description/Action A g n o s t i c M e s s a g e sA r t u p M e s s a g e s MessageMM/DD/YY Failure E r a t i o n M e s s a g e sInformative MessagesMessageDescription/Action I n t e r Error sN e r a l Error s N e r a l Wa r n i n g sMessage Description/Action Message Description/Action M m u n i c a t i o n Error s F l i n e M e s s a g e s T a E n t r y o r Te s t P r i n t Error sMessage Description/Action R m a t E n t r y Error s Message Description/Action L i n e Wa r n i n g s L i n e M e s s a g e sMessage Description/Action Message Description/Action L i n e C o m m u n i c a t i o n Error s M P L E D ATA S T R E a M S M p l e F o r m a t D a t a S t r e a m R m a t s , Te x t a n d B a r code F i e l d sM p l e B a t c h D a t a S t r e a m N e F i e l d s Sample Graphic Data Stream A p h i c I m a g e sSample Data Streams A-5 M p r e s s e d G r a p h i c D a t a Bar Code Data = Code aCode B Code CBar code Data = 1234ABC5678DEF R code W i d t hBar code Data = 12345678ABCDEF Bar code Data = 1234ABC5678DEF I e t Z o n e To select this N c t i o n codesPress these keys Function code 8 B a r code C h a r a c t e r S e t s Code 128 Information B-7 Code B FNC4 D e Index-2 Index-3 Index-4