/* If fax, save setting, do not calibrate */

if (usSupplyType == MMS_MEDIUM_ENERGY)

{

GetStockWidth(&usStockWidth);

usStatus = pclPaperSetup(usStockLength, usStockWidth, usSupplyType);

return(usStatus);

}

usStatus = pclCalibratePaper(&usStockLength, &usStockWidth);

if (usStatus != 0)

{

pclClearError();

return(usStatus);

}

/* GetStockLength is a programmer-written function */ GetStockLength(&usStockLength);

/* GetStockWidth is a programmer-written function */ GetStockWidth(&usStockWidth);

usStatus = pclPaperSetup(usStockLength, usStockWidth, usSupplyType);

pclClose();

}

Function Reference 4-41

Page 77
Image 77
Paxar Gold 6037EX manual Function Reference