השוואת מהדורות
View and edit PDF files using Firefox’s built-in viewer
מהדורה 37185:
מהדורה 37185 מאת Tonnes ב־
מהדורה 44764:
מהדורה 44764 מאת AliceWyman ב־
מילות מפתח:
תקציר תוצאות החיפוש:
Learn how to get PDF files to open in the Firefox window and fix common problems like blank pages and files downloading instead of opening.
Learn how to get PDF files to open in the Firefox window and fix common problems like blank pages and files downloading instead of opening.
תוכן:
{for fx19}
To display PDF files inside the Firefox browser window, you can use the built-in PDF Viewer or a PDF reader plugin. This article covers both methods and how to fix the common issues you might encounter.
{/for}
{for not fx19}
To display PDF files inside the Firefox browser window, you can use the PDF Viewer extension or a PDF reader plugin. This article covers both methods and how to fix the common issues you might encounter.
{note}'''Note:''' The PDF viewer is now built into Firefox. [[Update Firefox to the latest version|Update Firefox to get it.]]{/note}
{/for}
__TOC__
{for fx19}
= Using the built-in PDF Viewer =
Firefox now includes a built-in PDF viewer that allows you to view almost all PDF files found on the web without a plugin. The built-in PDF viewer is enabled by default.
{/for}
{for not fx19}
=Using the PDF Viewer extension=
'''[https://addons.mozilla.org/firefox/addon/pdfjs/ PDF Viewer]''' (aka pdf.js) is a new revolutionary extension using web standard technologies that allows you to display within Firefox almost all PDF files found on the web without a plugin.
{/for}
[[Image:PDF JS]]<br>
{for not fx19}
If you've installed a PDF reader plugin like Adobe Reader, you'll have to disable it (and any other PDF reader plugins) before the PDF viewer extension will work.
#[[T:Open Add-ons|type=Plugins]]
#Select each PDF reader plugin and click {button Disable} close to it.
{/for}
==PDF Viewer toolbar functions==
*'''View document thumbnails or outline''' - The slider button on the far left will open a sidebar with thumbnails of the document's pages. Some documents will also have an outline view available. These make it easy to navigate through a long document.<br><br>
*:[[Image:PDF Thumbnails]]
*'''Page up and down or skip directly to a page''' - You can use the up and down arrows to page through a document or enter the number of the page you want to go to.<br><br>
*:[[Image:PDF Pager]]
*'''Change the size of the document''' - Use the + and - buttons to zoom in and out or choose a zoom setting from the dropdown menu.<br><br>
*:[[Image:PDF Zoom]]
*'''Fullscreen or Presentation mode''' - Click the fullscreen button to allow the PDF file to take over your entire screen. Press {key ESC} to exit fullscreen mode.<br><br>
*:[[Image:PDF Fullscreen]]
*'''Print''' - Click the Printer button to open the print setup dialog.<br><br>
*:[[Image:PDF Print]]
*'''Download''' - Click the Download button to save the PDF file to your computer or to open it with a PDF reader program.<br><br>
*:[[Image:PDF Download]]
*'''Copy current view''' - [[T:contextmenu]] the current view button to open the current view in another tab or window.<br><br>
*:[[Image:PDF Copy]]
==Troubleshoot problems with the PDF viewer==
=== Some PDF files don't render well or are blank ===
With certain types of PDF files, the PDF Viewer may have problems displaying fonts, colors or the whole document. To view these files:
*Click the download button on the right side of the document header in order to open it with the default PDF program on your computer.
=== Cannot open any PDF files ===
<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=739058 -->
Some extensions that block JavaScript may prevent PDF Viewer from working. You can disable them to allow PDF viewer to work:<!-- Maybe the user is using NoScript and doesn't want to disable it completely.. -->
#[[T:Open Add-ons|type=Extensions]]
#Select each blocking extension and click {button Disable} close to it.
For more information, see [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]].
= Using a PDF reader plugin =
If you'd rather not use PDF Viewer, you can use a PDF reader plugin like {for win}[[Use the Adobe Reader plugin to view or download PDF files|Adobe Reader]], [http://www.nitroreader.com/ Nitro PDF Reader] or [http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html Sumatra PDF]{/for}{for linux}[[Use the Adobe Reader plugin to view or download PDF files|Adobe Reader]], [http://mozplugger.mozdev.org/ MozPlugger], or [http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/ KParts plugin]{/for}{for mac}[http://www.schubert-it.com/pluginpdf/ Schubert<nowiki>|</nowiki>it PDF Browser Plugin] on Mac OS X 10.6 and later{/for}.
{for fx19}
To change from using the built-in PDF viewer to your PDF reader plugin:
# [[T:optionspreferences]]
# Select the {menu Applications} panel.
# Find '''Portable Document Format (PDF)''' in the list and click on it to select it.
# Click on the drop-down arrow in the '''Action''' column for the above entry and select '''Use ''PDF reader name'' (in Firefox)'''. {for win}<br><br>[[Image:Opening PDF - Win v2]]
==If PDF files are downloaded instead of displayed, try these solutions==
{/for}
{for not fx19}
==If PDF files are downloaded instead of displayed, check your settings ==
# [[T:optionspreferences]]
# Select the {menu Applications} panel.
# Find {for win, linux}'''Adobe Acrobat Document''' (if you're using Adobe Reader) or {/for}'''PDF files''' {for win, linux}(for other PDF readers) {/for}in the list and click on it to select it.
# Click on the drop-down arrow in the '''Action''' column for the above entry and select '''Use ''PDF reader name'' (in Firefox)'''. {for win}<br><br>[[Image:Opening PDF - Win]]{/for}
#* If '''Use ''PDF reader name'' (in Firefox)''' is not listed as an Option, see [[#w_reset-download-actions|Reset download actions]] below and then repeat this set of instructions.
# [[T:closeOptionsPreferences]]
==Additional solutions==
{/for}
=== Reset download actions ===
# [[T:profileFolder]]
# [[T:closeFirefox]]
# Delete the {filepath [http://kb.mozillazine.org/MimeTypes.rdf mimetypes.rdf]} file.
=== Check Application settings ===
If the PDF reader plugin comes bundled with a reader application, check the application plugin setting if there is some.
{for win}
* Adobe Reader:
*# Open Adobe Reader.
*# Once in Adobe Reader, click the {menu Edit} menu in the menu bar, and then click {menu Preferences...} The Preferences window will open.
*# In the Categories section, click on '''Internet'''.
*# Make sure the first check box, '''Display PDF in browser''', is checked.
*# Click {button OK} to dismiss the Preferences window, and then close Adobe Reader.
{/for}
If you still can't view a PDF in Firefox, continue with the next following instructions.
=== Re-initialize the plugins database ===
Follow the instructions in [[Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems#w_re-initializing-the-plugins-database|Re-initializing the plugins database]].
This will force Firefox to rebuild its plugin database. If you still can't view a PDF in Firefox, continue with the next following instructions.
=== Re-install the application ===
If the PDF reader plugin comes bundled with a reader application and the above troubleshooting methods for Firefox did not work, uninstall and re-install the application.
{for win, linux}
* Adobe Reader:
*# See [http://kb2.adobe.com/cps/400/kb400769.html Adobe's instructions for uninstalling] (Reader versions 8 and above). You should also uninstall any other versions of Reader that are installed.
*# Install the latest version of Adobe Reader from [http://get.adobe.com/reader/ Adobe's download page].
{/for}
{for win}
If you still can't view a PDF in Firefox, continue with the next following instructions.
=== Further information for Adobe Reader ===
If none of the above troubleshooting methods worked, see [http://kb.adobe.com/selfservice/viewContent.do?externalId=328233&sliceId=2 Can't view PDF on the web] from Adobe.com for further instructions.
{/for}
[[Template:ShareArticle|link=http://mzl.la/MyRa61]]
{for fx19}
To display PDF files inside the Firefox browser window, you can use the built-in PDF Viewer or a PDF reader plugin. This article covers both methods and how to fix the common issues you might encounter.
{/for}
{for not fx19}
To display PDF files inside the Firefox browser window, you can use the PDF Viewer extension or a PDF reader plugin. This article covers both methods and how to fix the common issues you might encounter.
{note}'''Note:''' The PDF viewer is now built into Firefox. [[Update Firefox to the latest version|Update Firefox to get it.]]{/note}
{/for}
__TOC__
{for fx19}
= Using the built-in PDF Viewer =
Firefox now includes a built-in PDF viewer that allows you to view almost all PDF files found on the web without a plugin. The built-in PDF viewer is enabled by default.
{/for}
{for not fx19}
=Using the PDF Viewer extension=
'''[https://addons.mozilla.org/firefox/addon/pdfjs/ PDF Viewer]''' (aka pdf.js) is a new revolutionary extension using web standard technologies that allows you to display within Firefox almost all PDF files found on the web without a plugin.
{/for}
[[Image:PDF JS]]<br>
{for not fx19}
If you've installed a PDF reader plugin like Adobe Reader, you'll have to disable it (and any other PDF reader plugins) before the PDF viewer extension will work.
#[[T:Open Add-ons|type=Plugins]]
#Select each PDF reader plugin and click {button Disable} close to it.
{/for}
==PDF Viewer toolbar functions==
*'''View document thumbnails or outline''' - The slider button on the far left will open a sidebar with thumbnails of the document's pages. Some documents will also have an outline view available. These make it easy to navigate through a long document.<br><br>
*:[[Image:PDF Thumbnails]]
*'''Page up and down or skip directly to a page''' - You can use the up and down arrows to page through a document or enter the number of the page you want to go to.<br><br>
*:[[Image:PDF Pager]]
*'''Change the size of the document''' - Use the + and - buttons to zoom in and out or choose a zoom setting from the dropdown menu.<br><br>
*:[[Image:PDF Zoom]]
*'''Fullscreen or Presentation mode''' - Click the fullscreen button to allow the PDF file to take over your entire screen. Press {key ESC} to exit fullscreen mode.<br><br>
*:[[Image:PDF Fullscreen]]
*'''Print''' - Click the Printer button to open the print setup dialog.<br><br>
*:[[Image:PDF Print]]
*'''Download''' - Click the Download button to save the PDF file to your computer or to open it with a PDF reader program.<br><br>
*:[[Image:PDF Download]]
*'''Copy current view''' - [[T:contextmenu]] the current view button to open the current view in another tab or window.<br><br>
*:[[Image:PDF Copy]]
==PDF Viewer keyboard shortcuts==
{|
!Command
!Shortcut
|-
|Next page
|{key n} or {key k} or {key →}
|-
|Previous page
|{key p} or {key j} or {key ←}
|-
|Zoom in
|{for win,linux}{key Ctrl++}{/for}{for mac}{key command++}{/for}
|-
|Zoom out
|{for win,linux}{key Ctrl+-}{/for}{for mac}{key command+-}{/for}
|-
|Automatic Zoom
|{for win,linux}{key Ctrl+0}{/for}{for mac}{key command+0}{/for}
|-
|Rotate the document clockwise
|{key r}
|-
|Rotate counterclockwise
|{key Shift+r}
|}
==Troubleshoot problems with the PDF viewer==
=== Some PDF files don't render well or are blank ===
With certain types of PDF files, the PDF Viewer may have problems displaying fonts, colors or the whole document. To view these files:
*Click the download button on the right side of the document header in order to open it with the default PDF program on your computer.
=== Cannot open any PDF files ===
<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=739058 -->
Some extensions that block JavaScript may prevent PDF Viewer from working. You can disable them to allow PDF viewer to work:<!-- Maybe the user is using NoScript and doesn't want to disable it completely.. -->
#[[T:Open Add-ons|type=Extensions]]
#Select each blocking extension and click {button Disable} close to it.
For more information, see [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]].
= Using a PDF reader plugin =
If you'd rather not use PDF Viewer, you can use a PDF reader plugin like {for win}[[Use the Adobe Reader plugin to view or download PDF files|Adobe Reader]], [http://www.nitroreader.com/ Nitro PDF Reader] or [http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html Sumatra PDF]{/for}{for linux}[[Use the Adobe Reader plugin to view or download PDF files|Adobe Reader]], [http://mozplugger.mozdev.org/ MozPlugger], or [http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/ KParts plugin]{/for}{for mac}[http://www.schubert-it.com/pluginpdf/ Schubert<nowiki>|</nowiki>it PDF Browser Plugin] on Mac OS X 10.6 and later{/for}.
{for fx19}
To change from using the built-in PDF viewer to your PDF reader plugin:
# [[T:optionspreferences]]
# Select the {menu Applications} panel.
# Find '''Portable Document Format (PDF)''' in the list and click on it to select it.
# Click on the drop-down arrow in the '''Action''' column for the above entry and select '''Use ''PDF reader name'' (in Firefox)'''. {for win}<br><br>[[Image:Opening PDF - Win v2]]
==If PDF files are downloaded instead of displayed, try these solutions==
{/for}
{for not fx19}
==If PDF files are downloaded instead of displayed, check your settings ==
# [[T:optionspreferences]]
# Select the {menu Applications} panel.
# Find {for win, linux}'''Adobe Acrobat Document''' (if you're using Adobe Reader) or {/for}'''PDF files''' {for win, linux}(for other PDF readers) {/for}in the list and click on it to select it.
# Click on the drop-down arrow in the '''Action''' column for the above entry and select '''Use ''PDF reader name'' (in Firefox)'''. {for win}<br><br>[[Image:Opening PDF - Win]]{/for}
#* If '''Use ''PDF reader name'' (in Firefox)''' is not listed as an Option, see [[#w_reset-download-actions|Reset download actions]] below and then repeat this set of instructions.
# [[T:closeOptionsPreferences]]
==Additional solutions==
{/for}
=== Reset download actions ===
# [[T:profileFolder]]
# [[T:closeFirefox]]
# Delete the {filepath [http://kb.mozillazine.org/MimeTypes.rdf mimetypes.rdf]} file.
=== Check Application settings ===
If the PDF reader plugin comes bundled with a reader application, check the application plugin setting if there is some.
{for win}
* Adobe Reader:
*# Open Adobe Reader.
*# Once in Adobe Reader, click the {menu Edit} menu in the menu bar, and then click {menu Preferences...} The Preferences window will open.
*# In the Categories section, click on '''Internet'''.
*# Make sure the first check box, '''Display PDF in browser''', is checked.
*# Click {button OK} to dismiss the Preferences window, and then close Adobe Reader.
{/for}
If you still can't view a PDF in Firefox, continue with the next following instructions.
=== Re-initialize the plugins database ===
Follow the instructions in [[Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems#w_re-initializing-the-plugins-database|Re-initializing the plugins database]].
This will force Firefox to rebuild its plugin database. If you still can't view a PDF in Firefox, continue with the next following instructions.
=== Re-install the application ===
If the PDF reader plugin comes bundled with a reader application and the above troubleshooting methods for Firefox did not work, uninstall and re-install the application.
{for win, linux}
* Adobe Reader:
*# See [http://kb2.adobe.com/cps/400/kb400769.html Adobe's instructions for uninstalling] (Reader versions 8 and above). You should also uninstall any other versions of Reader that are installed.
*# Install the latest version of Adobe Reader from [http://get.adobe.com/reader/ Adobe's download page].
{/for}
{for win}
If you still can't view a PDF in Firefox, continue with the next following instructions.
=== Further information for Adobe Reader ===
If none of the above troubleshooting methods worked, see [http://kb.adobe.com/selfservice/viewContent.do?externalId=328233&sliceId=2 Can't view PDF on the web] from Adobe.com for further instructions.
{/for}
[[Template:ShareArticle|link=http://mzl.la/MyRa61]]