refactor on printers callbacks