Refactor CEPrintView class