fixed import of printer class