Paxar Gold 6037EX Programmer's Manual page 125

Paxar printer programmer's manual
Table of Contents

Advertisement

Example
#include <stdio.h>
#include "scan1223.h"
#include "mmsultra.h"
void main(void)
{
short sStatus = 0;
I
LPMS
INFO MSIconfig;
sStatus = scnOpenScanner();
if (sStatus == -2)
printf("Scanner error-- %d", sStatus);
else
{
sStatus = scnGetMS
if (sStatus != 0)
printf("Scanner is disabled.");
else
{
MSIconfig->uchEnable = SCN_ENABLE;
MSIconfig->uchLength1 = 0;
MSIconfig->uchLength2 = 0;
MSIconfig->uchCheckDigits = 0;
MSIconfig->uchXmitCheckDigit = SCN_ENABLE;
MSIconfig->uchChkDgtAlgorithm = 0;
sStatus = scnSetMS
if (sStatus != 0)
printf("Error setting values-- ", sStatus);
else
; /* Scan Bar Codes */
}
}
sStatus = scnCloseScanner();
}
I
Info(MSIconfig);
I
Info(MSIconfig);
// Command calls status
// MSI data struct.
// Enable scanner
// Get config.
// Set values
// Save values
// Disable scanner
Function Reference 4-89

Advertisement

Table of Contents
loading

This manual is also suitable for:

Monarch pathfinder ultra gold 6037ex

Table of Contents