Discussion:
Shrinking/compressing PDFs
Paul Newton
2017-12-21 15:32:29 UTC
Permalink
Hi all

The subject explains what I need to be able to do within a running VFP application - any suggestions (preferably free or cheap :)). I apologise in advance if this should have been marked [NF] but I thought not

Many thanks

Paul Newton

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@BY2PR0201MB1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
m***@mbsoftwaresolutions.com
2017-12-21 18:36:51 UTC
Permalink
Post by Paul Newton
Hi all
The subject explains what I need to be able to do within a running VFP
application - any suggestions (preferably free or cheap :)). I
apologise in advance if this should have been marked [NF] but I
thought not
Craig Boyd has vfpcompression.fll. Maybe that would help?

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Dave Thayer
2017-12-21 19:55:14 UTC
Permalink
Post by Paul Newton
Hi all
The subject explains what I need to be able to do within a running VFP
application - any suggestions (preferably free or cheap :)). I
apologise in advance if this should have been marked [NF] but I
thought not
Ghostscript can do it:

for a modest amount of compression :
gswin32c.exe -sDEVICE=pdfwrite -dCompatibilityLevel=1.4
-dPDFSETTINGS=/ebook -dNOPAUSE -dBATCH -sOutputFile=<<outfile>>
<<infile>>

for more compression:
gswin32c.exe -sDEVICE=pdfwrite -dCompatibilityLevel=1.4
-dPDFSETTINGS=/screen -dNOPAUSE -dBATCH -sOutputFile=<<outfile>>
<<infile>>


hth

dt

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAAo+qoUUG5Q2mucXDqhdwM2+XuBk1Mg+Ss-***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Ted Roche
2017-12-21 20:27:36 UTC
Permalink
Post by Paul Newton
Hi all
The subject explains what I need to be able to do within a running VFP
application - any suggestions (preferably free or cheap :)). I
apologise in advance if this should have been marked [NF] but I
thought not
A few more clues might give you a more targeted answer.

1. How big is the file, and how much reduction are you aiming for?
2. What's the composition of the PDF: scanned pages, graphics, text?
3. Are you generating it from a FoxPro report?
4. Using PostScript fonts? Which driver are you using to generate it?

Generic answer: use pdftk (https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/)

But that might not apply.
--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4shmDYGwyuWwWw+***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Kevin J Cully
2017-12-21 18:41:48 UTC
Permalink
We use a PDF markup tool called BlueBeam. Within that program that have the ability to shrink PDFs. I think I remember there is a way to automate BlueBeam but I've never done it myself. Not free, but not badly priced either.

https://www.bluebeam.com/

-Kevin


-----Original Message-----
From: ProFox [mailto:profox-***@leafe.com] On Behalf Of Paul Newton
Sent: Thursday, December 21, 2017 10:32 AM
To: ***@leafe.com
Subject: Shrinking/compressing PDFs

Hi all

The subject explains what I need to be able to do within a running VFP application - any suggestions (preferably free or cheap :)). I apologise in advance if this should have been marked [NF] but I thought not

Many thanks

Paul Newton

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@CY4PR09MB2134.namprd09.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Kurt Wendt
2017-12-21 20:41:08 UTC
Permalink
PGRpdiBkaXI9J2F1dG8nPlNlZW4gdGhpcyBwb3N0aW5nLCBJIGNhbiBvbmx5IHRoaW5rIGFib3V0
IHRoZSBzaHJpbmthZ2UgZXBpc29kZSBmcm9tIFNlaW5mZWxkITxkaXYgZGlyPSJhdXRvIj4mbmJz
cDs8L2Rpdj48ZGl2IGRpcj0iYXV0byI+Jm5ic3A7SGFoYWhhPC9kaXY+PC9kaXY+


