0
I have a program made in python that accesses my usb printer and then I have it print something, I’m trying to make my program access this connected printer on another computer sharing it on the network, however when I try to give permission denied, most likely, because the computer he is trying to connect has password, so I would have like to add the computer credentials to gives this permission all by python?
from escpos.printer import File
print("Teste")
porta = "\\\\192.168.0.153\\epson"
t20 = File(porta)
t20.set(align='center')
t20.text("Ticket\n")
t20.barcode("978020137962", 'EAN13', 70, 3, '', '')
t20.cut()