/* 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
/* GetStockWidth is a
usStatus = pclPaperSetup(usStockLength, usStockWidth, usSupplyType);
pclClose();
}