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. Under Orientation, select either the Portrait or Landscape button 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
A single ampersand (&) &&
Related Topic

Printing a Web page