format print line