How to print web pages with IE

Source: Internet
Author: User

Author: webboy

Internet Explorer (IE) 5.0 and later versions provide powerful print and print preview functions. This article describes how to use IE to print web pages. (Who? Who? Who is throwing tomatoes? Below is a piece of Buzz: Do you still need to talk about it ?!) Yes, it's too easy to print web pages in IE. Click "print" on the toolbar to print the current webpage. As shown in:

However, what is the effect you have achieved? I can't say that. What I want to talk about today is some printing settings. If you set these parameters, you will find that the print function of IE can catch up with word. In the future, when you print a webpage, you will be able to print it as soon as you want. Well, let's just talk about it. Now let's take a look at how to set the print parameters for IE.

Let's take the student list to be printed ("Student Status Management System MX" query result webpage) as an example to explain how to set these print parameters:

If we click the "print" button in the toolbar or click "print" in the "file" menu to print the webpage, a lot of unnecessary information will be printed. Therefore, we should first use the "print preview" function added by ie5 to view the actual printing effect of the current webpage before printing. As shown in:

In the "print preview" dialog box shown in, we can see that the information we do not need, such as the webpage title, webpage URL address, and printing date, is also printed. The page number is in the upper right corner. Can I move it to another location (such as the lower right corner?


Can we print the webpage according to the style we want? Of course. Everything is in "page settings.

In the displayed "page settings" dialog box, all the secrets are here!

Originally, ie automatically added unnecessary print information to the header and footer. If we don't want any headers and footers, just delete them. :-) Most of the time I do this. But what if you want to customize the header and footer? What exactly do the "& W & B & P" above mean? Just give you a table.

symbol meaning
& W webpage title
& U webpage address (URL)
& D short date format (specified by "region Settings" in "Control Panel")
& D long Date Format (specified by "region Settings" in "Control Panel")
& T the time format specified by "region Settings" in "Control Panel"
& T 24-hour time format
& P current page number
& P total number of pages
& B right-aligned text (put the text to be right-aligned after "& B")
& B text Center (place the text to center between "& B" and "& B")
& single & number (&)

Note: 1. These symbols can be combined with text. For example, "page number, & P/& P" in this tutorial ".
2. By default, the header and footer are left aligned. Therefore, ie only provides the setting symbol in the right aligned and footer.
3. We recommend that you set the header to be empty and the footer to "& B page & P page/total & P page & B ", the print effect is to display "1st pages/4 pages in total" in the center of the footer.

Once you know the above knowledge, you can print it. But sometimes you will find that some images on the Web page are lost during printing. Why? Why? Do not worry. The default settings of IE do not print the background color and image of the webpage. You only need to enter Internet Options of IE and select (check) it. The specific operation method is as follows: click "Tools"> "Internet Options" in the main menu of IE. In the displayed dialog box, click the "advanced" tab, find "print background color and image. As shown in:

Then, check the options circled in red and click "OK.

So far, we have completed the print settings for IE. Next, as long as we haven't disabled IE, we can always use the above settings (the last "print background color and image" Change is always valid) to print. Print and preview before printing. Print after the effect is satisfactory.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.