Reputation: 516
While building an app using node-webkit for windows, I need to print without the dialogue box. Is this possible?
Similar to: http://drziegler.net/kiosksilent-printing-in-google-chrome/
Any help is appreciated.
Upvotes: 6
Views: 4599
Reputation: 3962
You can now do it by adding add the option autoprint:true
and silent:true
Find it in the docs: https://nwjs.readthedocs.io/en/latest/References/Window/#winprintoptions
Upvotes: 0
Reputation: 589
I am pretty sure this is still unimplemented at this point. There is an issue on github for it, and it seemed to be a very popular feature request.
https://github.com/rogerwang/node-webkit/issues/56
Printing support was just added in April, This was in the release notes for 0.50.
Upvotes: 0