P10-16 Mobile Printer CPCLProgramming Manual
ON-LOW-BATTERY Command
This command can be issued to instruct the printer as to
what action to take when the battery voltage falls below
the level set by the “low battery shut-down” setting.
format: {command} {options}
where: {command}: OLB
{options}: Choose from the following:
ALERT: The printer will transmit any message in-
cluded between quote marks out the serial
port.
ALARM: Sounds the printer’s beeper in 1/8 second
increments. Printers not equipped with a
beeper will ignore this option.
ON-LOW-BATTERY Command Example
This example instructs the printer to transmit the mes-
sage “LOW BATTERY ALERT!” and sound the beeper for
5 seconds. (1/8 second x 40).
Input :
!UTILITIES OLB ALERT “LOW BATTERY ALERT!” ALARM
40