Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code128 problem case : checkDigit = 57 #7

Open
GoogleCodeExporter opened this issue Sep 1, 2015 · 0 comments
Open

Code128 problem case : checkDigit = 57 #7

GoogleCodeExporter opened this issue Sep 1, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. generate barcode with code128
2. barcode number : 8231123578244317
3. generated invalid barcode 

What version of the product are you using? On what operating system?
r8

Please provide any additional information below.


solution
NKDCode128Barcode.m
_encodeChar withSet 

        case 'X':
            return @"11100010110";
/*
  cocoabarcodes skip Y : 57 
*/
        case 'Z':
            return @"11101100010";


plz insert
        case 'Y':
            return @"11101101000";

http://en.wikipedia.org/wiki/Code_128

Original issue reported on code.google.com by [email protected] on 16 Mar 2011 at 12:38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant