Download
Academy
Current location: Downcodes.com -> Academy -> Quality -> Tool -> 8 top tips for IE 7(3)
Recommend
HOT TOP10
8 top tips for IE 7(3)
Date: 2008-1-11 Author: Hit: View:[Large font Middle font Small font]

4. Tweak your way to better printing with IE

IE 7 gives you a great deal of control over how your Web pages print, including whether to print a header or footer, what to put in the header and footer, whether to print thumbnails of Web pages and more.

Changing printing options is simple. Click the down arrow next to the printer icon at the top of IE and choose Print Preview. A screen like the one shown below appears.

The Print Preview screen
The Print Preview screen.

Icons across the top of the page control how the page will print. They're straightforward and self-explanatory, and include options such as printing in landscape or portrait mode, shrinking the printout so it fits nicely on the sheet of paper, and controlling whether headers and footers appear on the printout.

For example, to turn headers and footers on and off, click the fifth icon from the left, or press Alt-E. The preview display will change to reflect whether the headers and footers will print. Click the printer icon on the page when you've got the page set up however you want.

If you'd like, you can tweak what actually appears on the headers and footers when they print. On the Print Preview screen, click the Page Setup icon (it looks like a gear). The Page Setup dialog box, shown below, appears.

Page Setup dialog box
Customize headers and footers with the Page Setup dialog box.

The Header and Footer input boxes tell IE what to print in the header and footer. By default, this is what is in the Header box:

&w&bPage &p of &P

This tells IE to print the window title (&w); print the word "Page" and align it and the rest of the text to the right (&bPage); leave a space and print the page number ( &p); and leave another space and print the total number of pages ( &P).

This is what's in the Footer box:

&u&b&d

This tells IE to print the URL (&u), and print the date in short-date format (&b&d).

For example, if you were visiting the New England Patriots home page (www.patriots.com) on Nov. 20, 2007, the window title was "Official Web site of the New England Patriots," and the Web page was two printed pages long, the header would print out like this:

Official Web site of the New England Patriots Page 1 of 2

The footer would print out like this:

http://www.patriots.com 11/20/2007

By changing the text and code in the Header and Footer input boxes on the Page Setup dialog box, you can change what prints out in the header and footer.

Header and footer printing codes
 
Variable
What it prints
&w Window title
&u URL of the current page
&d Date in short format (4/16/2007)
&D Date in long format, including the day of the week (Monday, April 16, 2007)
&t Time in 12-hour clock format (5:26:43 PM)
&T Time in 24-hour clock format (17:26:43 PM)
&p Current page number
&P Total number of pages
&b Right aligns the following text
&b &b Centers the text between &b and &b
&& An ampersand (&)
 
The codes you can use, and what they'll print, are shown in the table to the left.

You can combine these codes with any text that you enter. So let's say you entered this into the Header box on the Page Setup dialog box:

I visited the &w on &D

If you went to the Patriots' home page on Tuesday, Nov. 20, 2007, and printed it out, this would be the header:

I visited the Official Web site of the New England Patriots on Tuesday, Nov. 20, 2007

Let's say you entered this into the Footer box:

I printed Page &p at &T

It would print this:

I printed Page 1 at 17:26:43 PM

(From: computerworld)

Relative article:
·PHP and Cookies - Creating, Reading and Writing
·8 top tips for IE 7(1)
·8 top tips for IE 7(2)
·Completing an ASP.NET AJAX Client-Centric Wiki Application(1)
·Completing an ASP.NET AJAX Client-Centric Wiki Application(2)
·Completing an ASP.NET AJAX Client-Centric Wiki Application - The Server Side(3)
·Completing an ASP.NET AJAX Client-Centric Wiki Application - The Server Side(4)
·8 top tips for IE 7(4)
·8 top tips for IE 7(5)
·Tips for new MSIE-browser users
Relative software:
·Small and medium-sized companies website
·search engine Enquiries keyword ranking ASP version
·21cn star pictorial procedures thieves
·Yisou Search Engine picture thieves 2004
·QQ magic thieves
·21CN pictorial thieves
·SOGUA music thieves
·F_Space friends procedures v2.0.5
·Friends System v2.6
·Proxy900 acting thieves