Printer electronics