Avery Dennison Platinum 6039 JavaScript User Manual
Page 24

3-6 Programmer’s Manual
B a t t e r y
IsBatteryOKToPrint
Description
Checks if the printer’s LiIon battery (located in the handle) is charged
enough to allow printing. Check the battery level before any printing
session.
Use this function immediately prior to printing, but not
during printing. If you use it during printing, the return
value is not accurate.
Syntax
IsBatteryOKToPrint
Parameters
None
Return Values
false
The battery level is too low to allow printing.
true
The battery level is high enough to allow printing.
Example
//Instantiate
Class