Center alignment of variable content in a Barcode Folgen

0
Avatar
Francesco Bivona

Hy everyone!

In .prn file, that i generate with the 'print on file' option, my barcode have a TAG value( example '_CODE_'). When i have to real print the .prn file, this TAG will by replace with specific dynamic content ( variable length of the barcode. example: '_CODE_' -----> '2547856987' )

There is any option that i can use to fix the barcode in it's center?

Something like ^FB command of ZPL Language? 

example:

^FT250,600^A0B,28,28^FB600,1,0,C^FH\^FDTEXT_TO_REPLACE^FS

I need to use the same layout for different custom TAG contents.

Of course center alignment option in 'Position' menù doesn't work, because after the print in .prn i have to replace the TAG.

 

Thanks for your support!

1 Kommentare

0
Avatar
Peter Thane
Aktionen für Kommentare Permalink

I do not believe so as you are using the ZPL code rather than BarTender to control it. In BarTender the field length is a a static item based on the length of the data in the barcode and where the field is on the label and so the values included in the .PRN file will be the X,Y position based on the start of the symbol in the sample label. To adjust this for different data lengths you would need to amend the X,Y coordinates in your ZPL code rather too

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.