for line printing