multivalent: java tool to compress pdf

here i am describing how I have used multivalent
help link: http://multivalent.sourceforge.net/Tools/pdf/Compress.html
download link: http://sourceforge.net/project/showfiles.php?group_id=44509
to install:
1. place the attached jar file to anywhere in server
2. in terminal ype: sudo vi /etc/environment this will open a file something like this:
PATH=”/usr/local/sbin:/usr/

local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games”
LANG=”en_US.UTF-8″
CLASSPATH=”:/home/tareq/projects/itext/iText-2.1.3.jar:/home/tareq/projects/itext/Multivalent20060102.jar:”

add the class path like the example here this /home/tareq/projects/itext/ path can be anywhere
3. restart the server
4. now run the python script placing it to the correct place or you can test in terminal just type java tool.pdf.Compress path_to_pdf_file

hope this works

Advertisements
About

Work is fun!

Tagged with: , , ,
Posted in java, Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Disclaimer
All content provided on this "tareqalam.com" blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner of [tareqalam.wordpress.com] will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.
September 2008
M T W T F S S
« Jul   Oct »
1234567
891011121314
15161718192021
22232425262728
2930  

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 23 other followers

%d bloggers like this: