NetSuite answers says to use this function to pri...
# suitescript
s
NetSuite answers says to use this function to print integrated shipping labels
Copy code
print_shipping_label( saleorderId,IFid)
however, this won't work in a Suitelet .These are the two options 1. is there a way to print the integrated shipping label from that record not using the above function 2. let the Suitelet return HTML with a script tag and try to load that function there
Copy code
var html = `<!DOCTYPE html><html>
<body>
      <p>Shipping label is printing .............</p>
   </body>
   <script type="text/javascript">
      window.addEventListener('load', (event) => {
  console.log('page is fully loaded');
});</script>
</html>`