print by line