Printer template variables
I am trying to create a new template variable which includes Aisle and Shelf on the label (2x1 size label.
I've based my label on this code block which works just fine
N
q406
A35,5,0,3,1,1,N,"Our Company Name"
A35,30,0,3,1,1,N,"Our Company URL"
A35,55,0,3,1,1,N,"[element.shortName]"
A35,80,0,3,1,1,N,"[element.partNumber]"
B45,105,0,1,3,7,40,B,"[barcode]"
P1
M
N
My code block is:
N
q406
A35,5,0,3,1,1,N,"Our Company Name"
A35,30,0,3,1,1,N,"Our Company URL"
A35,55,0,3,1,1,N,"[element.shortName]"
A35,80,0,3,1,1,N,"[element.Aisle] [element.Shelf]"
B45,105,0,1,3,7,40,B,"[barcode]"
P1
M
N
Nothing is printed on the fourth line. I've also used lower case (element.aisle). Also tried element.aisle by itself without the shelf element. None of these worked.
Anywhere I can find a list of all the elements/variables for printer templates?
Any hints?
-
Official comment
Aaron Horn is correct here- as it turns out the tokens for Aisle, Shelf, and Bin do not currently function - however, our intention is to change this in a future update, in addition to still-under-consideration improvements and optimizations for label/barcode printing features.
Comment actions -
Hey Norm,
After years of Flex use, these are the only dynamic fields that I've ever seen available for the barcode generator:
element.preferredDisplayString
element.name
element.inventoryItem.name (this may not work. needs testing.)
element.shortName
element.shortHand
element.size
element.manufacturer
element.partNumber
element.manufacturersSerialNumber
element.stencil
barcode.label
barcodeHere's an explanation of the 2 mashup ones:
element.preferredDisplayString
elements used = [Size] [Item Name] ([Stencil])
example = 60" HD LED Display (TV61)
element.name
elements used = [Item Name] - [Size] ([Stencil])
example = HD LED Display - 60" (TV61)Hope that helps! Chime back if you still need assistance.
Aaron Horn
Consultant (endorsed by Flex)
aaronjhorn@gmail.com
615.335.1225
Please sign in to leave a comment.
Comments
3 comments