Example
#include <stdio.h> #include <conio.h> #include "mmsultra.h"
void main(void)
{
int iInput = 0; int iNum = 0;
kbdSetNormal();
kbdSetFunct();
printf("Press 5 to print\nlabels\n"); iInput = _getch();
if (iInput == 0x00)
{
kbdClrFunct(); iInput = _getch(); if (iInput == 0x3F)
{

// Prompted input

// # of labels to print

// Set Normal mode

// Set Function Key mode // Get input (F5)

// Get # of labels

printf("How many labels do\nyou need?"); iNum = _getch();

printf("\nPrinting %c labels...", iNum);

/* Branch to printing routine */

}

}

}

4-10 Programmer’s Manual

Page 46
Image 46
Paxar Gold 6037EX manual Branch to printing routine