Menu

Home

PDF Handler is a pdf command line utility.

Common execution format is

c:\pdfh.exe <<action name>> << Options specific to the action  >>

The pdfh.exe will do the below operations,

1. PDF Merge.
    It will merge the given pdf documents into single one.

    Format :
        c:\pdfh.exe merge <<file names separated by space>>

        The final name will be name of the target file name.
    Ex:

        c:\pdfh.exe merge F:\Sekar\dev\Books\DesignJava.pdf F:\Spring_Tutorial.pdf merge.pdf

2. Pdf informations 
    It will display informations related the given pdf documents

    Format:
        c:\pdfh.exe info <<PDF file names>>
    Ex:
        c:\pdfh.exe info F:\Sekar\dev\Books\DesignJava.pdf F:\Spring_Tutorial.pdf

3. Security (Encryption/Decryption)

    It will secure your given pdf file by doing the encryption and decryption operations

    Format:
        Decryption:
            c:\pdfh.exe decrypt <<Encrypted Source pdf file name>> <<Password>> <<Decrypted output file name>>
        Encryption:
            c:\pdfh.exe encrypt <<Source pdf file name>> <<Password>> <<Encrypted output file name>>
    Ex:
        Decryption:
            c:\pdfh.exe decrypt F:\Spring_Tutorial.pdf hello h:\decryptedspringtutorial.pdf
        Encryption:
            c:\pdfh.exe decrypt F:\Spring_Tutorial.pdf hello h:\encryptedspringtutorial.pdf

4. Document splitter
    This action will create individual pdf documents from the given single document.
    Based on the given page limits it will create the sub documents.
    Format:
        c:\pdfh.exe split <<Source File name>> <<page range limits separated by space>>
    Ex:
        c:\pdfh.exe split F:\Sekar\dev\Books\designjava.pdf 1 23 34-37 40-45

        The above command will create below documents with the pages of original document,
            1.pdf
            2.pdf
            34-37.pdf
            40-45.pdf
            It will use the range values as new document's file names.