function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rocks_SFDCRocks_SFDC 

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.

Thanks,
Anil

 
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Rocks,

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

Thanks
Rahul Kumar