https://netsuiteprofessionals.com logo
#advancedpdf
Title
# advancedpdf
s

Scott Forbes

03/21/2022, 9:02 PM
Hello everyone! I am trying to figure out how to make some specific labels for our products and am curious if anyone is aware of a way to resize the label template. We use a 5 inch by 4.5 inch sticker currently and hand write the relevant information on them, but it would be amazing if we could instead print them!
c

creece

03/22/2022, 3:06 AM
If you have access to the label freemarker, then you can specify the size of the body. Suiteanswers should have an article on it if you search.
s

Scott Forbes

03/22/2022, 2:25 PM
Excellent, thank you!
n

NS Admin

03/22/2022, 9:07 PM
<body padding="0.2in 0.2in 0.2in 0.2in" size="Letter-LANDSCAPE" width="3.5in" height="1.0in"> <#if record.item?has_content> <!-- start items --><#list record.item as item> <div page-break-after="always"> <table style="width: 100%;">
We use this to print on zebra labels 3.5 x 1
s

Scott Forbes

03/28/2022, 5:36 PM
Awesome, your suggestions worked well! I am now struggling with trying to figure out how to get a background image onto the item label. Ideally I would like to resize the table itself to fit the blank space where we normally handwrite our information, but I’m struggling to get the image to show up at all. I can get it to display in the body, but anytime I try to fiddle with it using background-image it doesn’t show up. I’ve been trying to figure out/learn Freemarker to get it set up, and I’m just trying to figure out what I’m doing wrong.
n

NS Admin

03/28/2022, 7:37 PM
here is an example I have. If I recall, we had to put everything in the footer because the background image was being cut off with a table or something. <body padding="0.5in 0.5in 0.5in 0.5in" size="Letter" background-image="omittedNetsuiteURL" background-image-position="center" background-image-width="7in" background-image-height="8in" footer="footer" footer-height="44mm">
s

Scott Forbes

03/28/2022, 8:27 PM
Oh, that makes sense!!
4 Views