Refactor tbl print view