26 zebralabel_complete or plserieslabel_complete, 26 z, Syntax – Casio Naurtech CETerm Ver.5.1 Web Browser Programming Manual User Manual

Page 39: Comments, Example

Advertising
background image

N

AURTECH

W

EB

B

ROWSER

S

MART

C

LIENTS FOR

W

INDOWS

CE .NET / P

OCKET

PC




Web Browser Programming Guide

Page 39



Syntax

http-equiv="TimerNavigate"
content="javascript:OnTimer('%s');"
<!- or ->
content="/timer.htm?time=%s"

Where the “%s” is replaced with the current time in the form hh:mm:ss.

Comments

The effect of TimerInterval and TimerNavigate tags can be accomplished using
the Javascript setInterval() and setTimeout() methods on the window
DOM object. Using the Javascript methods is recommended.

Example

<html>
<head>
<meta http-equiv="TimerInterval" content="1000">
<meta http-equiv="TimerNavigate"
content="javascript:OnTimer('%s');">
</head>
<body>
Current time: <div id="timerDiv">junk</div>
<script language=javascript>
function onTimer(time)
{
timerDiv.innerHTML = time;
}
</script>
...
</body>
</html>

3.26 Z

EBRA

L

ABEL

_C

OMPLETE OR

PLS

ERIES

L

ABEL

_C

OMPLETE

The ZebraLabel_Complete tag is used to report the status of a print from the
ZebraLabel_Print tag. The alternative identifier PLSeriesLabel_Complete will
also be recognized.

Syntax

http-equiv="ZebraLabel_Complete"
content="javascript:PrintStatus('%ld');"
<!- or ->
content="http://10.1.1.8/print.htm?status=%ld"

Advertising