The space between the wall and our P5000 is 2" from wall to edge of roll cover. This has never been a problem. You just need enough space to be able to fully open the cover. We load rolls and all sheets from the front and top. Never has been a need to get behind the printer.
I hope this is helpful,
Mick