+ Start a Discussion
RSKRSK 

How to clean up garbage on PDF

Hi,

I'm displaying list of Cases of Account as Pdf by using renderAs attribute on Apex Page, but found lot of garbage at the bottom of the PDF file like

 

JanFeb....Dec,

Sun,Mon...Sat,

Today

I want to clean up all this garbage on the PDF. Any help must be highly appreciated.

 

Thanks In Advance,

Kumar.

Best Answer chosen by Admin (Salesforce Developers) 
kiranmutturukiranmutturu

use standardstylesheet = false attribute in the apex page component

All Answers

kiranmutturukiranmutturu

use standardstylesheet = false attribute in the apex page component

This was selected as the best answer
goabhigogoabhigo

Thats because you are using <apex:form> tag in your code.

 

Below is the link for best practices for rendering pages as PDF

http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_additional_render_pdf.htm

RSKRSK

It works lika a charm.

 

Thanks a lot  Kiran !

 

 

Regards,

Kumar