Operators with equal projections related to their generalized inverses

In this article we characterize operators on Banach spaces which have the same projections related to their outer or inner generalized inverses. As corollaries, we obtain well-known results for the Drazin inverse of bounded operators.