11–1–1 Specifying Files

Specify the input and output files by file path. This setting can be used with all commands. Specify the input file path with -d and the output file path with -o.

[Specifying files]

-d (input file path) [password] -o (output file path) [-linearize]

[Detail information: -d]

-d (input file path) [password]

Specify the input file path with -d.

  • It is also possible to process input files with password security.
  • If the input file has password security, please specify the password string.
  • If the input file has two types of passwords: a password to open the document and an owner password, specify the owner password.
Notes/Supplements:
  • If the file path contains spaces, enclose the file path in double quotation marks (").
  • The security information of the input PDF file is carried over to the output PDF file in commands with the following exceptions.
Exception command:

For associated exception command, see the specifications of associated command in "13 Parameters for Commands" in this manual.

[Detail information: -o]

-o (output file path) [-linearize]

Specify the output file path with -o.

  • For PDF output processing, you can use the option to specify "-linearize" after the output file path.
  • If specified, it will be saved as a PDF that is "optimized for fast web view."
  • For details on "-linearize", see "-linearize: Linearizing for Fast Web View" in this manual.
Notes/Supplements:
  • If the file path contains spaces, enclose the file path in double quotation marks (").
  • For commands that do not involve output, it is not necessary to specify the output file path. (Example: -getFileInfo Get PDF information) see the specifications of associated command described in "13 Parameters for Commands" in this manual for whether or not it is necessary to specify the output file path.
  • For the output destination, specify a path to an existing folder/directory. If the path is not found, an error will occur.

[Specific example of settings]

Load test 1.pdf, execute the processing specified in [command], and output it as out.pdf.

<Windows>

AHPDFToolCmd80.exe [command] [parameter] -d "c:\test\test 1.pdf" ownerpass -o c:\sav\out.pdf -linearize

<Linux>

AHPDFToolCmd80 [command] [parameter] -d "/home/antenna/test/test 1.pdf" ownerpass -o /home/antenna/sav/out.pdf -linearize