p c l G e t B a t t e r y L e v e l
Description
Retrieves the NiCd battery’s level. This battery is located in the printer’s handle. It is good programming practice to check the battery level before any processing.
Use this function immediately prior to
printing, but not during printing. If you use this function during printing, the return value is not accurate.
Syntax
unsigned short far pclGetBatteryLevel(void);
Parameters
None
Return Values
<= 711 You must charge the battery.
>= 832 The battery level is high enough to run the printer and print.