Skip to Content
Menu
This question has been flagged
2 Replies
793 Views

Machine: Windows 10, 64-bits

odoo v18


In the POS settings, I enabled the ePOS printer and added the IP address for the Epson printer. When I completed an order and attempted to print the customer receipt, I received the following error message:

💡

Connection to the printer failed


Please check if the printer is still connected.

Some browsers don't allow HTTP calls from websites to devices in the network (for security reasons). If it is the case, you will need to follow Odoo's documentation for 'Self-signed certificate for ePOS printers' and 'Secure connection (HTTPS)' to solve the issue. Do you want to print using the web printer?

So I generated a new self-signed certificate and created a new parameter for a secure connection. Then, I added the printer again. However, when I tried to print the receipt, I still received the same error message.

Can someone help me fix this?

Avatar
Discard
Best Answer

I’m running into the same issue here. I recently bought an expensive Epson TM-m30III and it only works properly when I use a browser on Android. When I try to use the Android app, it just doesn’t work.

Here’s what I’ve done so far:

  • I downloaded and installed the certificate on my Android device.
  • In Odoo 18, I set point_of_sale.enforce_https to True.

It worked for a some hours after setting odoo point_of_sale.enforce_https to True. But after a restart it stopped working again.

But here’s the problem: the certificate is tied to a hostname (domain), while my printer is set up with an IP address. According to the Odoo documentation, it says: "To confirm your printer’s connection is secure, connect to its IP address using HTTPS."

How is this supposed to work? When I try this in the browser, it checks the certificate’s hostname against whatever I type into the address bar. Since I am using the IP address and not a domain name, it doesn’t match, and I’m stuck.

Has anyone else dealt with this? Any ideas on how to make it work with the Android app? Thanks!

Avatar
Discard
Best Answer

Hello Julian,

To identify the specific network request that failed, you can investigate using your browser's developer tools and check the Network tab. 

Alternatively, if you're interested in a different solution, you could consider using third-party modules like Omni Print, which offers direct POS printer support.

Avatar
Discard