The client would like to print the item label based on the quantity ordered in the sales order
<?xml version=“1.0”?>
<!DOCTYPE pdf PUBLIC “-//big.faceless.org//report” “report-1.1.dtd”>
<pdf>
<pdfset>
<head>
<link name=“NotoSans” type=“font” subtype=“truetype” src=“${nsfont.NotoSans_Regular}” src-bold=“${nsfont.NotoSans_Bold}” src-italic=“${nsfont.NotoSans_Italic}” src-bolditalic=“${nsfont.NotoSans_BoldItalic}” bytes=“2” />
<#if .locale == “zh_CN”>
<link name=“NotoSansCJKsc” type=“font” subtype=“opentype” src=“${nsfont.NotoSansCJKsc_Regular}” src-bold=“${nsfont.NotoSansCJKsc_Bold}” bytes=“2” />
<#elseif .locale == “zh_TW”>
<link name=“NotoSansCJKtc” type=“font” subtype=“opentype” src=“${nsfont.NotoSansCJKtc_Regular}” src-bold=“${nsfont.NotoSansCJKtc_Bold}” bytes=“2” />
<#elseif .locale == “ja_JP”>
<link name=“NotoSansCJKjp” type=“font” subtype=“opentype” src=“${nsfont.NotoSansCJKjp_Regular}” src-bold=“${nsfont.NotoSansCJKjp_Bold}” bytes=“2” />
<#elseif .locale == “ko_KR”>
<link name=“NotoSansCJKkr” type=“font” subtype=“opentype” src=“${nsfont.NotoSansCJKkr_Regular}” src-bold=“${nsfont.NotoSansCJKkr_Bold}” bytes=“2” />
<#elseif .locale == “th_TH”>
<link name=“NotoSansThai” type=“font” subtype=“opentype” src=“${nsfont.NotoSansThai_Regular}” src-bold=“${nsfont.NotoSansThai_Bold}” bytes=“2” />
</#if>
<#assign color=”#48A6BC”>
<style type=“text/css”>
* {
<#if .locale == “zh_CN”>
font-family: NotoSans, NotoSansCJKsc, sans-serif;
<#elseif .locale == “zh_TW”>
font-family: NotoSans, NotoSansCJKtc, sans-serif;
<#elseif .locale == “ja_JP”>
font-family: NotoSans, NotoSansCJKjp, sans-serif;
<#elseif .locale == “ko_KR”>
font-family: NotoSans, NotoSansCJKkr, sans-serif;
<#elseif .locale == “th_TH”>
font-family: NotoSans, NotoSansThai, sans-serif;
<#else>
font-family: NotoSans, sans-serif;
</#if>
}
</style>
</head>
<body style=“padding-top:30px; padding-right: 0in; padding-bottom:20px; padding-left:5px;” size=“Letter”>
<table style=“width: 100%; height: 100%;”>
<#list record.imagePrint?chunk(3) as chunk>
<tr>
<#list chunk as imagePrint>
<td>
<#if imagePrint.id1!=””>
<table>
<tr>
<td>
<#if imagePrint.url1 == “”>
<img src=“https://3890063.app.netsuite.com/core/media/media.nl?id=16576&c=3890063&h=5vta5bQOwUUSNY1DzUxKzKMFchRt_nTKda6nyo0ttB4bhIH5″ width=“90px” height=“90px” />
<#else>
<img style=“margin-top:0px;” src=“${imagePrint.url1}” width=“90px” height=“90px” />
</#if>
</td>
<td>
<table style=“height:10px;width:100px;padding-left:10px”>
<tr><td style=“text-align:center”><p style=“text-align:center;font-size:11pt;”>Product ID:</p></td></tr>
<tr><td border=“1 px solid black” style=“text-align:left”><p style=“text-align:left;font-size:11pt;”>${imagePrint.id1}</p></td></tr>
<tr><td style=“text-align:center”><p style=“text-align:center;font-size:11pt;”> Size:</p></td></tr>
<#if imagePrint.size1 == “”>
<tr><td style=“text-align:center”><p style=“text-align:center”> </p></td></tr>
<#else>
<tr><td style=“text-align:center”><p style=“text-align:center;font-size:11pt;”>${imagePrint.size1}</p></td></tr>
</#if>
<tr><td style=“text-align:left”><barcode codetype=“code128” showtext=“false” value=“${imagePrint.id1}” style=“width: 80px; height: 20px;align:left;margin-left:-5px;”></barcode></td></tr>
<tr><td style=“text-align:center; width: 80px; height: 24px;”></td></tr>
</table>
</td>
</tr>
</table>
<#else>
<table>
<tr>
<td>
<img src=“https://3890063.app.netsuite.com/core/media/media.nl?id=16576&c=3890063&h=5vta5bQOwUUSNY1DzUxKzKMFchRt_nTKda6nyo0ttB4bhIH5″ width=“80px” height=“80px” />
</td>
<td>
<table>
<tr><td style=“text-align:center”><p style=“text-align:center”> </p></td></tr>
<tr><td style=“text-align:center”><p style=“text-align:center”> </p></td></tr>
<tr><td style=“text-align:center”><p style=“text-align:center”> </p></td></tr>
<tr><td style=“text-align:center”><p style=“text-align:center”> </p></td></tr>
<tr><td style=“text-align:center”><p style=“text-align:center”> </p></td></tr>
</table>
</td>
</tr>
</table>
</#if>
</td>
<td></td>
<td></td>
</#list>
</tr>
</#list>
</table>
</body>
</pdfset>
</pdf>