将网页转成pdf的方法

转自:http://www.novapdf.com/kb/convert-a-web-page-to-pdf-100.html


Convert a web page to PDF

You can convert web pages to PDF from popular browsers like Internet Explorer, Firefox and Chrome by installing a PDF creator that works as a virtual PDF printer. Once the printer is installed, you can simply print to it and a PDF file will be generated. This article shows how to do such conversions and the first step is to download and install novaPDF from the Download page.

On this page: Convert a web page to PDF from Google Chrome (Video tutorial Google Chrome) Convert a web page to PDF from Internet Explorer (Video tutorial Internet Explorer) Convert a web page to PDF from Mozilla FireFox (Video tutorial Firefox)

Web pages are displayed with the help of browsers, most popular ones being Google Chrome, Internet Explorer and Mozilla FireFox (on Windows based systems). While the majority of browsers give you the option to save the web page you're visiting, because of the format that is being saved in it is sometimes difficult to send the web page for someone else to review or even store it on your computer for future reference. This is where converting a web page to a PDF file might prove handy. Just as you would print to a normal printer, you go to File->Printselect novaPDF and voila, you have converted the web page to a PDF file.

Convert a web page to PDF from Google Chrome

Google Chrome is a browser developed by the Google team and has become one of the most popular ones available today for use. To convert your web page to a PDF from the Google Chrome application follow these steps:

  • Open Chrome, go to the web page you want to convert to PDF, click on the Settings button and clickPrint (or press Ctrl+P)
  • In the Print tab select novaPDF as the printer, choose additional settings for the print job and click onPrint
  • novaPDF will ask you to choose where you want to save the PDF and allows you to set other options.

Note: Newer versions of Chrome include a Save to PDF option, so if you don't need to modify advanced settings in PDF you can use that too instead of novaPDF.

  • chrome pdf

Note: When converting the web page to PDF it's possible that some background images do not show up in the PDF (but they are on the web page). To correct that, in the Print page that opens after you click on Print, check the option Background Images.

Video tutorial on how to convert a web page to PDF from Google Chrome:

  • title="Convert a web page to PDF from Chrome" width="640" height="480" src="http://www.youtube.com/embed/j8TWwlCOgz8?wmode=opaque&enablejsapi=1&playerapiid=j8TWwlCOgz8&autoplay=0" frameborder="0" allowfullscreen="" wmode="opaque" style="margin: 0px; padding: 0px; border-width: 0px; border-style: initial; outline: 0px; vertical-align: baseline; background: transparent;">

Convert a web page to PDF from Internet Explorer

Once novaPDF is installed you can convert any web page to a PDF directly from Internet Explorer. Simply visit the page you want converted and "print it" to novaPDF. Here are the steps to follow when converting a web page to a PDF from Internet Explorer:

  • Start Internet Explorer and go to the web page you want to convert to PDF
  • Press the Alt button to show IE's menu, then go to File->Print (or press Ctrl+P) and in the Select Printer section click on novaPDF
  • Before creating the PDF file you can adjust novaPDF's settings by using the Preferences button (for instance changing the page size, orientation or modifying the printing profile)
  • Click on Print and choose a location where you want the PDF file saved. After the PDF is created it will be automatically opened in the default PDF viewer.
  • ie to pdf

By default each page of the PDF document will contain a header (title of the page, and Page x of y information) and a footer (with the url of the printed web page and the printing date). If you don't want these items included in the PDF:

  • Before creating the PDF file, in Internet Explorer's menu go to File->Print Preview
  • In the Print Preview window press Alt+E or click on Turn headers and footers on or off. You'll see in the Preview section how the header/footer text is removed.
  • Additionally you can configure the message printed in the header or footer by clicking the Page Setupbutton and including the custom text in the Header and Footer fields (note that you'll not be able to revert to the old format that easy)
  • Close the Print Preview window and create the PDF file without the header/footer.
  • ie print preview

Note: When converting the web page to PDF it's possible that some background images do not show up in the PDF (but they are on the web page). To correct that, in Internet Explorer 10 go to File->Page Setup and thick the option Print background colors and images. (in previous versions of IE this option is under Tools->Internet Options->Advanced)

Video tutorial on how to convert a web page to PDF from Internet Explorer:

  • title="Convert a web page to PDF from Internet Explorer" width="640" height="480" src="http://www.youtube.com/embed/oYJazBALz6A?wmode=opaque&enablejsapi=1&playerapiid=oYJazBALz6A&autoplay=0" frameborder="0" allowfullscreen="" wmode="opaque" style="margin: 0px; padding: 0px; border-width: 0px; border-style: initial; outline: 0px; vertical-align: baseline; background: transparent;">

Convert a web page to PDF from Mozilla FireFox

Once novaPDF is installed you can convert any web page to a PDF directly from Mozilla FireFox. Simply visit the page you want converted and "print it" to novaPDF. Here are the steps to follow when converting a web page to a PDF from Mozilla FireFox:

  • Start Mozilla FireFox and go to the web page you want to convert to PDF
  • Press the Alt keyboard button to show Firefox's menu then go to File->Print (or press Ctrl+P) and in the Printer section choose from the drop-down novaPDF
  • Before creating the PDF file you can adjust novaPDF's settings by using the Preferences button. Also, for websites using frames FireFox offers an option to print each frame separately, only selected frame or as viewed.
  • Click on OK and choose a location where you want the PDF file saved. After the PDF is created it will be automatically opened in the default PDF viewer.
  • firefox pdf

By default each page of the PDF document will contain a right header (with the URL of the printed web page) and a right footer (with the printing date). If you don't want these items included in the PDF:

  • Before creating the PDF file, in Mozilla FireFox's menu go to File->Page Setup
  • On the Page Setup window click on Margins & Header/Footer. By default, only in the Right Header/Footer section there will be something selected, so you have to choose --blank-- instead ofURL and Date/Time
  • Click Ok and then create the PDF file, no header/footer information will be included.
  • firefox preview

Video tutorial on how to convert a web page to PDF from Firefox:

  • title="Convert a web page to PDF from Firefox" width="640" height="480" src="http://www.youtube.com/embed/sIN7Y6Tq7fg?wmode=opaque&enablejsapi=1&playerapiid=sIN7Y6Tq7fg&autoplay=0" frameborder="0" allowfullscreen="" wmode="opaque" style="margin: 0px; padding: 0px; border-width: 0px; border-style: initial; outline: 0px; vertical-align: baseline; background: transparent;">

Note: When converting the web page to PDF it's possible that some background images do not show up in the PDF (but they are on the web page). To correct that, in Mozilla FireFox go to File->Page Setup->Format & Options, and thick the option Print Background (colors and images).

novaPDF now includes a PDF merging (combining) option, so you can print different web pages (from the same or different websites) to a single PDF (before, after or as background/foreground for the existing PDF). Even more, you can print to the same PDF not only from a browser, but also from other programs combining this way different documents to a single PDF. You can read more about the PDF merging option here: Merge PDF files with novaPDF

Applies to:

  • novaPDF 1.x - 8.x
  • Internet Explorer 7.x+
  • Mozilla FireFox 1.x+
  • Google Chrome 1.x+

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值