Tidy DF17 print output routine