Barcode fixed width regardless of amount of data

Greetings

 

I'm working as label developer for the company I work. We use Bottomline Transform for our needs and I can make the labels graphically then use a BMP to ZPL converter to make it into ZPL code. However I'm trying another aproach and it's to make the label fully into ZPL code directly. The problem I have is that when I use ZPL barcode commands I can't find a way to make the barcode stick to a fixed width regardless of the amount of data.

 

The fowllowing code produce the graphic below:

Ignore the B:Arial.FNT that was for testing purposes.

 

^XA^MMT^PW600^LL0150^LS0

^FO20,52^AQB,25,15,^FDJOB^FS

^FO175,15^A@N,25,15,B:Arial.FNT^FDLLLLLL^FS

^FO293,15^A@N,25,15,BArial.FNT^FD003^FS

^FO530,110^A@N,15,10,B:Arial.FNT^FD555^FS^BY2,2,60^FT50,104,^BCN,,N,N,N,N^FD>:KKKKKKKKKKK^FS

^FO200,110^A@N,25,15,B:Arial.FNT^FDKKKKKKKKKKK^FS^BY60,60^FT516,105^BXN,6,200,0,0,1,~^FH\^FD888555^FS

^PQ1,0,1,Y^XZ

I want to make the barcode reach the red line on the 2nd graphic and stay the same even if the amount of data for the barcode changes. If I increase the ^BY# from 2 to 3 it will overlap with the 2d matrix. Is there any way to make the barcode adjust automatically to a fixed size regarless of the amount of data?

Anonymous (not verified)
Hi Onix,Unfortunately you

Hi Onix,

Unfortunately you cannot do that with just ZPL.  Your software can make educated guesses based on data size and change the magnification, but there is no ZPL parameter to set it to a fixed width.

Sorry,

Robin West

Related question:

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments