Anyway To Compress PDF from .NET?

  • Thread starter Thread starter cmay
  • Start date Start date
C

cmay

Does anyone know of a component, free or otherwise, that will allow me
to open a PDF and save it in a compressed format?

The MS ReportViewer saves PDFs in a totally useless bloated format.
You can get a 20MB pdf. You open it and save a copy using acrobat and
the copy is 220KB.

IF anyone has any ideas I would love to hear it.
 
cmay said:
Does anyone know of a component, free or otherwise, that will allow me
to open a PDF and save it in a compressed format?

The MS ReportViewer saves PDFs in a totally useless bloated format.
You can get a 20MB pdf. You open it and save a copy using acrobat and
the copy is 220KB.

IF anyone has any ideas I would love to hear it.

Only thing I know of is PDFCreator:
http://sector7g.wurzel6.de/pdfcreator/index_en.htm
 
I don't think that is quite what I am looking for. The site is mostly
in german so I couldn't tell for sure, but it looked like a stand alone
application.

Acrobat Reader will shrink the file, but I need to do this
programmatically.
 
Does anyone know of a component, free or otherwise, that will allow me
to open a PDF and save it in a compressed format?

The MS ReportViewer saves PDFs in a totally useless bloated format.
You can get a 20MB pdf. You open it and save a copy using acrobat and
the copy is 220KB.

IF anyone has any ideas I would love to hear it.

Get a copy of PrimoPDF (free). It looks like a printer to any app.
 
Get a copy of PrimoPDF (free). It looks like a printer to any app.


I am not being clear about what I am looking for.
From a windows service, I need to open a bloated PDF, optimize it, and
move on to the next. If any error happens with the
compression/optimization process, I need to be able to catch the
exception and log it. There can be no user interface.

There are tons of programs out there to let people create PDFs, but I
need a component that I can call programmatically.
 
cmay said:
I am not being clear about what I am looking for.

move on to the next. If any error happens with the
compression/optimization process, I need to be able to catch the
exception and log it. There can be no user interface.

There are tons of programs out there to let people create PDFs, but I
need a component that I can call programmatically.

GhostScript might give you this capability:
http://www.cs.wisc.edu/~ghost/doc/gsapi.htm
 
I am not being clear about what I am looking for.

From a windows service, I need to open a bloated PDF, optimize it, and
move on to the next. If any error happens with the
compression/optimization process, I need to be able to catch the
exception and log it. There can be no user interface.

There are tons of programs out there to let people create PDFs, but I
need a component that I can call programmatically.

ABBYY can do this too but it ain't cheap.
 
Wrong!

First of all, go to http://www.sourceforge.net/projects/pdfcreator and
you'll get anything you want in english.

Secondly, PDFCreator is now exposing ALL its functionalities as COM
object and I can tell you that it does a SUPERB job although the help is
somewhat primitive. It includes a couple examples to illustrate how to
use the COM object and believe me you'll get real good stuff out of it.

I am no member of the project, I am just an average VB6 user willing to
easily create PDF's automatically....

FWIW

Philippe
 
Thanks. I had some problems with it the first time but I tried it
again, reregistered the DLLs, and it DOES work for what I need it to
do. THANKS.

Too bad MS didn't build this functionality into their product like they
should have in the first place. Would have saved me 500 bucks.
 
cmay said:
Thanks. I had some problems with it the first time but I tried it
again, reregistered the DLLs, and it DOES work for what I need it to
do. THANKS.

Too bad MS didn't build this functionality into their product like they
should have in the first place. Would have saved me 500 bucks.

Microsoft has Save As PDF built into Office 2007 Beta 2 ... Adobe is suing
them ....
 
Back
Top