printer class called.