This is a migrated thread and some comments may be shown as answers.

print pdf file using cordova

0 Answers 176 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
grandhi
Top achievements
Rank 1
grandhi asked on 16 Aug 2017, 08:19 AM

I am using de.appplant.cordova.plugin.printer plugin to print a pdf file. I written following code snippet but it showing a blank screen. Any help on this. I tried different approaches but no luck.

 

cordova.plugins.printer.print('http://che.org.il/wp-content/uploads/2016/12/pdf-sample.pdf', {name: 'Document.pdf'});

 

Here is the plugin Link for your reference.

Tags
Apache Cordova
Asked by
grandhi
Top achievements
Rank 1
Share this question
or