CalculatePaperSizeFromId & IsOk

Comment out CalculatePaperSizeFromId()
change Ok to IsOk