I have found several questions and remarks about the pdf export in local mode. The big problem is that the export to pdf option in local mode is useless when compression is not supported.
My questions:
1.) When (VS 2005? date?) will pdf compression in local mode be supported?
2.) Is it possible to compress the result of the LocalReport.Render method with custom code?
3.) It seems like a small adjustment to use the server mode compression code also in local mode. Is it part of a MS strategy to force the use of server mode?
Thanx,
Arjan
I don't know of any plans to support PDF compression in local mode.
It is always possible to post-process the result of an export however you want, including compression.
|||Do you know of any .net components that can compress a PDF document?|||
I know of no .NET compression libraries off the top of my head that can compress the PDF and maintain the correct page stream. However, you can shell out to a command-line tool to do the recompress:
http://www.pdftk.com
Just be aware that this software is GPL-based so check with your legal department before incorporating binaries or source into any solution.
Thanks, Donovan
|||I acutally came across pdftk, and it does do the job.
However, it has no hooks into it, so to get it to work as a component would take a lot of work on our part.
But I can't find anything that does the trick, so I guess I might end up shelling out to pdftk and just hoping it works. But of course that is not ideal.
No comments:
Post a Comment