MarKco
22nd September 2010, 15:05
Hello to everyone,
I'm printing from BaaN with a ZPL printer, a Zebra TLP2824-Z.
Since I have to print a barcode in EAN128 code, I read the ZPLII manual and came out with this line:
^FO40,180^BCR,80,Y,N,Y,D^FD>9(241)AF95537A-04-11801^FS
Here we have a barcode, with UCC/EAN mode enabled (the "D"), Start Code A, and a text ((241)AF95537A-04-11801).
The issue is that, when I print this barcode, the one I get is shorter, because it stops right before the first score (I mean "-").
It's just the same output as if I had written ^FO40,180^BCR,80,Y,N,Y,D^FD>9(241)AF95537A^FS
I just can't figure out what I can do in order to print the whole barcode: I tried changing the Start Code, changing the Y,N,Y,D flags with different ones, but nothing worked. I would need something like an escape sequence, in order to let the Zebra print the label without stopping at the first -.
Does anybody here have any suggestion about that?
Thank you in advance
mark_h
22nd September 2010, 15:58
Does EAN128 support the "-" character? I know we use 3 of 9 and some of the characters I have to convert before we send it to the barcode software. I do not know EAN 128 so I thought I would check.
MarKco
22nd September 2010, 16:13
Does EAN128 support the "-" character? I know we use 3 of 9 and some of the characters I have to convert before we send it to the barcode software. I do not know EAN 128 so I thought I would check.
This is what I also thought, but it seems that the whole US-ASCII (http://www.columbia.edu/kermit/ascii.html) set should be supported. At least, this is what I read here (http://barcode4j.sourceforge.net/2.0/symbol-ean-128.html).
Here (http://www.bokai.com/barcodeactivex/allbarcodes.htm)there is also a EAN128 barcode with an - in it, so I can't figure out why I just can't make it.
The best thing would be - maybe - to find an online tool to have ZPL code of a specific barcode just setting the barcode type and the code itself. But I never found anything like that...
bdittmar
22nd September 2010, 16:34
Hello to everyone,
I'm printing from BaaN with a ZPL printer, a Zebra TLP2824-Z.
Since I have to print a barcode in EAN128 code, I read the ZPLII manual and came out with this line:
^FO40,180^BCR,80,Y,N,Y,D^FD>9(241)AF95537A-04-11801^FS
Here we have a barcode, with UCC/EAN mode enabled (the "D"), Start Code A, and a text ((241)AF95537A-04-11801).
The issue is that, when I print this barcode, the one I get is shorter, because it stops right before the first score (I mean "-").
It's just the same output as if I had written ^FO40,180^BCR,80,Y,N,Y,D^FD>9(241)AF95537A^FS
I just can't figure out what I can do in order to print the whole barcode: I tried changing the Start Code, changing the Y,N,Y,D flags with different ones, but nothing worked. I would need something like an escape sequence, in order to let the Zebra print the label without stopping at the first -.
Does anybody here have any suggestion about that?
Thank you in advance
Hello,
as attachment you'll find ZPL II for BC128.
As i see from your ZPL statement :
Barcode128
Rotate 90 degree clockwise
High 80
Print interpretation line
Don't print interpr. line above
UCC check digit = yes
---> Mode D ? (N=no mode selected, U=UCC case mode)
Special conditions if UCC case mode is selected:
Excess digits (above 19) in ^FD or ^SN will be eliminated ...... !
Regards
MarKco
22nd September 2010, 16:49
Hello,
as attachment you'll find ZPL II for BC128.
As i see from your ZPL statement :
Barcode128
Rotate 90 degree clockwise
High 80
Print interpretation line
Don't print interpr. line above
UCC check digit = yes
---> Mode D ? (N=no mode selected, U=UCC case mode)
Special conditions if UCC case mode is selected:
Excess digits (above 19) in ^FD or ^SN will be eliminated ...... !
Regards
Uhm... I think I'm missing something.
I set the "D" mode because I had been trusting Zebra's programming guide, which says:
m = mode Accepted Values:
N = no selected mode
U = UCC Case Mode
• More than 19 digits in ^FD or ^SN are eliminated.
• Fewer than 19 digits in ^FD or ^SN add zeros to the right
to bring the count to 19. This produces an invalid
interpretation line.
A = Automatic Mode
This analyzes the data sent and automatically
determines the best packing method. The full ASCII
character set can be used in the ^FD statement — the
printer determines when to shift subsets. A string of
four or more numeric digits causes an automatic shift to
Subset C.
D = UCC/EAN Mode (x.11.x and newer firmware)
This allows dealing with UCC/EAN with and without
chained application identifiers. The code starts in the
appropriate subset followed by FNC1 to indicate a
UCC/EAN 128 bar code. The printer automatically
strips out parentheses and spaces for encoding, but
prints them in the human-readable section. The printer
automatically determines if a check digit is required,
calculate it, and print it. Automatically sizes the human
readable.
Default Value: N
Anyhow if I change it with a "U" what I get is a barcode without parenthesis and withouth scores ("-"). I'd like one having them both! I think it's because with the "U" mode I get a Code128, of which the EAN128 I'm looking for is part.
Anyway thank for the attachment, it's a useful companion!