Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing UPC Code 128 Barcodes
Message
From
02/06/2008 03:28:04
 
 
To
02/06/2008 03:15:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01320633
Message ID:
01320894
Views:
14
Hi,

>thanks for your info. I already read your answer to Steve at home yesterday evening. So I was a bit surprised, that you use other characters than we do. We use Code128/EAN128 since roundabout 1997/98 with the code I posted and none of our customers told us that it wouldn't work anymore. Could it possibly be an old version that is still accepted by barcodereaders?

I don't think there was any previous implementation for CODE128 - nothing changed. Perhaps the codes you used were for some specific barcoding software? The values I quoted are the underlying EAN values used to calculate the checksum. The EAN value for 'A', for example, is 33 so when calculating the checksum for an ASCII string, as in the sample code, 32 must be subtracted for each character.

HTH,
Viv


>
>>>Hi Steve,
>>>
>>>I don't know exactly which barcode you are talking about. Is it really a UPC Code 128? I know UPS-, EAN- and Code 128, as well as UPC A (11 digits fix)and UPC E (7 digits fix). Whatsoever...
>>>
>>>Code128 is split into three variations: Code128 A, B and C.
>>>
>>>Startcode A: chr(192)
>>>Startcode B: chr(193)
>>>Startcode C: chr(194)
>>>Stopsign : chr(200)
>>
>>Don't think that's correct. The actual values are:
>>CODEA 103
>>CODEB 104
>>CODEC 105
>>
>>If you were including the start code in an ASCII string you would add 32 (i.e CODEB=136) to get the correct translation.
>>
>>Stop doesn't have a value as such since it uses 13 bars rather than 11 so can't normally map to a lookup table.
>>
>>Best,
>>Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform