You need to sign in to do that
Don't have an account?
Print records or attachments from apex
I need to do two print actions.
1. Print X records as pdfs. These should look the same way but with different data. This should be able to solve by printing a visualforce page rendered as pdf which loops over the records I am interested in.
2. Print attachments to a record. For example a pdf-file attached to a contact. I would like to print this X times. Anyone know how this can be accomplished? I seek all possible ways. One way is probably to have it opened from the code and then click the print button yourself from the PDF-application. It would be preferred to have it sent to the printer automatically and just confirm or perhaps some other smart solution.
Thanks / Niklas
Hi Nick,
Here is link where you can get idea by below link
http://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_renderas_pdf.htm
Please so let me know in case of further assist