Paxar Gold 6037EX Programmer's Manual page 51

Paxar printer programmer's manual
Table of Contents

Advertisement

Example
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include "mmsultra.h"
unsigned short far pascal StockTypePrompt
(unsigned short far * lpusPaperType);
unsigned short far pascal StockPrompt
(unsigned short far * lpusLenInches,
unsigned short far * lpusWidthInches);
void main()
{
PRINTINIT rConfig;
unsigned short usStatus = 0;
/* Initialize the printer */
usStatus = pclInit(NULL);
if (usStatus != 0)
{
printf("Init Failed\nError: %d", usStatus);
exit(1);
}
/* Calibrate with the function doing all the prompts */
usStatus = pclCalibrate(0xFFFF, 0xFFFF, 0xFFFF, 0, 0);
if (usStatus != 0)
{
printf("Calibrate Failed\nError: %u", usStatus);
pclClose();
exit(1);
}
Function Reference 4-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Monarch pathfinder ultra gold 6037ex

Table of Contents