Barcodes will not encode Zebra Programming ZPL Lot Numbers
I am attempting to create labels with barcodes that will encode the product code and lot number respectively. We have an existing system where, using Zebra Programming Language ZPL font, we can enter "$P" to encode the product code, or "@@272" to encode lot numbers. For the new labels I am creating, entering the ZPL variable "$P" or "@@272" will correctly populate and print the numbers, however the barcodes are not encoding anything. I am instead printing barcodes that encode "$P", and "@@272", which is obviously not helpful.
Does anyone know why a barcode would fail to pull the info it needs, while other field on a label pull that info correctly?
-
Not 100% what you mean, but have you declared the $P and @@ as field names using the ^FN command?
0 -
Hi Pete, where do I need to declare these using ^FN? Is that something that needs to be done in Barcode settings?
Either way, I don't think that is the problem, since the @@272 field will correctly display out lot number as text elsewhere on the label.
0 -
The ^FN command is the field name command in ZPL and is declared at the end of the command string that sets the font type and size/barcode type and size, field position etc. This would be declared ....<ZPL commands>....^FN<name of field> so I am guessing @@ in your case but I am not sure.
0
Please sign in to leave a comment.
Comments
3 comments