---
schema_version: "1"
id: 388a20e492fcae925558a589e3fe772d86e57a42b5bf9dda4a210e78b952f5ae
title: Customize Page Dimensions and Styles in Print Layout
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/260-0-0/rn_retail_vs_code_customize_page_dimension_style.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_retail_vs_code_customize_page_dimension_style.htm&release=260&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e4f0d2e8cfb87929918ca532f7bd798b91894f6460496e52ab8303cdecf309c2
description: Design custom page dimensions and override default formatting by using the styles node. The style designed for a paragraph applies to all paragraph elements in the print layout. You can set the style name to paragraph, table, tand headings. Specifying attributes such as font size, margin, bold, and italics is optional.
products:
  - Cross Cloud Packages Solutions
release: "260"
---
# Customize Page Dimensions and Styles in Print Layout

Design custom page dimensions and override default formatting by using the styles node. The style designed for a paragraph applies to all paragraph elements in the print layout. You can set the style name to paragraph, table, tand headings. Specifying attributes such as font size, margin, bold, and italics is optional.

**Where:** This change applies to Lightning Experience in Enterprise, Unlimited, Einstein 1, and Agentforce 1 editions with Consumer Goods Cloud.

**How:** Adapt PrintLayout V2 contracts with page dimensions or custom sizes with these standard formats - A4 (default), A5, EXECUTIVE, FOLIO, LEGAL, LETTER, and TABLOID. You can now define pageSize with an array of width and height in points, where 1 inch = 72 points. For example, `pageSize="[216, auto]"`.

Customize or modify the default formatting in your print layouts with the `styles` node.

```
...
  <ReportLayout pageMargins="[5,5,5,5]" pageSize="[216, auto]">
    <styles>
      <style name="paragraph" fontSize="12" bold="true" />
      <style name="tableBody" margin="[0,2,0,2]" italics="true" />
    </styles>
...
```

The styles node configuration isn’t supported for Bluetooth thermal printers.

![Sample PDF output from a print layout contract defined using new rules.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-salesforce_release_notes-260-0-0-production-enus/ba62a63b-6cd1-440e-8d24-e867afab0363/salesforce_release_notes/images/rn_retail_cg_printlayout_output.png)

#### See Also

- [Salesforce Help: Designing Document Layout](https://help.salesforce.com/s/articleView?id=ind.modeler_vscode_printlayout_reportlayout.htm&language=en_US)