We are developing ionic web application with printer functionality. We used Print.js npm to print the content. If in case the printer not connected with system, I need to show some message about this. how can I determine whether the printer is connected or not. Is there any way in print.js npm or any other npm to determine this requirment.
Asked
Active
Viewed 478 times
1
-
1Have you looked into the [Cordova Print Plugin](https://github.com/katzer/cordova-plugin-printer)? – Andrew Lively Feb 23 '18 at 15:51
-
Its not supporting web browser. I need it in browser platform. – Sundaramoorthy J Feb 24 '18 at 08:30
1 Answers
1
This is not possible with Javascript alone. You would need to use ActiveX or a native application.

crabbly
- 5,106
- 1
- 23
- 46