The formula for the surface area of a rectangular prism is S.A. = 2lw + 2lh + 2wh, where l is the length, w is the width, and h is the height.
Substituting the given values, we have S.A. = 2(8)(2) + 2(8)(12) + 2(2)(12).
Multiplying, we get S.A. = 16 + 192 + 48.
Adding, we find the surface area is 16 + 192 + 48 = <<16+192+48=256>>256 square inches. Answer: \boxed{256}.