Showing posts with label export. Show all posts
Showing posts with label export. Show all posts

Monday, March 26, 2012

lock pdf export

Hi
i just create a report in c#. The user can export this report in .pdf format. Now i want to lock the content of this .pdf files. How can i do this in crystal report 10?
Thank'sSet the EnableExportButton to False
Add a command button to the Viewer and customize the allowed export options...
But remember, that the user could have a PDFPrinter

Wednesday, March 7, 2012

Local report pdf export

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.

Local report pdf export

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.

Local report pdf export

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.

Local Report Export to CSV

Hi

dose anyone have any idea of how to use or create my own Export to csv in a local report meaning without using the Report server like we have in the Render method of LocalReport only 3 possibilities PDF,Excel,Image i won to be able to render to csv is it possible dose anyone know how to do that?

Thanks

If you are using Visual Studio 2005, check if there is an entry for CSV Extension in RSReportDesigner.config file under C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies. Also check if Visible is not set to False for <Extension Name="CSV"> xml tag.

Otherwise, what do you mean by LocalReport, what is the format of that report?

Shyam

local packages

How can I export in one other server my local packages?(and scheduled job)
DTS go only for the objects in a database?Design the package in question, and choose Save As, specify the other server
name.
Good DTS resource at sqldts.com
--
HTH
Ryan Waight, MCDBA, MCSE
"killer" <matteo.milano@.katamail.com> wrote in message
news:hwxhb.24679$vO5.881056@.twister1.libero.it...
> How can I export in one other server my local packages?(and scheduled job)
> DTS go only for the objects in a database?
>|||Please do not post the same question to multiple groups. See my answer in
.programming.
--
Dejan Sarka, SQL Server MVP
Please reply only to the newsgroups.
"killer" <matteo.milano@.katamail.com> wrote in message
news:hwxhb.24679$vO5.881056@.twister1.libero.it...
> How can I export in one other server my local packages?(and scheduled job)
> DTS go only for the objects in a database?
>