One can simply find our Oracle's (earlier Sun's, although i'm not too happy to say non-open oracle) OpenOffice ! U can convert any doc, ppt, xls to pdf file.
Now comes the important part of protecting the document.
Here are some FOSS tools to get it done
[root@mahendra ~]# yum -y install pdftk*
Not loading "blacklist" plugin, as it is disabled
Not loading "whiteout" plugin, as it is disabled
Loaded plugins: refresh-packagekit
Config time: 1.676
Yum Version: 3.2.24
Setting up Package Sacks
pkgsack time: 4.772
rpmdb time: 0.424
Setting up Install Process
Building updates object
up:Obs Init time: 0.272
up:simple updates time: 0.479
up:obs time: 0.016
up:condense time: 0.000
updates time: 36.928
Resolving Dependencies
--> Finished Dependency Resolution
Dependency Process ending
Depsolve time: 161.988
Dependencies Resolved
====================================================================================================
Package Arch Version Repository Size
====================================================================================================
Installing:
pdftk i586 1.41-21.fc11 updates 90 k
Installing for dependencies:
bouncycastle i586 1.44-1.fc11 updates 3.3 M
bouncycastle-mail i586 1.44-1.fc11 updates 502 k
bouncycastle-tsp i586 1.44-1.fc11 updates 107 k
itext i586 2.1.7-5.fc11 updates 3.1 M
Transaction Summary
====================================================================================================
Install 5 Package(s)
Upgrade 0 Package(s)
Total download size: 7.2 M
Downloading Packages:
(1/5): bouncycastle-1.44-1.fc11.i586.rpm | 3.3 MB 00:21
(2/5): bouncycastle-mail-1.44-1.fc11.i586.rpm | 502 kB 00:05
(3/5): bouncycastle-tsp-1.44-1.fc11.i586.rpm | 107 kB 00:01
(4/5): itext-2.1.7-5.fc11.i586.rpm | 3.1 MB 00:23
(5/5): pdftk-1.41-21.fc11.i586.rpm | 90 kB 00:01
----------------------------------------------------------------------------------------------------
Total 125 kB/s | 7.2 MB 00:58
Running rpm_check_debug
Adding Package pdftk-1.41-21.fc11.i586 in mode u
Adding Package bouncycastle-1.44-1.fc11.i586 in mode u
Adding Package bouncycastle-tsp-1.44-1.fc11.i586 in mode u
Adding Package itext-2.1.7-5.fc11.i586 in mode u
Adding Package bouncycastle-mail-1.44-1.fc11.i586 in mode u
rpm_check_debug time: 0.336
Running Transaction Test
Adding Package pdftk-1.41-21.fc11.i586 in mode u
Adding Package bouncycastle-1.44-1.fc11.i586 in mode u
Adding Package bouncycastle-tsp-1.44-1.fc11.i586 in mode u
Adding Package itext-2.1.7-5.fc11.i586 in mode u
Adding Package bouncycastle-mail-1.44-1.fc11.i586 in mode u
Finished Transaction Test
Transaction Test Succeeded
Transaction Test time: 1.141
Adding Package pdftk-1.41-21.fc11.i586 in mode u
Adding Package bouncycastle-1.44-1.fc11.i586 in mode u
Adding Package bouncycastle-tsp-1.44-1.fc11.i586 in mode u
Adding Package itext-2.1.7-5.fc11.i586 in mode u
Adding Package bouncycastle-mail-1.44-1.fc11.i586 in mode u
Running Transaction
Installing : bouncycastle-1.44-1.fc11.i586 1/5
Installing : bouncycastle-mail-1.44-1.fc11.i586 2/5
Installing : bouncycastle-tsp-1.44-1.fc11.i586 3/5
Installing : itext-2.1.7-5.fc11.i586 4/5
Installing : pdftk-1.41-21.fc11.i586 5/5
Transaction time: 15.280
Installed:
pdftk.i586 0:1.41-21.fc11
Dependency Installed:
bouncycastle.i586 0:1.44-1.fc11 bouncycastle-mail.i586 0:1.44-1.fc11
bouncycastle-tsp.i586 0:1.44-1.fc11 itext.i586 0:2.1.7-5.fc11
Complete!
[root@mahendra ~]#
--> Finished Dependency Resolution
Dependency Process ending
Depsolve time: 161.988
Dependencies Resolved
====================================================================================================
Package Arch Version Repository Size
====================================================================================================
Installing:
pdftk i586 1.41-21.fc11 updates 90 k
Installing for dependencies:
bouncycastle i586 1.44-1.fc11 updates 3.3 M
bouncycastle-mail i586 1.44-1.fc11 updates 502 k
bouncycastle-tsp i586 1.44-1.fc11 updates 107 k
itext i586 2.1.7-5.fc11 updates 3.1 M
Transaction Summary
====================================================================================================
Install 5 Package(s)
Upgrade 0 Package(s)
Total download size: 7.2 M
Downloading Packages:
(1/5): bouncycastle-1.44-1.fc11.i586.rpm | 3.3 MB 00:21
(2/5): bouncycastle-mail-1.44-1.fc11.i586.rpm | 502 kB 00:05
(3/5): bouncycastle-tsp-1.44-1.fc11.i586.rpm | 107 kB 00:01
(4/5): itext-2.1.7-5.fc11.i586.rpm | 3.1 MB 00:23
(5/5): pdftk-1.41-21.fc11.i586.rpm | 90 kB 00:01
----------------------------------------------------------------------------------------------------
Total 125 kB/s | 7.2 MB 00:58
Running rpm_check_debug
Adding Package pdftk-1.41-21.fc11.i586 in mode u
Adding Package bouncycastle-1.44-1.fc11.i586 in mode u
Adding Package bouncycastle-tsp-1.44-1.fc11.i586 in mode u
Adding Package itext-2.1.7-5.fc11.i586 in mode u
Adding Package bouncycastle-mail-1.44-1.fc11.i586 in mode u
rpm_check_debug time: 0.336
Running Transaction Test
Adding Package pdftk-1.41-21.fc11.i586 in mode u
Adding Package bouncycastle-1.44-1.fc11.i586 in mode u
Adding Package bouncycastle-tsp-1.44-1.fc11.i586 in mode u
Adding Package itext-2.1.7-5.fc11.i586 in mode u
Adding Package bouncycastle-mail-1.44-1.fc11.i586 in mode u
Finished Transaction Test
Transaction Test Succeeded
Transaction Test time: 1.141
Adding Package pdftk-1.41-21.fc11.i586 in mode u
Adding Package bouncycastle-1.44-1.fc11.i586 in mode u
Adding Package bouncycastle-tsp-1.44-1.fc11.i586 in mode u
Adding Package itext-2.1.7-5.fc11.i586 in mode u
Adding Package bouncycastle-mail-1.44-1.fc11.i586 in mode u
Running Transaction
Installing : bouncycastle-1.44-1.fc11.i586 1/5
Installing : bouncycastle-mail-1.44-1.fc11.i586 2/5
Installing : bouncycastle-tsp-1.44-1.fc11.i586 3/5
Installing : itext-2.1.7-5.fc11.i586 4/5
Installing : pdftk-1.41-21.fc11.i586 5/5
Transaction time: 15.280
Installed:
pdftk.i586 0:1.41-21.fc11
Dependency Installed:
bouncycastle.i586 0:1.44-1.fc11 bouncycastle-mail.i586 0:1.44-1.fc11
bouncycastle-tsp.i586 0:1.44-1.fc11 itext.i586 0:2.1.7-5.fc11
Complete!
[root@mahendra ~]#
Examples :
Merge Two or More PDFs into a New Document
pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf
or (Using Handles):
pdftk A=1.pdf B=2.pdf cat A B output 12.pdf
or (Using Wildcards):
pdftk *.pdf cat output combined.pdf
Split Select Pages from Multiple PDFs into a New Document
pdftk A=one.pdf B=two.pdf cat A1-7 B1-5 A8 output combined.pdf
Rotate the First Page of a PDF to 90 Degrees Clockwise
pdftk in.pdf cat 1E 2-end output out.pdf
Rotate an Entire PDF Document's Pages to 180 Degrees
pdftk in.pdf cat 1-endS output out.pdf
Encrypt a PDF using 128-Bit Strength (the Default) and Withhold All Permissions (the Default)
pdftk mydoc.pdf output mydoc.128.pdf owner_pw foopass
Same as Above, Except a Password is Required to Open the PDF
pdftk mydoc.pdf output mydoc.128.pdf owner_pw foo user_pw baz
Same as Above, Except Printing is Allowed (after the PDF is Open)
pdftk mydoc.pdf output mydoc.128.pdf owner_pw foo user_pw baz allow printing
Decrypt a PDF
pdftk secured.pdf input_pw foopass output unsecured.pdf
Join Two Files, One of Which is Encrypted (the Output is Not Encrypted)
pdftk A=secured.pdf mydoc.pdf input_pw A=foopass cat output combined.pdf
Uncompress PDF Page Streams for Editing the PDF Code in a Text Editor
pdftk mydoc.pdf output mydoc.clear.pdf uncompress
Repair a PDF's Corrupted XREF Table and Stream Lengths (If Possible)
pdftk broken.pdf output fixed.pdf
Burst a Single PDF Document into Single Pages and Report its Data to doc_data.txt
pdftk mydoc.pdf burst
Report on PDF Document Metadata, Bookmarks and Page Labels
pdftk mydoc.pdf dump_data output report.txt
Most imp command to set read passwd for pdf :pdftk my.pdf output mydoc128.pdf owner_pw foopass user_pw passwd
Reference :
http://angusj.com/pdftkb/
http://www.accesspdf.com/pdftk/
NOTE: Use pdf OR ps before thinking twice to print the doc & sending on snail mail..
save nature.. save humans
No comments:
Post a Comment
Comments welcome :