ACM vector bundles on projective surfaces of nonnegative Kodaira dimension