In NetSuite, some companies find it necessary to modify the margin sizes in Advanced Printing PDF/HTML Templates to better meet their operational or branding needs. These templates are used to format printed documents such as invoices, sales orders, purchase orders, and other transactional forms that are sent to customers or vendors.
1.Navigate to Customization > Forms > Advanced PDF/HTML Templates
2. Preferred Advanced PDF/HTML Template: Click Edit
3. Upper Right Corner: Toggle Source Code
4.Locate the first <body> tag
5. Modify the body tag to appear as follows:
<body header="nlheader" header-height="80pt" footer="nlfooter" footer-height="10pt" size="A4" margin-top="-30" margin-left="-20" margin-right="-20" margin-bottom="-20">
6. Click Save
Note:
Adjust accordingly if needed.
The sample code described herein is provided on an "as is" basis, without warranty of any kind, to the fullest extent permitted by law. Oracle + NetSuite Inc. does not warrant or guarantee the individual success developers may have in implementing the sample code on their development platforms or in using their own Web server configurations.
Oracle + NetSuite Inc. does not warrant, guarantee or make any representations regarding the use, resultsof use, accuracy, timeliness or completeness of any data or informationrelating to the sample code. Oracle + NetSuite Inc. disclaims all warranties, express or implied, and in particular, disclaims all warranties of merchantability, fitness for a particular purpose, and warranties related to the code, or any service or software related thereto.
Oracle + NetSuite Inc. shall not be liable for any direct, indirect, or consequential damages or costs of any type arising out of any action taken by you or others related to the sample code.