Since version 2.3, SumatraPDF can be heavily customized by editing settings file.
Command-line argumentsFor most complete documentation, read this page.
|-page $pageno||open PDF at a given page|
|-named-dest $dest||open PDF at a specified named destination|
|-lang $language||set user interface language. $language is a two-letter language code e.g. "en", "de"|
|-restrict||run in restricted mode.|
|-presentation $file.pdf||opens a PDF file in presentation (full-screen) mode|
|-register-for-pdf||forces registering Sumatra as a default reader for PDF files and exits|
Printing related cmd-line arguments:
|-print-to-default $file.pdf||prints a PDF file on a default printer|
|-print-to $printer_name $file.pdf||prints a PDF on a given printer|
|-print-dialog $file.pdf||opens a PDF file and shows a print dialog to select printer and printing options|
|-exit-on-print||when -print-to-default or -print-to is used, will exit after printing|
LaTeX preview support
Sumatra has built-in support for easy previewing of LaTeX documents. Read this page for more information and detailed instructions on how to configure various text editors to integrate with Sumatra's preview functionality.
Running in restricted mode
A restricted mode is useful if you want to use SumatraPDF as a bundled viewer for your program's documentation or in kiosk mode. In restricted mode some actions that are not appropriate in such context are disabled:
- opening new files
- launching URLs from with PDF document
- text and image selection
- changing default settings
- saving to disk
- automatic and manual update checks
- a history of recently opened files
- TeX support
- registering as a default PDF viewer
- opening with Adobe Acrobat
- e-mailing PDF
Editing interactive forms and adding comments is not implemented.
You can find more documentation at this page.