XL2000: Column Width Not the Same When Printed

ID: Q214394


The information in this article applies to:
  • Microsoft Excel 2000


SYMPTOMS

When you print or preview a worksheet, the column widths fail to be printed or appear as they appear on the screen in normal view.


CAUSE

Depending on the fonts you use, column widths and row heights may appear differently when you print or view a worksheet in print preview. This behavior occurs when you use proportionally spaced fonts, such as a proportional TrueType font.

This problem does not occur when you use monospace fonts (fonts with fixed widths), such as Courier New. The discrepancy in font metrics is a function of how Microsoft Windows reports the font information to Microsoft Excel.


WORKAROUND

To work around the column width problem, use either of the following methods.

Method 1: Use a Monospace Font

  1. Select the cells that contain the data. On the Format menu, click Cells.


  2. In the Format Cells dialog box, click the Font tab and select a monospace font, such as Courier New.


Method 2: Manually Resize the Column

  1. Drag the boundary on the right side of the column heading until the column is the width you want.

    -or-

    Select the column you want to resize, point to Column on the Format menu and click Width. Type a smaller number and click OK.


  2. On the File menu, click Print Preview to preview the page.


  3. Repeat steps 1 and 2 as necessary until the column appears correctly.



MORE INFORMATION

Most printers offer a much higher resolution (300 or 600 dots per inch) than a computer screen (72 dpi). Therefore, information that is displayed on the screen is rendered differently than the printed output. When you select a column or row, and then use the AutoFit command, the font metrics that are used on the screen are different than the metrics the printer uses; some characters for some fonts may use a fractional value.

For example, a font may report 9.1 pixels, but because a display driver is unable to work with fractional amounts, it rounds the amount to the nearest whole pixel value. In this example, 9.1 pixels is rounded down to 9.0 pixels. When a higher resolution printer renders the view in print preview or is used when you print the worksheet, the characters may be printed at a resolution of 9.1 pixels. Because the column width is calculated based on the rounded whole number value, the printed output of the column width is different from the displayed column width. This discrepancy is particularly apparent when you use the AutoFit command to resize columns that contain long text strings.


REFERENCES

For more information about using the AutoFit command, click Microsoft Excel Help on the Help menu, type "Change column width" in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Additional query words: XL97 8.00 best fit mono-space kerning XL2000

Keywords : kbprint kbualink97 xlformat xlprint
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: May 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.