Home All Groups Group Topic Archive Search About

Anyway To Compress PDF from .NET?

Author
30 May 2006 7:48 PM
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.

Author
30 May 2006 8:39 PM
Mike Lowery
"cmay" <c***@walshgroup.com> wrote in message
news:1149016775.918536.326090@y43g2000cwc.googlegroups.com...
> 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
Author
30 May 2006 9:32 PM
cmay
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.
Author
3 Jun 2006 10:06 AM
Le pape
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

cmay wrote:
Show quoteHide quote
> 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.
>
Author
31 May 2006 12:06 AM
Homer J Simpson
"cmay" <c***@walshgroup.com> wrote in message
news:1149016775.918536.326090@y43g2000cwc.googlegroups.com...

> 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.
Author
31 May 2006 3:07 AM
cmay
> 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.
Author
31 May 2006 5:59 AM
Cor Ligthert [MVP]
Cmay,

PDF is property of Adobe and the use is very restricted by licenses from
Adobe.

They have tools and a desk to help developers.

Only it is not free.

http://www.adobe.com/support/programs/acrreader/?tab:contact=1

Cor

Show quoteHide quote
"cmay" <c***@walshgroup.com> schreef in bericht
news:1149044862.036860.153090@i39g2000cwa.googlegroups.com...
>
>> 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.
>
Author
31 May 2006 6:21 AM
Mark Keogh
cmay wrote:
Show quoteHide quote
>>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.
>

This works perfectly for me
http://www.pdf-tools.com/asp/products.asp?name=POLA&gclid=CPS_qc74oYUCFR4GSAoddFiUwg
Author
5 Jun 2006 10:33 PM
cmay
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.



Mark Keogh wrote:
Show quoteHide quote
> cmay wrote:
> >>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.
> >
>
> This works perfectly for me
> http://www.pdf-tools.com/asp/products.asp?name=POLA&gclid=CPS_qc74oYUCFR4GSAoddFiUwg
Author
6 Jun 2006 12:33 AM
Liz
"cmay" <c***@walshgroup.com> wrote in message
news:1149546781.180532.94870@i40g2000cwc.googlegroups.com...
> 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 ....
Author
15 Jun 2006 3:26 PM
NickP
> Microsoft has Save As PDF built into Office 2007 Beta 2  ... Adobe is
> suing them ....

    Oh well, pebble in the ocean...
Author
31 May 2006 2:53 PM
Mike Lowery
Show quote Hide quote
"cmay" <c***@walshgroup.com> wrote in message
news:1149044862.036860.153090@i39g2000cwa.googlegroups.com...
>
>> 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.

GhostScript might give you this capability:
http://www.cs.wisc.edu/~ghost/doc/gsapi.htm
Author
31 May 2006 10:55 PM
Homer J Simpson
Show quote Hide quote
"cmay" <c***@walshgroup.com> wrote in message
news:1149044862.036860.153090@i39g2000cwa.googlegroups.com...

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

ABBYY can do this too but it ain't cheap.
Author
3 Jun 2006 10:08 AM
Le pape
See my previous message in the same thread a little above this

Philippe

cmay a écrit :
Show quoteHide quote
>> 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.
>
Author
31 May 2006 10:58 AM
NickP
Hi cmay,

    ComponentOne make .net class libraries to author PDF documents, and it
works very well.

    http://www.componentone.com/

Nick.

Show quoteHide quote
"cmay" <c***@walshgroup.com> wrote in message
news:1149016775.918536.326090@y43g2000cwc.googlegroups.com...
> 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.
>