+ Start a Discussion

How to Print the Pdf file generated by Visualforce page in Salesforce

Hi Team,

I have created a button on the object and displayed in the detail page. Whenever this button is clicked, a visualforce page will open with PDF preview page with the content from detail page.

Now i have couple of questions below:
1. I want to send that file to the printer directly without showing the PDF preview.
2. I want to process the multiple records at the same time like batches. Here, Once we click on some universal button, then it will process all the records and all the files needs to be printed.

Could anyone please give any solutions for this requirement.


Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Rocks,

Converting a Page to a PDF File. Hope it will be helpful.

Rahul Kumar