diff --git a/printer.py b/printer.copy.py similarity index 98% rename from printer.py rename to printer.copy.py index bd801cf..5962fba 100755 --- a/printer.py +++ b/printer.copy.py @@ -46,7 +46,7 @@ def insert_linebreaks(string, linelength): def printNow(query, results, results_count): if connected == True: - printerpath = '/dev/usb/lp1' + printerpath = '/dev/usb/lp0' stdout = open(printerpath, 'w') #print('printingNow') print(escpos['reset'], file=stdout, flush=True) @@ -130,4 +130,4 @@ def printNow(query, results, results_count): # query = 'noise' # results, _, _ = readings.request_results(query) # pprint(results) -# printNow(query, results, 0) \ No newline at end of file +# printNow(query, results, 0)