A SERVICE OF

logo

Function Reference 4-41
/* 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();
}