[NOTEPAD] Printer output improvements by Ricardo Hanke. See CORE-9088 for more details.