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.

712-831The battery level is high enough to run the printer, but not print.

>= 832 The battery level is high enough to run the printer and print.

4-24 Programmer’s Manual

Page 60
Image 60
Paxar Gold 6037EX manual L G e t B a t t e r y L e v e l