Fred67
3rd September 2004, 17:24
Hello,
I an testing the barcode printing through unix, we allready use BW print.
The purpose is to print barcode with jobs, and as far I know, BW can't be used by unix.

So,

I've downloaded software fonts (39 and 128) to test it.
I use the file above ti print.
After printing, I'm able to read le 39 code but not the 128. The scanner can read the 128 codes printed with BW.

Does anybody have an ID

The test file (on the template provided by baan intehe guide 1307

Barcode test

^[(25810X01234ABCD^[(3@
01234ABCD

^[(25501X*01234ABCD*^[(3@

csecgn
21st September 2004, 13:36
Printing barcode 128 is more complicate then code 39. Code 128 needs checksums (and changes some charcters if I remember correctly). If you are printing code128 form Unix you have to calculate the checksum by your own (or you are using external tools like ELP or fonts&more Cartridges for HP-Printers)

csecgn

Fred67
21st September 2004, 13:41
Thank you for the answer.
I did more test and since yesterday, I am able to print and read 128 barcodes.

But there are still problems :

Today I can read some 128 barcodes but not all, and it is very strange.

I use a fonction in a report script to calculate th barcode to print :
detail.1:
before.layout:
toto = cree.chaine.code.128("B", "44444444")
The first parameter is the subset and the second the letter to print.


Went I print "2222222222" (10 times) or "4444444444", I can read the barcode;
But when I print "3333333333" (10 times too), it is impossible to read the
barcode.

In an other way, when I print "444444" (6 times) or "44444444" (8 times), it
works fine.
But for "4444444" (7 times) there is a blank inside the barcode and it is
impossbile to read it.

For information, I use type05 field and it is very simple (for my tests):

Push
echo "\033(25801X$code"
Pop
exit 0

I tried with different sizes, with the same results.

Does anyone have some explanations ?