printer: update of if-case