Chapter 13— Configuration/Control Commands
Power Parameters
134
power.ascii_graph
Type: getvar
This parameter refers to the battery status depicted by ASCII graphics
characters.
getvar result
Returns the battery graph, represented by ASCII graphics
characters.
Example
Description
Syntax
Result
power.dtr_power_off
Type: getvar; setvar
This parameter refers to the remote printer power control. DTR power off
is used for power management. When DTR is enabled, the DSR signal can
turn the printer on and off. When DTR power off is enabled, a low to
high transition causes the printer to turn on and a high to low transition
causes the printer to turn off. The printer stays on as long as DSR is high
unless it reaches low battery shutdown or receives a command to shut
down.
Note: The inactivity time-out is disabled while DSR is active.
getvar result
Returns the current DTR power-off setting.
Example
Description
Syntax
Result
setvar choices
on, off. Default = on
Example
Description
Syntax
Result
EasyCoder PL-Series Printer Programmer's Reference Manual
Get current battery status graph.
! U1 getvar "power.ascii_graph"
Get current DTR power-off setting.
! U1 getvar "power.dtr_power_off"
"on"
Enable DTR power-off.
! U1 setvar "power.dtr_power_off" "on"
Printer enables DTR power-off.