The type tabs.PageSettings is used to control how the contents of a tab is printed.
Type
Values of this type are objects. They contain the following properties:
footerCenterOptionalstring. The text for the page's center footer. Default: ''.footerLeftOptionalstring. The text for the page's left footer. Default: '&PT'.footerRightOptionalstring. The text for the page's right footer. Default: '&D'.headerCenterOptionalstring. The text for the page's center header. Default: ''.headerLeftOptionalstring. The text for the page's left header. Default: '&T'.headerRightOptionalstring. The text for the page's right header. Default: '&U'.marginBottomOptionalnumber. The margin between the page content and the bottom edge of the paper (inches). Default: 0.5.marginLeftOptionalnumber. The margin between the page content and the left edge of the paper (inches). Default: 0.5.marginRightOptionalnumber. The margin between the page content and the right edge of the paper (inches). Default: 0.5.marginTopOptionalnumber. The margin between the page content and the top edge of the paper (inches). Default: 0.5.orientationOptionalinteger. Page orientation: 0 means "portrait", 1 means "landscape". Default: 0.paperHeightOptionalnumber. The paper height in paper size units. Default: 11.0.paperSizeUnitOptionalinteger. The paper size unit: 0 = inches, 1 = millimeters. Default: 0.paperWidthOptionalnumber. The paper width in paper size units. Default: 8.5.scalingOptionalnumber. Page content scaling factor. 1 means 100% or normal size. Default: 1.showBackgroundColorsOptionalboolean. Whether the page background colors should be shown. Default: false.showBackgroundImagesOptionalboolean. Whether the page background images should be shown. Default: false.shrinkToFitOptionalboolean. Whether the page content should shrink to fit the page width (overrides scaling). Default: true.
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Acknowledgements
Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.