The command line

To start Document Viewer from the command line, type papers. You can open a specific file by typing the filename after the papers command:

papers file.pdf

You can open multiple files by typing the filenames after the papers command, separating the filenames by a space:

papers file1.pdf file2.pdf

Document Viewer also supports the handling of files on the web. For example, after the papers command you can give the location of a file on the web:

papers http://www.claymath.org/millennium/P_vs_NP/pvsnp.pdf

Opening a document at a specific page

Puteți utiliza comutatorul --page-label pentru a deschide un document la o anumită pagină. De exemplu, pentru a deschide un document la pagina 3, ar trebui să tastați:

papers --page-label=3 file.pdf

The page label should be in the same format as the page number displayed in the Document Viewer header bar.

Opening a document in fullscreen mode

papers --fullscreen file.pdf

Opening a document in presentation mode

papers --presentation file.pdf

Opening a document in preview mode

papers --preview file.pdf