Paxar Gold 6037EX User Manual Page 51

  • Download
  • Add to my manuals
  • Print
  • Page
    / 230
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 50
Function Reference 4-15
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);
}
Page view 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 229 230

Comments to this Manuals

No comments