I have a function that saves a file locally. I want to use the PrintJS to access the file and print it.
The function below is what I have done
 $.fn.openPDF = function (id) {
         printJS({ printable: stores + file_path + id + '.pdf', type: 'raw-html' });
         }
Instead of printing the content of the file, it rather prints the location of the file.
I need help...
I want to print the file directly.
