Users Guide

104 |
</Template-Variables>
Constants define model-related properties that are static. The Constants
content element of the reads defines the static property. It also contains
the type and value text elements that define storage type and value for a
particular property.
Example
:
<Variable Name="SMTPPrimaryPassword">
<Reads>
<Constants>
<Type>String</Type>
<Value>***</Value>
</Constants>
</Reads>
</Variable>
Web-reads define the properties that can be retrieved through the web. It
communicates with the printer EWS for retrieving the information. The
WebRead content element of the web-reads defines the web reading
property. The WebRead contains format, url, and expression elements.
Example
:
<Variable Name="TimeCurrent">
<Reads>
<WebRead Rewording="false">
<Format>
<Type>String</Type>
</Format>
<Url>
<![CDATA[network/prn_time.htm]]>
</Url>
<Expression>
<![CDATA[R:prnDateAndTime ="(.*)"]]>
</Expression>
</WebRead>
</Reads>
</Variable>