Hello all. How do I print the barcode for the tran...
# advancedpdf
d
Hello all. How do I print the barcode for the transaction in the Advanced Template?
c
<macro id="nlfooter"> <table class="footer" style="width: 100%;"><tr> <td><barcode codetype="code128" showtext="true" value="${record.tranid}"/></td> </tr></table></macro>
d
Hm, I am guessing the barcode itself does not show up on the preview page?
c
It does on the one that I clipped out the code snippet above from. Let me look and see what other references the code shows.
(aside from the CSS reference)
Check the <body> to see if it has something similar to <body header="nlheader" header-height="12%" footer="nlfooter" footer-height="20pt" padding="0.5in 0.5in 0.5in 0.5in" size="Letter"> And make sure the macro noted above is in a <macrolist></macrolist> nesting.
d
So it does show on the actual transaction, but it doesn't show on the Preview page. I just didn't want to update the one that are currently live since I don't have sandbox.
Barcode not showing up on the Preview page threw me off, but I am glad that it works. Thanks for the help.
c
Anytime. I know your pain re a Sandbox, as my current employer doesn't have one either. "Real Admins test in Production" is my way of life, sadly.
d
They just don't see it as an investment worth making to make the lives easier. Can't be helped I suppose.