Monarch 9460 Programmer's Manual page 88

Adk printer
Hide thumbs Also See for 9460:
Table of Contents

Advertisement

P A R S E
Purpose
Processes an MPCL data stream in the scratch buffer.
Syntax
PARSE [ [
Process
The PARSE command invokes the printer's MPCL parser to analyze and process
the scratch buffer's contents.
In general, the PARSE command will out perform (speed to label out) the PRINT
command. If you have the option of using either command (PARSE or PRINT),
PARSE is the better option.
NOTE:
You must place an MPCL data stream in the scratch buffer before calling this
command.
Avoid using the PARSE command to send individual characters; use the CONCAT
command to append data into the scratch buffer. Then send all the data at once
using the PARSE command.
Invalid
Optional Fields
chapter.
Example
This example moves an MPCL data stream to the scratch buffer, then processes
the data stream.
MOVE "{F,1,A,N,E,200,200,"FMT1"¦", SCRATCH
CONCAT "C,146,50,0,10,2,1,B,L,0,0,"PAT'S PARTS",1¦", SCRATCH
CONCAT "T,1,10,V,100,50,0,1013,3,1,B,L,0,0,1¦", SCRATCH
CONCAT "T,2,15,V,80,25,0,10,1,1,B,L,0,0,1¦", SCRATCH
CONCAT "L,V,67,1,0,180,10,"" ¦", SCRATCH
CONCAT "B,3,12,F,12,43,1,2,50,1,L,0¦}", SCRATCH
PARSE
NOTE:
You cannot nest double quotes. You must use ~034 instead of a double quote. In
the above example, use ~034FMT1~034 for "FMT1".
5-66 Command Reference
invalid label
] [
, valid label
valid labels
and
are discussed in "Script Flow" at the beginning of this
] ]

Advertisement

Table of Contents
loading

Table of Contents