Code 128 (dhl) barcode and something missing in bars - barcode

Currently I'm creating dhl label using zpl command. I'm new to zpl commands.
I have used BC - zpl command for code 128 barcode. This is my code:
^BCN,,N,N^FD>:2LDE44536+99000900153004^FS
My problem: Above zpl code create barcodes, but when I check this barcode
http://barcode.tec-it.com/
value : 2LDE44536+99000900153004
my barcode bars look different.
Please guide me right format use here for get right barcode.
Thanks in advance

Have you scanned both codes to compare data? Check the manual to be sure, but the >: is specifying subset B (Normal Alpha Numeric). Your + symbol may be getting dropped.
ZPL Manual

Related

Cannot read barcode produced by ZPL Code 39

I am trying to print a barcode (code 39) to a label (2" x .75") on a Zebra ZT610 (600 DPI) printer, but none of our 3 barcode scanners will decode the barcode. We are encoding a 14-character alphanumeric value. I created the label using ZebraDesigner, and passed the ZPL to the printer using Zebra Setup Utilities. I also use Labelary to check the label, and change parameter values.
I have tried every conceivable combination of the ^BY and ^B3 commands I can think of, that would fit on the label, including shortening the data for testing (encode only 8 characters). Here is the latest ZPL with a barcode that should be well within the label's printable area, but scanners will not read it:
^XA~JSN^LT0^MNM^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ
^XA^MMT^PW1200^LL0449^LS0^XZ
^XA^BY4,3,143^FT82,192^B3N,N,,N,N
^FD2116A83034137M^FS
^FT39,258^AAN,45,25^FH^FD2116A83034137M^FS
^PQ1,0,1,Y^XZ
Unreadable label image:
We also have an old Zebra R110Xi4 (203 DPI) printer that we also print code 39 barcodes to, on the same labels. The barcodes on these labels are perfectly readable by the scanners. This is the ZPL for it:
^XA~JSN^LT0^MNM^MTT^PON^PMN^LH0,0^JMA^PR8,8~SD30^JUS^LRN^CI0^XZ
^XA^MMT^LL0102^PW379^LS0^XZ
^XA^BY1,3,40^FT50,54^B3N,N,,N,N
^FD2116A83034137M^FS
^FT0,73^ABN,11,7
^FD2116A83034137M^FS
^PQ1,0,1,Y^XZ
Are there any suggestions as to what I might try next?
Thank you!

zpl how do i inset de barcode value inside the barcode?

I have a client who wants their barcode to look like this:
it currently looks like this:
^FX^A0N,40,30^BY1^BCN,90,Y,N,N,D
^FD5057913162382^FS
i have tried to change the type of barcode however this makes the barcode unreadable.
^A0N,40,30^BY3^B9N,90,Y,N,Y
^FD5057913162382^FS
Does anyone have an idea on how to achieve a barcode that looks like (img 1)?
Your first example prints a Code 128 barcode using the ^BC command and your second example prints a UPC-E barcode using the ^B9 command.
The image at the top, however, shows an EAN-13 barcode. This means that you should use the ^BE command.
I tried this on my SATO CLNX printer (running a ZPL emulator)
^XA
^FO100,100^BY3
^BEN,100,Y,N
^FD5057913162382^FS
^XZ
This is the printout:
enter image description here

Is there a way to override the interpretation line with an arbitrary value in ZPL

I have looked at the Zebra documentation for ZPL as well as searched here on SO to no avail. My scenario is this, I wish to print a barcode on a label using a Zebra printer and ZPL print language but instead of the interpretation line (the human-readable bit below the barcode) being the human-readable version of the barcode I would like it to be a totally different value, e.g. a persons name.
This is the ZPL II guide I am using for reference: http://www.ypsylon.com/download/ZPLII_Guida.pdf
You cannot override the text that prints as part of the interpretation line (aka human readable), however you can turn the interpretation line off and add second text field:
^XA
^BY3,3,146^FT52,166^BCN,,N,N
^FD>:your_barcode_data_here^FS
^FT241,309^A0N,28,28^FH\^FDyour_text_data_here^FS
^PQ1,0,1,Y^XZ
To turn off the human readable set the 3rd parameter of the ^BC command to N.
You can play with the position of the text field to get the desired effect.
Check page page 89 of the current manual for more info.

ZPL PDF-417 barcode symbol generates with extra spaces on Intermec PM4i

We are designing a label to be printed from SAP to an Intermec PM4i printer in ZSim mode. The printer is using the Generic Text driver, meaning that we can send raw ZSim-compatible ZPL code to the printer.
The content of the PDF417 barcode must be one string exactly 100 characters in length. This is my customer's requirement, not mine.
We developed an application that generates the proper ZPL code with all the characters in their proper position. However, when validating the printed barcode with a scanner using Motorola's 123Scan2 utility, all our data is there but we keep getting 6 additional spaces at around position 70 of the string, resulting in a string 106 characters long.
We also sent the ZPL code to the printer from a text editor and observed the same results. Below code snippet is what we are using to generate the barcode.
^XA
^MMT
^PW609
^LL0203
^BY2,4^FT331,111^B7N,4,0,,,N
^FH\^FDMN23012635105 A MN239598U205 QDR-032565.14812 H030^FS
^XZ
I have also experimented with sending the spaces as hex and that actually resulted in more extra spaces.
I am not sure what we are missing. Any ideas or suggestions will be greatly appreciated.

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
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
I know it's too late to answer your question but I thought it might help others.
I faced the same issue and solved by this trick where I set BC mode to A (for automatic).
example:
^BY3,3,55^FT12,172^BCN,,Y,N,,A
^FD123456789^FS
this resulted a better barcode width for me than when mode is set to its default value.
Note: still you can change BY to suit your needs.
You can refer to the documentation for more information zpl BC command

Resources