Sundaramoorthy J
Sundaramoorthy J

Reputation: 148

How to detect printer connected with system using ionic web application

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.

Upvotes: 1

Views: 562

Answers (1)

crabbly
crabbly

Reputation: 5186

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

Upvotes: 1

Related Questions