12-3 -changeViewInfo: Open Action Settings

Processing

Sets how to open the PDF file.

Example of commands

[Executing example commands]

Specifies how to open test.pdf and output it as out.pdf.

  • You can specify the behavior when opening a PDF file using parameters so that it is displayed in the following state:
    • Continuous pages (=scrolling enabled)
    • Display page-thumbnail panel
    • Hide toolbar

[Windows]

AHPDFToolCmd80.exe -changeViewInfo -pageLayout 2 -pageMode 3 -hideToolbar true -d C:\test\test.pdf -o C:\sav\out.pdf

[Linux]

AHPDFToolCmd80 -changeViewInfo -pageLayout 2 -pageMode 3 -hideToolbar true -d /home/antenna/test/test.pdf -o /home/antenna/sav/out.pdf

Folder settings: applied

You can perform batch processing by specifying the input folder to the -d parameter and the output folder to the -o parameter.

If you specify a folder, set how to open the PDF file in the input folder. Note that the output file will be output to the output folder with the same name as the input file name.

Parameters

Parameter

Content

-direction {1 | 2}

Sets reading options (binding direction). Can be omitted.

1: Left to right (left binding) 2: Right to left (right binding)

If not specified, no change.

If a value other than 1 or 2 is specified, an error will occur.

-pageLayout {1 | 2 | 3 | 4 | 5 | 6}

Sets the page layout. Can be omitted.

1: Single page 2: Single Page Continuous 3: Two-Up Continuous (Facing)4: Two-Up Continuous (Cover Page) 5: Two-Up (Facing) 6: Two-Up (Cover Page)

If not specified, no change.
If a value other than 1 to 6 is specified, an error will occur.

-pageMode{1 | 2 | 3 | 5 | 6}

Sets the page mode. Can be omitted.

1: Pages Only
2: Bookmarks Panel and Page
3: Pages Panel and Page
5: Layers Panel and Page
6: Attachments Panel and Page

If not specified, no change.

If a value other than 1 to 3, 5 and 6 is specified, an error will occur.

-pageMode is ignored when -fullScreen true is specified.

-fitWindow {true | false}

Resize window to initial page. Can be omitted.

true: Fits it to the window size.
false: Does not fit it to the windows size.

If not specified, no change.

-centerWindow {true | false}

Center window on screen. Can be omitted.

true: Centers it in the screen.
false: Does not center it in the screen.

If not specified, no change.

-fullScreen {true | false}

Opens the window in full screen mode. Can be omitted.

true: Open it in full screen mode.
false: Does not open it in full screen mode.

If not specified, no change.

-pageMode is ignored when "-fullScreen true" is specified.

-displayTitle {true | false}

Displays the Title of the document properties in the title bar in the window. Can be omitted.

true: Display the title.

false: Does not display the title.

If not specified, no change.

-hideToolbar {true | false}

Hide the toolbar. Can be omitted.

true: Hides the toolbar.
false: Show the toolbar.

If not specified, no change.

-hideMenubar {true | false} [*1]

Hide the menu bar. Can be omitted.

true: Hides the tool bar.
false: Show the tool bar.

If not specified, no change.

-hideWindowUI <Val> [*1]

Hide the window control. Can be omitted.

true: Hides the window control.
false: Show the window control.

If not specified, no change.

-viewFit {1 | 2 | 3 | 4 | 5}

Magnification settings. Can be omitted.

1: 100% 2: Full display 3: Fits to width 4: Fits to height 5: Fit to drawing area width

If not specified, no change.

If a value other than 1 to 5 is specified, an error will occur.

- defaultPageNo <Val>

Sets the page number to open first.
Can be omitted. If not specified, no change.

Sets the first page to "0."

[*1]
When viewing a PDF file with "-hideMenubar true" and "-hideWindowUI true" are set at the same time using Acrobat/Adobe Reader, a menu bar will be displayed, but this is a specification of Acrobat Reader.