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
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