printer class updated