function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<apex:page standardController="Account" renderAs="pdf"> <apex:stylesheet value="{!URLFOR($Resource.Styles,'pdf.css')}"/> <h1>Welcome to Universal Samples!</h1> <p>Thank you, <b><apex:outputText value=" {!Account.Name}"/></b>, for becoming a new account with Universal Samples.</p> <p>Your account details are:</p> <table> <tr><th>Account Name</th> <td><apex:outputText value="{!Account.Name}"/></td> </tr> <tr><th>Account Rep</th> <td><apex:outputText value="{!Account.Owner.Name}"/></td> </tr> <tr><th>Customer Since</th> <td><apex:outputText value="{0,date,long}"> <apex:param value="{!Account.CreatedDate}"/> </apex:outputText></td> </tr> </table> </apex:page>
You can try below example.
https://apisero.com/invoice-pdf-implementation-using-visual-force-page-and-apex%EF%BF%BC/
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_output_pdf_renderas.htm
Please mark as Best Answer if above information was helpful.
Thanks,