5-66 Command Reference
PARSE
Purpose Processes an MPCL data stream in the scratch buffer.
Syntax PARSE [

[

invalid label

] [

, valid label

] ]
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.
Optional Fields

Invalid

and

valid labels

are discussed in "Script Flow" at the beginning of this
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".