use class printer