Pclclearerror; Pclclose; Pclfeed; Pclgetbatterylevel - Paxar Gold 6037EX Programmer's Manual

Paxar printer programmer's manual
Table of Contents

Advertisement

Example
#include <stdio.h>
#include <conio.h>
#include "mmsultra.h"
void main(void)
{
PRINTINIT pConfig;
unsigned short usStatus = 0;
short sStatus = 0;
sStatus = pclInit(NULL);
if (sStatus != 0)
printf("Init Failed\nError: %d", sStatus);
else
{
usStatus = pclGetBatteryLevel();
if (usStatus > 711)
{
usStatus = pclFeed();
if (usStatus != 0)
{
printf("Feed Error-- press any key when printer is reset.");
_getch();

pclClearError();

}
}
else
printf("Charge battery");
}

pclClose();

}
// Print data structure
// Battery level
// Command call status
// Start Print subsystem
// Get the battery level
// If level OK,
// Feed supplies
// Display low level msg
// Close Print subsystem
Function Reference 4-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Monarch pathfinder ultra gold 6037ex

Table of Contents