Printer bug fixes