<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="commandline" lang="da">

  <info>
    <link type="guide" xref="index#advanced"/>
    <title type="sort">Kommandolinje</title>
    <desc>The <cmd>papers</cmd> command can open any number of files, at specific pages and in various modes.</desc>
    <revision pkgversion="3.2" version="0.1" date="2011-09-05" status="final"/>
    <revision pkgversion="3.24" version="0.2" date="2017-09-17" status="final"/>
    <credit type="author">
      <name>Phil Bull</name>
      <email>philbull@gmail.com</email>
    </credit>
    <credit type="editor">
    <name>Tiffany Antopolski</name>
    <email>tiffany@antopolski.com</email>
    </credit>
    <license>
      <p>Creative Commons Deling på samme vilkår 3.0</p>
    </license>
  <credit type="translator copyright"><name>scootergrisen</name><email></email><years>2020-2021</years></credit></info>

<title>Kommandolinjen</title>
<p>
To start <app>Document Viewer</app> from the command line, type <cmd>papers</cmd>. You
can open a specific file by typing the filename after the papers command:
</p>

<screen>papers file.pdf</screen>
<p>
You can open multiple files by typing the filenames after the papers command, separating the filenames by a space:
</p>
<screen>papers file1.pdf file2.pdf</screen>
<p>
<app>Document Viewer</app> 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:
</p>
<screen>papers http://www.claymath.org/millennium/P_vs_NP/pvsnp.pdf</screen>
<section id="open">
    <title>Åbn et dokument på en bestemt side</title>
    <p>Man kan bruge tilføjelsen <cmd>--page-label</cmd> for at åbne et dokument på en bestemt side. Man åbner for eksempel et dokument på side 3 ved at skrive:</p>
    <screen>papers --page-label=3 file.pdf</screen>
    <p>Sidemærket skal være i samme format som det sidetal der vises på titellinjen i <app>Dokumentfremviser</app>.</p>
</section>
<section id="fullsreen">
    <title>Åbn et dokument i fuldskærmstilstand</title>
    <screen>papers --fullscreen file.pdf</screen>
</section>
<section id="presentation">
    <title>Åbn et dokument i præsentationstilstand</title>
    <screen>papers --presentation file.pdf</screen>
</section>
<section id="preview">
    <title>Åbn et dokument i forhåndsvisningstilstand</title>
    <screen>papers --preview file.pdf</screen>
</section>
</page>
