EasyCoder PL-Series Printer Programmer's Reference Manual
power.inactivity_timeout
Type: getvar; setvar
This parameter refers to the inactivity timeout.
getvar result
Returns the current inactivity timeout in seconds.
Example
Description
Syntax
Result
setvar choices
0 through 65535. Values are specified in seconds. A value of 0 disables
inactivity timeout. Default = 120
Example
Description
Syntax
Result
power.low_battery_timeout
Type: getvar; setvar
This parameter refers to the low battery timeout. When the printer reaches
the low battery state, this timeout becomes active. The printer shuts down
after the specified low battery time out.
getvar result
Returns the current low-battery timeout in seconds.
Example
Description
Syntax
Result
setvar choices
0 through 65535. Values are specified in seconds. A value of 0 disables
low-battery timeout. Default = 60
Example
Description
Syntax
Result
power.low_battery_shutdown
Type: getvar
This parameter refers to the low battery shutdown level.
getvar result
Returns the current low-battery shutdown level in volts.
Example
Description
Syntax
Result
Chapter 13— Configuration/Control Commands
Get the inactivity timeout value.
! U1 getvar "power.inactivity_timeout"
"120 seconds"
Set inactivity timeout to 120 seconds.
! U1 setvar "power.inactivity_timeout"
"120"
Printer inactivity timeout is set to 120 seconds.
Get current low-battery timeout.
! U1 getvar "power.low_battery_timeout"
"60"
Set low-battery timeout to 60 seconds.
! U1 setvar "power.low_battery_timeout"
"60"
Printer low-battery timeout is set to 60 seconds.
Get current low-battery shutdown level.
! U1 getvar "power.low_battery_shutdown"
"6.47(166)"
135