Paxar Gold 6037EX Programmer's Manual page 65

Paxar printer programmer's manual
Table of Contents

Advertisement

Example
#include <stdio.h>
#include "mmsultra.h"
void main(void)
{
short sStatus = 0;
short usStatus = 0;
char far* cStatus = NULL;
PRINTINIT pConfig;
sStatus = pclInit(NULL);
if (sStatus != 0)
printf("Init Failed\nError: %d", sStatus);
else
{
if (!pclBatteryOkToPrint())
printf("Low battery error");
else
{
usStatus = pclOpen("B:\\MPCL\\TEST.FAB");
if (usStatus > 0)
{
cStatus = pclGetErrorMsg(usStatus);
printf("%Fs\n", cStatus);
}
}
}
pclClose();
}
// Command calls status
// Command calls status
// Error message
// Print data structure
// Start Print subsystem
// Check battery
// Open file
// Close Print subsystem
Function Reference 4-29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Monarch pathfinder ultra gold 6037ex

Table of Contents