Online cooperative printing by mobile robots