Keyboard shortcuts
|
|
Advanced settings
Since version 2.3 can be heavily customized by editing settings file.
Command-line arguments
For most complete documentation, read this page.Command-line arguments:
| -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. |
| -reuse-instance | use existing Sumatra process instead of starting a new process |
| -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 |
Note: -esc-to-exit and -bg-color options change the defaults and persist them in sumatrapdfprefs.dat file (in %appdata%\SumatraPDF directory if installed, in the same directory as executable in portable mode). To revert back to defaults, you can delete sumatrapdfprefs.dat file.
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.
Browser plugin
The "full installer" version includes a browser plugin for Firefox, Chrome and Opera (Internet Explorer is not supported). It's not installed by default so you have to use installer's options button to install it.
You might need to configure the browser too: enable Sumatra's PDF plugin and disable PDF plugin from other programs.
Firefox
You need to disable PDF plugins from other programs (e.g. Adobe Reader or Foxit) if you have them installed. Use Tools/Add-ons menu. Switch to Plugins tab, enable Sumatra PDF plugin and disable other PDF plugins.
Chrome
Newer version of Chrome have a PDF plugin built-in. If you want to use Sumatra's plugin, you need to disable Chrome's plugin (and potentially plugins from other apps like Adobe Reader or FoxIt).
Type about:plugins in the address bar, make sure to enable Sumatra PDF plugin and disable other PDF plugins.
Opera
- Run Opera and hit CTRL + F12
- Choose Advanced tab
- From the list on the left choose Downloads
- In the middle box find "application/pdf" and Click "Edit" on the right
- Enable "Use the plugin" at the bottom and choose "SumatraPDF Browser Plugin"
- Click "OK" and then "OK". Restart Opera
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
- printing
- 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
Notes
If "Remember settings for each document" is turned on and a PDF is later opened again, Sumatra PDF will return to the page shown when it was closed. Settings are not only stored for those 10 files shown in the "File" menu - but resuming will not work if the file has been moved in the meantime
Some settings (e.g. fullscreen) are saved as defaults without a GUI option, when SumatraPDF is closed without any document open.
Known limitations
Editing interactive forms and adding comments is not implemented.
More documentation
You can find more documentation at this page.