Paxar Gold 6037EX Programmer's Manual page 76

Paxar printer programmer's manual
Table of Contents

Advertisement

Return Values
0
703-793
Other non-zero
Example
#include <stdio.h>
#include <stdlib.h>
#include "mmsultra.h"
void GetSupplyType(unsigned short *);
void GetStockLength(unsigned short *);
void GetStockWidth(unsigned short *);
unsigned short main(void)
{
unsigned short usStatus;
unsigned short usStockWidth; // Stk. width in 1/100th inches
unsigned short usStockLength; // Stk. length in 1/100th inches
unsigned short usSupplyType; // Supply type, 0 - 2
unsigned short status = 0;
PRINTINIT rConfig;
status = pc
if (status != 0)
{
printf("Init Failed\nError: %d", status);
exit(1);
}
pclPaperInfo(&usStockLength, &usStockWidth,
&usSupplyType);
/* GetSupplyType is a programmer-written function */
GetSupplyType(&usSupplyType);
4-40
Programmer's Manual
Successful.
A motion control error occurred. For errors
between 703-793. The operator corrects the
printer condition. Then the application must call
pclClearError to reset the Motion Control
subsystem. Refer to the MPCL
Reference Manual
An error occurred. Refer to the MPCL
Reference Manual
l
Init(NULL);
Packet
for more information.
for more information.
// Printer completion status
// Print subsystem init. status
// Print subsystem data struct.
// Start Print subsystem
Packet

Advertisement

Table of Contents
loading

This manual is also suitable for:

Monarch pathfinder ultra gold 6037ex

Table of Contents