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, click either Portrait or Landscape to specify whether you want the page printed vertically or horizontally.
  • 4. In the Header and Footer boxes, 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: If you want to set margins in millimeters instead of inches, you must change the Regional Settings in Control Panel.

    Related Topic: Print a Web page

    (top) &w &b&b&u
    (bottom) page &p of &P &b&b&d &t
    (margins) 0.18" 0.4"