In my application, I am taking selected user data and creating a PDF file. The PDF file is saved on their local machine. I have a table in my Dialog displaying the PDF filename and location.
I am wanting to add a button to the bottom of the table. The button will print the selected PDF file name to a local printer. I really don't need to view the PDF File. I just want to be able to select a local printer and print the PDF File.
With the button click,
- I can get the file name and location from the selected table cell.
- I can get local printers using PrintDialog
I do not know where to go from here.
Do I need a special open source like PdfRenderer? Do I have to get the file back in to my Application or is it possible to print from its location?