Some test text!

Search
Hamburger Icon

Cli / Guides / Options

Command-Line Summary for PDF PageMaster

Usage: pagemaster [<options>] file...

OPTIONS:

  -o [ --output ] arg     The output folder used to store modified files. By
                          default, the current working folder will be used to
                          store converted files.

  --subfolders            Process all subfolders.

  --digits arg            The number of digits used in the page number portion
                          of the output filename for split operations.
  -m [ --merge ]          Merge documents, page ranges, or page sets.

  --splice                This option is only relevant when merging pages. It
                          can be used to assemble the new document sequence by
                          interweaving pages from the given list of page
                          sequences.

  -s [ --split ]          Split a PDF document.

  -r [ --remove ]         Remove the given pages of a PDF document.

  -i [ --insert ] arg     Insert the specified document.

  --before arg            used to specify that the file should be inserted
                          before the given page.

  --after arg             used to specify that the file should be inserted
                          after the given page.

  --byfilesize arg        Split a PDF document into files of the given size in
                          KB.

  --bybookmarks arg       Split a PDF document into files based on bookmarks at
                          the given depth or range of depths in the bookmark
                          tree.

  --gettitle              Gets the title of the document.
  --getauthor             Gets the name of the person who created the document.
  --getsubject            Gets the subject of the document.
  --getkeywords           Gets keywords associated with the document.
  --getcreator            Gets document's 'Creator' description.
  --getproducer           Gets document's 'Producer' description.

  --getpagecount          Gets the number of pages in the document.

  --settitle arg          Sets document's 'Title' description.
  --setauthor arg         Sets document's 'Author' description.
  --setsubject arg        Sets document's 'Subject' description.
  --setkeywords arg       Sets document's 'Keywords' description.
  --setcreator arg        Sets document's 'Creator' description.
  --setproducer arg       Sets document's 'Producer' description.

  -p [ --pass ] arg       The password for secured PDF files. Not required if
                          the input document is not secured using the 'open'
                          password.

  -u [ --userpass ] arg   The new user password. The password required to open
                          resulting documents.
  --AES                   Use 128-bit AES (Advanced Encryption Standard)
                          Encryption.
  -w [ --ownerpass ] arg  The new owner/master password. This password is
                          required to adjust permissions settings on resulting
                          documents.
  -d [ --disable ] arg    Permissions are applied to the output PDF if the
                          output document is encrypted. This option accepts a
                          string of permissions flags that should be disabled.
                          The permission string may include the following
                          flags:
                            a - All permissions.
                            p - Printing.
                            m - Changing the document.
                            c - Content copying or extraction.
                            o - Commenting.
                            f - Filling of form fields.
                            x - Content extraction for accessibility.
                            s - Document assembly.
                            h - High quality printing.

  -e [ --enable ] arg     A string of permissions flags (see above) that can be
                          enabled. If there is a conflict with one of flags in
                          'disable' option the permission is not granted.
  --nobookmarks           Do not keep bookmarks.
  -l [ --linearize ]      Linearize output files.
  --reverse               Reverse the page order of output file(s).
  --noprompt              Disables any user input. By default, the application
                          will ask for a valid password if the password is
                          incorrect.

  --extension arg (=.pdf) The default file extension used to process PDF
                          documents. The default extension is ".pdf".

  --verb arg (=1)         Set the verbosity level to 'arg' (0-10).

  -v [ --version ]        Print the version information.

  -h [ --help ]           Print a listing of available options.


Examples:
  pagemaster -m otherpage.pdf "Apryse PDF PageMaster User Manual.pdf" -o out.pdf
  pagemaster -m pages.pdf,1,4,10-5 first.pdf,10-5o -o out.pdf
  pagemaster -s second.pdf -p mypass -o out-dir
  pagemaster -s test_out/ex3,1-5,10-6,3x secret.pdf
  pagemaster -s --bybookmarks 1 bookmarks.pdf -p mypass secret.pdf

Get the answers you need: Chat with us