What styling is used in the basic pdf print templa...
# ask-stanley-ai
n
What styling is used in the basic pdf print template
c
AI generated answer (using internal Slack threads):
The basic PDF print template in NetSuite uses CSS for styling. Here is an example of the code used in the template:
Copy code
xml
<?xml version="1.0"?>
<!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">
<pdf>
    <head>
       <style type="text/css">
           h1 {
               font-family: sans-serif;
               font-weight: bold;
               font-size: 9mm;
               line-height: 100%;
               text-align: center;
               align: center;
           }

           h2 {
               margin-top: 2mm;
               font-size: 4.5mm;
               line-height: 100%;
               font-weight: normal;
               text-align: center;
               align: center;
           }
       </style>
    </head>

    <body width="89mm" height="28mm" padding="3mm">
        <table>
            <tr>
                <td height='25mm' valign='middle'>
                    <h1>${record.itemid?upper_case}</h1>
                    <h2>${record.salesdescription?upper_case}</h2>
                </td>
            </tr>
        </table>
    </body>
</pdf>
This template uses CSS to style the
h1
and
h2
tags. The
h1
tag is styled with a sans-serif font, bold weight, 9mm font size, 100% line height, and centered alignment. The
h2
tag is styled with a 2mm top margin, 4.5mm font size, 100% line height, normal weight, and centered alignment. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.809120238
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.805156112
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.804827809
Please provide your feedback on this answer.