"Margins do not fit page size" error when you print an Excel workbook
In a Microsoft Office Excel workbook, you select the Fit to option in the Page Setup dialog box. However, when you print this workbook or when you use the print preview feature to view the workbook, you receive the following error message:
Margins do not fit page size.
Additionally, many pages that have a scale of 10 percent may be printed.
This issue may occur if the printer driver uses the XML Paper Specification (XPS) PageScaling feature. When the driver uses this feature, Excel cannot determine the scale of the workbook.
To work around this issue, use one of the following methods.
Use a printer driver that does not use the XPS PageScaling feature.
Manually set the scale instead of using the Fit to option. To do this, follow these steps:
- Open the Excel workbook.
- Click the Page Layout tab.
- In the Page Setup group, click Page Setup to open the Page Setup dialog box.
- In the Page Setup dialog box, click to select the Adjust to option, enter a number for the scale, and then click OK.