output cleanup for printing media