print pdf file using cordova

1 posts, 0 answers
  1. grandhi
    grandhi avatar
    1 posts
    Member since:
    Aug 2017

    Posted 16 Aug Link to this post

    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.

Back to Top