Updated printer to take array of head