We have a printer EPSON TM-T88V attached to an odoo-v8 running system where hw_proxy & hw-escpos modules are installed, ip-address & port of that odoo server is '192.168.1.12:8069', which acts as proxy. Our other odoo-v8 server is running on '192.168.1.105:8069' where we have configured the kitchen printer ip as '192.168.1.12' as mentioned above in POS Config.
But while we try to print the order changes to kitchen printer, we found the browser giving us the following error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at \http://192.168.1.12:8069/hw_proxy/hello. (Reason: CORS header 'Access-Control-Allow-Origin' missing).
Our printer is attached on '192.168.1.12:8069' and we are requesting from '192.168.1.105:8069', but printing is failing.
If we attach the printer to the same system '192.168.1.105:8069', it works fine, where ip for kitchen printer is same as this odoo server is running.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/23/16, 7:06 AM|
|Seen: 403 times|
|Last updated: 6/23/16, 7:12 AM|