PDF Maker for Excel does not use standard paper sizes. Instead, it always defines a custom paper size each time you create a PDF according to the size of the content.
Standard paper sizes are handy when you want to print hard copies. On the other hand, if the PDF file is created for sharing the digital version only, it is not necessary to follow the size limitations of standard papers. This is especially true if the content is a diagram, chart, banner, or poster.
Excel (Office) supports two types of fixed documents, XPS format and PDF format. Both are implemented as virtual printers, and both allow scaling the content when generating a fixed document. For example, when you choose PDF format, Excel offers the following scaling options: "No Scaling", "Fit Sheet on One Page", "Fit All Columns on One Page", "Fit All Rows on One Page".
These scaling options are handy when the sizes (width and height) of the content closely match the standard paper size. If it doesn't and you still apply one of the scaling options when generating PDFs, you may notice obvious distortion in the result. This is something that is not avoidable when the content is scaled down, especially when you use images and shapes (text boxes, rectangles, etc.) along with Excel cells.
Here is a simple example (Download the Excel file and PDF file of this example).
- First, insert a rectangle into a cell, making sure it is in the center of the cell.
- Click the Excel menu "File" and then "Print". Choose "Microsoft Print to PDF".
- Expand the options for scaling and choose "Custom Scaling Options". This opens the Page Setup dialog box.
- Adjust it to 30% of its normal size.
- Click "OK" to close the Page Setup dialog box.
- Now print it as a PDF file.
- Open the PDF file in a PDF reader. Enlarge it. As you can see, the shape is no longer located at the center of the cell.
- Our test shows that the offset is related to the number of cells on the top and left sides of the cell. So, if you have a large diagram, the unwanted distortion will be more noticeable.
To prevent this type of distortion, we must avoid scaling as much as possible. This, in turn, requires a custom paper size defined for the content.