Loading ...
Loading ...
Loading ...
![](https://files.manualsfile.com/19143287-mz-320/bge0.png)
Mobile Printing Systems
CPCL Programming Manual
Section 13
Programming
the Display
Option
pg. 13-5
Example 2:
This example is not a complete menu setup it is a sample card. It is meant as a tool to break down the
tags and explain their use.
Comments
<!—***************************************—>
<!—********SetupCommBaudCard*********—>
<!—***************************************—>
Begin card, the card name is baud, the title is “Com,Baud”, when the 20 second timer expires go to the card called status.
<cardid=”baud”title=”Com,Baud”ontimer=”#status”><timervalue=”200”></timer>
Display the current baud rate after four spaces.
<p>$(vnd.zo.comm.baud)</p>
Do a line break
</br>
Display 9600 and put three spaces after it, if 9600 is selected then execute the setvar command to change the baud rate to
9600 in the <do> ... </do> and refresh the display.
<dotype=”accept”label=”9600”>
<setvarname=”vnd.zo.comm.baud”value=”9600”/><refresh/>
</do><p> </p>
Display 19200, if 19200 is selected then execute the setvar command to change the baud rate to 19200 in the <do> ... </do>
and refresh the display.
<dotype=”accept”label=”19200”>
<setvarname=”vnd.zo.comm.baud”value=”19200”/><refresh/>
</do>
Do a line break
</br>
Link the card back to the previous menu.
<p><ahref=”#comm”>Back</a> </p>
Link the card back to the main menu.
<p><ahref=”#main”>Main</a></p>
End the card
</card>
continued
Loading ...
Loading ...
Loading ...