updated for Printer compatibility