Increase PDF file size


12-17-2009, 11:11 AM
PDF files sizes created by an ActiveReports project have suddenly increased in size ( x10).

The ActiveReports installation and the project files have not changed.

The whole project can be copied to another machine and it works perfectly. This is not an issue with images, embedded fonts or data.

What external factors can be causing this increase in PDF size?

Re: Increase PDF file size


12-18-2009, 12:40 AM
Yorkshireman,

Could you please answer few questions so that we can try to isolate this issue.

1) Which build and version of Active Reports are you using?
2) Which Operating System do you use? Was there a change in Operating system or development environment?
3) By size you mean the size of PDF on the disk and not the zoom size.
4) Try saving the RDF layout of the report on both machines and compare there size. Also attach the RDF here so that we can also test the same at our end. Here is help to save the RDF file.

Any other information that you can provide would be helpful.

Regards,
Aashish

Re: Increase PDF file size


01-04-2010, 5:28 AM
It is the file size.
e.g 5MB instead of 500KB.

The reports actually look fine.

A PDF compression tool will reduce the filesize.


The Operating system is Microsoft Server 2003.

We are using AR .NET 2.0.
This has not changed for a long time.

How can I produce a RFD file?
AR is embedded within a reporting application which is in use at a client site - it is the client who experiences the problem.

I use the same software and I cannot reproduce it.




Re: Increase PDF file size


01-05-2010, 8:35 PM
Hello,

If I understood the issue correctly then you have a report which is exported to PDF format and the memory size of pdf is increased by almost ten times at a client site. However you could not replicate the issue at your end.

If this is the said scenario then I would like to know if this issue was reported by all the clients or a particular client. To analyse the issue I would also request you to send us RDF file. You can click on this link for help on how to save and load RDF file.

Regards
Subodh

Re: Increase PDF file size


01-06-2010, 8:28 AM
Yes,
The filesize is 10 times bigger!

This only happens for one client. I cannot recreate it even when I use exactly the same files and data.

I'm not sure how to export the RDF file. I have followed the link and cannot get it to work. Is that a C# script?

I do not want to recompile/reinstall anything on my clients site if I can help it.

Re: Increase PDF file size


01-07-2010, 4:38 AM
Hello Yorkshireman,

I would like to inform you that it is quite difficult to understand why it increases the file size as it’s specific to one client. Would you please provide the complete system information of the client? Is he saving the PDF file from the website?

Also I would like to inform you that you can save the RDF file of the report by putting the following code snippet in any buttons click event on which you want save the RDF
For Visual Basic:

Dim rpt As New ActiveReport1()
   Private Sub saveRDF()
   rpt.Run()
   rpt.Document.Save(server.MapPath() + "\NewRDF.RDF")
   End Sub

For C#:

    ActiveReport1 rpt = new ActiveReport1();
    rpt.Run();
    rpt.Document.Save(server.MapPath() + "\NewRDF.RDF");

 If you can send us the RDF file then we can test it our end.

Regards
Subodh

Re: Increase PDF file size


01-11-2010, 6:18 AM
So you are suggesting we add this code to the application and compile a new release?

This is time consuming and will require a UAT period for the client.


Could the issue be related to this post regarding pdf filesizes and Citrix?

http://forums.citrix.com/thread.jspa?threadID=43658&tstart=0

Re: Increase PDF file size


01-11-2010, 7:55 AM
.

Re: Increase PDF file size


01-12-2010, 1:33 AM
Hello Yorkshireman,

I have received a mail from you with a statement “OK. I created an RDF file using a C# script.” However in the forum I found it to be blank. I would request you to kindly repost it and if you have created the RDF file then I would request you to send it.

Regards,
Subodh

Re: Increase PDF file size


01-13-2010, 3:11 AM
I now have 2 RFD files created: One large, One small: associated with 2 PDF reports. One large one small.

The reports appear identical except that the small one is 1MB the large one is 5MB.

I will send you the RDFs but as they contain client information I don't want to attach them here. Can I email them directly to you?

Thanks

Re: Increase PDF file size


01-13-2010, 3:20 AM

Hello,

You can send these files to DataDynamics support email address : support@grapecity.us.com

Thanks.

Gaurav

Re: Increase PDF file size


01-13-2010, 3:54 AM
OK thanks.
Email has been sent.

Re: Increase PDF file size


01-14-2010, 5:02 AM
Thank you, we have replied your to your email for more information.

Regards,
Aashish