Both.
The bank statements would show you have a good financial situation to return to Germany besides indicating the rent transfers
How many rent payment containing bank statements should I bring? I can print them from my bank's website would that be enough or should I get them from my bank directly?