Implemented printing for client