Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
9642 มุมมอง

Hi everyone,

I try to set up a POS for a small restaurant here in Bolivia. Everything seems to work fine but I can't properly set up the kitchen printer (an IP one, ESC/POS compatible). When I check /hw_proxy/status it only list USB devices but the printer is correctly installed and works with cups.

How can I set up a network printer in the POS?

Thanks a lot guys!

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

In the Apps I see the App for the ECP/POS drivers install. Try installing that module and see where it gets you. I am currently installing it to see where it gets me. I'll let you know the results.

Regards,
Rodney

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Thank you Daniele Favara, it's workin but still have problem with restaurant printing, how can print via network to two kitchens printers

thank you
b@khal1l.net
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I may be wrong , but i checked the source code of hw_escpos.


I do not see support for IP Printers.


I'm afraid you need to hack the module.

Ex:

from .. escpos.printer import Usb, Network


and to return ip printer

    def get_escpos_printer(self):

self.set_status('connected','Connected to 192.168.1.200') 

net = NetworkCustom('192.168.1.200')

return net

 



Custom Escpos class to add close

class NetworkCustom(Network):

def close(self):

self.device.close()

return net


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ม.ค. 23
3572
1
พ.ค. 18
5053
0
ส.ค. 17
3461
2
พ.ค. 17
3790
4
พ.ย. 16
5094