Change the page size on advanced PDF Template

There will be scenarios that smaller page size for taking the print. For example: PDF like item label, shipping label can have smaller pager size.

Solutions

  • Navigate to Customization Forms Advanced PDF/HTML Templates
  • Preferred Advanced PDF/HTML Template: Click Edit
  • Top Right Corner: Toggle Source Code
  • Source Code: Locate the code below from the PDF source code
    <body header=”nlheader” header-height=”10%” footer=”nlfooter” footer-height=”10pt”padding=”0.5in 0.5in 0.5in 0.5in” size=”Letter”>

    Note: To change the page size to A4, replace the size attribute from Letter to A4. The margins of the PDF Template can also be adjusted on this tag to fit the requirement.

OR

<body header=”nlheader” header-height=”10%” footer=”nlfooter” footer-height=”10pt”padding=”0.5in 0.5in 0.5in 0.5in” size= “4in 10in”>

OR


<body header=”nlheader” header-height=”10%” footer=”nlfooter” footer-height=”10pt”padding=”0.5in 0.5in 0.5in 0.5in” width=”4in” height=”10in”>

  • Click save.

Leave a comment

Your email address will not be published. Required fields are marked *