3

I'm developing an IOS application, using GWT. I want to trigger print functionality in app.

Window.print();

The above code is working fine in Safari browser but not from my app.

Please provide me the valuable suggestion.

Thank you.

nmkyuppie
  • 1,456
  • 1
  • 14
  • 30

1 Answers1

0

Have a look at the following source code: https://github.com/katzer/cordova-plugin-printer

If you are using Phonegap/Cordova, then it's quite straightforward. Otherwise, just copy and paste the code from the plugin

ochakov
  • 348
  • 4
  • 7