General information
Category:
Coding, syntax & commands
Gerard,
I supplied the function, cuz you REALLY need it. You pass it a 12 digit number (as a string) and it returns a 16 (?) char barcode (including the checksum, leading, trailing and middle char).
If you read the code and the comments, you´ll see that it´s not the easiest coding.
I think someone said that Code128 doesn´t need a checksum char. This is NOT TRUE. It´s far easier to code than EAN13, the checksums are similar for all barcodes, MOD(sum of digits, something).
One last point: I use size 40 (points) for the EAN13 font. This is not exactly small for jewellery (actually rather BIG), but if your customer demands it...
Actually all EAN13 number ranges need to be bought and registered and are internationally valid for the registered company, only the range beginning with "2" is free to be used internally for vegetables,... (non packaged goods)
Cheers
G
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only