1

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.

1 Answers1

1

This is not possible with Javascript alone. You would need to use ActiveX or a native application.

Ref: https://github.com/crabbly/Print.js/issues/129

crabbly
  • 5,106
  • 1
  • 23
  • 46