Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing code 128 subsets within barcode using ZPL

Status
Not open for further replies.

dhwachs

Technical User
Jun 21, 2007
5
US
I am trying to generate a Code 128 barcode using ZPL. The client expects the barcode to use subset C, however, the data they are printing contains 14 numeric bytes followed by two spaces so they shift to subset B immediately before the two spaces.

The ZPL I am trying to create this barcode is...

^BCN,214,Y,N,N^FD>;>831335678901234>: ^FS

Is that shift from subset C to subset B allowed? If so, am I doing it right because I don't see a difference in the barcode between the code above and the same code with the spaces taken out.

Any help is greatly appreciated.
 

Use >6 to change from subset C to B.

Like this:
^BCN,214,Y,N,N^FD>;>831335678901234>6 ^FS

>: is a start character, it's not for changing subsets.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top