Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ZPL - how can we increase width of ^BC (Code 128) bar code

Am doing a formatting of barcode label. We are using Zebra Programming Language , ^BC (Code 128) bar code

As i increase the size of ^FD Field Data , the barcode width is increasing.

But how can i print a broader bar code for a fixed small length data.

I saw magnifying factor for some other types like UPC E barcode.

But i dont find any magnifying factor for ^BC code 128 barcode.

I put some space and it increase width but not effective while reading barcode

like image 711
zod Avatar asked Aug 08 '11 19:08

zod


People also ask

How do I center a barcode in Zpl?

There is no ZPL command to center a code. Your program that generates the ZPL would need to auto calculate the position based on the size of the code and position using the coordinates.


1 Answers

Look at the ^BY command

^XA
^FO100,100^BY7
^BCN,100,Y,N,N
^FD123456^FS
^XZ

The first parameter is the width of the barocdes after it. The default is 2, range is 1-10

To change the font, size, and placement of the text on the intrepretation line, use the ^A command

^XA
^FO100,100^BY7
^A0N,40,30^BCN,100,Y,N,N
^FD123456^FS
^XZ
like image 120
Ovi Tisler Avatar answered Sep 20 '22 19:09

Ovi Tisler