Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.

connect() function now working correctly. #37

Open
smarttvdev opened this issue Mar 30, 2020 · 1 comment
Open

connect() function now working correctly. #37

smarttvdev opened this issue Mar 30, 2020 · 1 comment

Comments

@smarttvdev
Copy link

I followed your code, but connect function seems not working correctly.
below is my code.

var connected=await EscPos.connect("192.168.1.18", 9100);
alert("connection status:"+connected)

Even though i did not connect printer, it is always returnning true.
And also, from your try catch statement, can't catch error in catch section.
I used Start-100 Printer for this.

@leesiongchan
Copy link
Owner

leesiongchan commented May 5, 2020

Sorry can you try to debug it in the debugger, see if you can see any logs there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants