Line Print with Producer/Consumer model