Yes it's a pretty simple template, I'll try upload...
# general
m
Yes it's a pretty simple template, I'll try upload the file
👍 1
Copy code
<?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>
Excuse the formatting, I'm on mobile.
m
No problem. This is a huge help. Thanks again. I owe you.
Does your add button script replace the native print label button? Or do you have 2 print buttons?
This is great, btw. Exactly what I am trying to do.
m
It's a seperate button. I think I hid the native one on the form
m
Thanks again for your help!