I have connected EPSON TM-T81 thermal printer to router through Ethernet cable and gave one ip address i.e. 192.168.1.12 and
I have a site which is hosted on amazon server and I want to make receipt printing over the web directly.
I am using the below library for printing.
You can check below diagram how it will works
https://github.com/mike42/escpos-php
If I am testing from localhost than I can found the printer and printing works fine but when I try to print from site it shows me below error
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
[no address given] to inform them of the time this error occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
From my debug i found that it can not find the printer so it can't make the socket object.
Do I need to setup anything on amazon ?
Client PC is running on windows 8 and I have installed epson driver in that.