--- StripMime Report -- processed MIME parts ---
text/html (html body -- converted)
---

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/d72352e9-5372-4836-8770-***@email.android.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Ted Roche
2017-12-21 20:44:36 UTC
Permalink
Post by Kurt Wendt
PGRpdiBkaXI9J2F1dG8nPlNlZW4gdGhpcyBwb3N0aW5nLCBJIGNhbiBvbmx5IHRoaW5rIGFib3V0
IHRoZSBzaHJpbmthZ2UgZXBpc29kZSBmcm9tIFNlaW5mZWxkITxkaXYgZGlyPSJhdXRvIj4mbmJz
cDs8L2Rpdj48ZGl2IGRpcj0iYXV0byI+Jm5ic3A7SGFoYWhhPC9kaXY+PC9kaXY+
Yeah, what Kurt said.
--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4usZZOYFJntX0Ts43-_LD5i=2RVjOfbcRBP54oJ=3O+***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Ted Roche
2017-12-21 20:45:49 UTC
Permalink
Post by Ted Roche
Post by Kurt Wendt
PGRpdiBkaXI9J2F1dG8nPlNlZW4gdGhpcyBwb3N0aW5nLCBJIGNhbiBvbmx5IHRoaW5rIGFib3V0
IHRoZSBzaHJpbmthZ2UgZXBpc29kZSBmcm9tIFNlaW5mZWxkITxkaXYgZGlyPSJhdXRvIj4mbmJz
cDs8L2Rpdj48ZGl2IGRpcj0iYXV0byI+Jm5ic3A7SGFoYWhhPC9kaXY+PC9kaXY+
Yeah, what Kurt said.
OK, maybe not.
--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4uxDCYFBX9h4aqMkeGYqt9+***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Kurt at VR-FX
2017-12-21 21:20:27 UTC
Permalink
That is SO WEIRD! I can't believe it came across like that! I made the
response on my Cell phone. Strange indeed...

All I said was - this thread made me think of the Shrinkage episode from
Seinfeld!

;-)

-K-
Post by Ted Roche
Post by Ted Roche
Post by Kurt Wendt
PGRpdiBkaXI9J2F1dG8nPlNlZW4gdGhpcyBwb3N0aW5nLCBJIGNhbiBvbmx5IHRoaW5rIGFib3V0
IHRoZSBzaHJpbmthZ2UgZXBpc29kZSBmcm9tIFNlaW5mZWxkITxkaXYgZGlyPSJhdXRvIj4mbmJz
cDs8L2Rpdj48ZGl2IGRpcj0iYXV0byI+Jm5ic3A7SGFoYWhhPC9kaXY+PC9kaXY+
Yeah, what Kurt said.
OK, maybe not.
_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/f1ca7cd9-f29a-0476-55fe-***@optonline.net
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Paul Newton
2017-12-22 08:27:53 UTC
Permalink
Thank you Ted and to everybody else who made suggestions - especially Kurt :)

I am looking art SmallPDF and they do an API - there are no details on their site though so I have requested details and pricing from them. They have an online compression tool which reduced a PDF from ca 230KB to ca 116KB and I would be more than happy to be able to achieve that degree of compression

I will give feedback, probably in the New Year.

Season's greetings and a Happy New Year to all

Paul Newton

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Ted Roche
Sent: 21 December 2017 20:46
To: ***@leafe.com
Subject: Re: Shrinking/compressing PDFs
Post by Ted Roche
Post by Kurt Wendt
PGRpdiBkaXI9J2F1dG8nPlNlZW4gdGhpcyBwb3N0aW5nLCBJIGNhbiBvbmx5IHRoaW5rI
GFib3V0
IHRoZSBzaHJpbmthZ2UgZXBpc29kZSBmcm9tIFNlaW5mZWxkITxkaXYgZGlyPSJhdXRvI
j4mbmJz
cDs8L2Rpdj48ZGl2IGRpcj0iYXV0byI+Jm5ic3A7SGFoYWhhPC9kaXY+PC9kaXY+
Yeah, what Kurt said.
OK, maybe not.


--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@BY2PR0201MB1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Loading...