# Command line

The papers command can open any number of files, at specific pages and in various modes.
فیل بول
philbull@gmail.com
تیفانی آنتوپولسکی
tiffany@antopolski.com

Creative Commons Share Alike 3.0

# 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

You can use the --page-label switch to open a document at a specific page. For example, to open a document to page 3, you would type:

    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