Browse Source

end line

english-french
manetta 6 years ago
parent
commit
769146c2b9
  1. 3
      printer.py

3
printer.py

@ -108,9 +108,10 @@ def printNow(query, results, results_count):
print('\n | \n', file=print_pointer, flush=True)
sleep(3)
print("\n\nThese are the first 5 results that the algorithm selected.\n", file=print_pointer, flush=True)
current_count += 1
end_line = insert_linebreaks('These are the first 5 results that the algorithm selected.', 35)
print("\n\n{}\n".format(end_line), file=print_pointer, flush=True)
print(escpos['paperfeed_1l'], file=print_pointer, flush=True)
print(escpos['paperfeed_1l'], file=print_pointer, flush=True)
print(escpos['paperfeed_1l'], file=print_pointer, flush=True)

Loading…
Cancel
Save