Refactor out printer lookup