Nitin Khairnar
Nitin Khairnar

Reputation: 31

ZPL - How we can control width of ^BC (Code 128) bar code

We are using Zebra Programming Language, ^BC (Code 128) bar code

currently using this command -

^XA ^FT230,140^BY2 ^A0N,40,30 ^BC,70,Y,N,N,A^FDABCDEFGH123456789012 ^FS ^XZ

it is printing barcode too long. so please help me to control width of the barcode and how we centre aligned barcode also.

Upvotes: 2

Views: 13895

Answers (1)

Jeka
Jeka

Reputation: 31

Change ^BY2 to ^BY1 for width

^FT230,140 defines the position being 230 dots from left and 140 from top, so to center, change 230 accordingly

Upvotes: 3

Related Questions