Avery Dennison Platinum 6039 JavaScript User Manual
Page 26
Advertising
3-8 Programmer’s Manual
CallBatteryDisplay
Description
Retrieves the battery’s display screen. This is the
same screen that the user displays once they
press on the status bar. Do not use this function
while printing, the return value is not accurate.
Syntax
CallBatteryDisplay()
Parameters
None
Return Values
None
Example
<SCRIPT src="./jsUltra.js"></SCRIPT>
<SCRIPT type="text/javascript">
PRINTER.CallBatteryDisplay (); // Get the Battery Display
</SCRIPT>
<BODY>
<OBJECT id=”PRINTER” style="LEFT: 0px; WIDTH: 0px; TOP: 0px;
HEIGHT: 0px"
classid=clsid:
19C1754D-BA97-43A1-A06D-496D2167400B>
</OBJECT>
//Instantiate
Class
</BODY>
Advertising