To change how a page looks when it prints
  1. On the File menu, click Page Setup.

  2. In the Margins boxes, type the margin measurements in inches.

  3. In the Orientation area, select either Portrait or Landscape to specify whether you want the page printed vertically or horizontally.

  4. Click Headers.

    In each Headers and Footers box, specify the information to be printed by using the following variables. Variables can be combined with text (for example, Page &p of &P).

To print this Type this
Window title &w
Page address (URL) &u
Date in short format (as specified by Regional Settings in Control Panel) &d
Date in long format (as specified by Regional Settings in Control Panel) &D
Time in the format specified by Regional Settings in Control Panel &t
Time in 24-hour format &T
Current page number &p
Total number of pages &P
Centered text (following &b) &b
Right-aligned text (following &b&b) &b&b
A single ampersand (&) &&
Note
Related Topic

Printing a Web page