Paxar 9474 manual E a r I m a g e B u f f e r, M p r e s s i n g t h e D a t a S t r e a m

Page 48

C l e a r I m a g e B u f f e r

This command clears all or selective graphics from the image buffer. Once graphic data is sent to the printer, that graphic stays in memory until a clear image buffer command is sent.

Syntax

{ C## }

F i e l d

Contents

C

Must be the letter ‘C’ to identify the clear image buffer

 

command.

##

This optional parameter specifies a particular graphic to be

 

cleared from memory. It must match the number assigned in

 

the graphic data stream. If omitted, ALL graphics in memory

 

will be deleted.

Example

{C} Clears all graphics from the printer.

 

{C4} Clears only graphic number 4.

C o m p r e s s i n g t h e D a t a S t r e a m

Image data usually consists of a large amount of repetitive data. Therefore, the printer uses a data compression algorithm for the graphic message structure. Here’s how it works.

1.Any image is defined as a matrix of cells.

2.Each row of the matrix consists of a series of consecutive ON (black) or OFF (white) cells. The range is 1-26, represented by adding either a hex 40 (black) or hex 60 (white). Cells that print black are represented by the upper case letters ‘A’ through ‘Z’ in the file sent to the printer. Cells that print white are represented by the lowercase letters ‘a’ through ‘z’ in the file. Consecutive cells greater than 26 require multiple letters.

Example: 39 consecutive white cells are represented by the letters ‘zm’ (i.e. ‘z’ produces 26 white cells followed by ‘m’ or 13 more white cells).

4-8 Using Graphics

Image 48
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 Format data Batch dataGraphic data M M U N I C AT I O N Q U I R E M E N T S P u t C h a r a c t e r i s t i c s T a F l o w C o n t r o lT t i n g C o m m u n i c a t i o n Va l u e s Page B l e I n t e r f a c e Pin Description9474 S S a G E S T R U C T U R E S E a t i n g O n l i n e D a t a S t r e a m 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 sError N o t i f i c a t i o n T a Tr a n s m i s s i o n Error sC o r r e c t D a t a Error s N e t a r y S y m b o l s M m a n d sA 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 sPage R m a t D a t a A m p l e R m a t H e a d e r R e c o r dTe x t F i e l d R e c o r d IflagIvalue ROWCOL MAGTfont OCR-AUPC HR1 UPC HR2R code F i e l d R e c o r d BarcodeDensity BfontUpca HeightCode CodabarN e F i e l d Column DirectionStop ThicknessExample T c h D a t a T c h H e a d e r R e c o r dQuantity CUT/TAKEUPREP PartsReserved ModeT e r i n g P r i n t D a t a f o r F i e l d s SOCKS12This 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 T c h S e p a r a t o r s TypeFormat data stream Batch data streamTurn batch separator on print another batch Turn batch separator offI 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 Dot count Data StreamSyntax LinesDots 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 E a r I m a g e B u f f e r M p r e s s i n g t h e D a t a S t r e a mPage Long Version Compressed Version Te x t F o n t S i z e s N t sA r a c t e r W i d t h i n D o t s R a l l e l C h a r a c t e r sT a t e d C h a r a c t e r s 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 s R codesN e W i d t h R code D e n s i t i e sLine Line Width Number Appearance Inches E c i a l C h a r a c t e r s Code 1 2 8 F u n c t i o n codesC I I C h a r a c t e r s I n t a b l e C h a r a c t e r s b y F o n tG l i s h / M e t r i c C o n v e r s i o n OCR-ATomm Tomm = Tenths of millimeters Quick References Error M E S S a G E S Before you callA g n o s t i c M e s s a g e s A r t u p M e s s a g e sMessage Message Description/ActionMM/DD/YY E r a t i o n M e s s a g e s InformativeMessages FailureI n t e r Error s N e r a l Error sN e r a l Wa r n i n g s MessageDescription/ActionMessage Description/Action Message Description/Action M m u n i c a t i o n Error s T a E n t r y o r Te s t P r i n t Error s F l i n e M e s s a g e sMessage Description/Action R m a t E n t r y Error s Message Description/Action L i n e M e s s a g e s L i n e Wa r n i n g 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 R m a t s , Te x t a n d B a r code F i e l d s M p l e F o r m a t D a t a S t r e a mM 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 A p h i c I m a g e s Sample Graphic Data StreamSample Data Streams A-5 M p r e s s e d G r a p h i c D a t a Code a Code BCode C Bar Code Data =R code W i d t h Bar code Data = 1234ABC5678DEFBar code Data = 12345678ABCDEF Bar code Data = 1234ABC5678DEF I e t Z o n e N c t i o n codes To select thisPress 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