Giter VIP home page Giter VIP logo

cocoabarcodes's People

Watchers

 avatar

cocoabarcodes's Issues

Code128 problem case : checkDigit = 57

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

Doesn't compile in 10.6

Throws build error: Jam is deprecated and has been removed; targets that
use Jam must be upgraded to native targets. For more information on doing
this, consult the Xcode documentation.

Looks like this project file is pretty old... might need some refreshing so
that it compiles error-free on current-day Xcode.

Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 2:26

EAN13 Barcodes beginning with 2 are wrong

The parity selection code in NKDEAN13Barcode.m (lines 99 and following is 
incorrect: for '2' 1,2,5 should return odd parity, not 1,3,4 (which is the 
correct result for '4').

kind regards
graham

Original issue reported on code.google.com by [email protected] on 21 Jun 2010 at 11:53

NKDCode128Barcode Problem

I have NKDCode128Barcode generation problem.

The init with content "4091873".
The result I got is "04091873" using scanner. 
Left-pad with zero if odd number of characters. 

How can I fix the problem?

My code is below.


NKDCode128Barcode *barcode = [NKDCode128Barcode alloc];
barcode = [barcode initWithContent:@"4091873" printsCaption:NO];

[barcode setBarWidth:2.0];
[barcode setWidth:180.0];
[barcode setHeight:61.0];

NSLog(@"%@",[barcode description])
UIImage *theImage = [UIImage imageFromBarcode:barcode];

Original issue reported on code.google.com by [email protected] on 29 Feb 2012 at 1:49

Zero at the beginning if the number is odd


Using NKDCode128Barcode and init with content "12345".

The result I got is "012345" using scanner. 

Left-pad with zero if odd number of characters. How can I avoid this?

Original issue reported on code.google.com by [email protected] on 21 Feb 2012 at 4:20

Source code

Hi, Where I can found the source code for Cocoa?

Is it possible to add the cocoa-barcodes (App / Lib) to developing application? 


Original issue reported on code.google.com by [email protected] on 13 Jun 2012 at 7:15

NKDUPCEBarcodes crashes on 11 character string

What steps will reproduce the problem?
1. Pass an 11 character content string to NKDUPCEBarcode initWithContent: 
(NSString *)inContent
       printsCaption: (BOOL)inPrints

What is the expected output? What do you see instead?

It crashes.

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

using netshade's fork for iPhone on github

Please provide any additional information below.

The problem is that it tries to convert from UPCA to UPCE using the UPCAToUPCE 
method. Problem is that it is a class method not an instance method so it needs 
to be called on the class not the instance.

The fix is to change this code in NKDUPCEBarcode.m
    if([[self content] length] == 11)
        [self setContent:[self UPCAToUPCE:[NSString stringWithFormat:@"%@%c", [self content], [self checkDigit]]]];

to this:

    if([[self content] length] == 11)
        [self setContent:[NKDUPCEBarcode UPCAToUPCE:[NSString stringWithFormat:@"%@%c", [self content], [self checkDigit]]]];



Original issue reported on code.google.com by [email protected] on 9 Feb 2011 at 6:49

Getting Bug

What steps will reproduce the problem?
1. After Including all files from source.
2. Added to the newly created cocoa application to developed as module or 
library.
3. Run time error.

What is the expected output? What do you see instead?
To execute the framework. Getting bug as 'Lexical or Preprocessor Issue' - 
"NKDBarcodeImageView.h file not found"

What version of the product are you using? On what operating system?
MAC OSX 10.7.4 and XCode 4.3.2

Please provide any additional information below.
Is there a sample cocoa or mac application using the cocoa barcodes.

Original issue reported on code.google.com by [email protected] on 16 Jun 2012 at 12:18

Code 128 does not seem to work

Attempted to output some Code 128 barcodes and the scanner I'm using (Symbol 
LS1203) does not 
recognize it.  Samples were created using Barcode Generator and not my own app. 
 Other codes 
(Code 3 of 9, UPC-A) are working with the scanner, so I'm reasonably sure it's 
the output.  I'm using 
OS X 10.5.5.

I've attached a file with a sample of Code 128 from the Symbol manual and two 
Code 128 samples I 
created with the generator that match it.  I can scan the Symbol code with both 
the LS1203 and my 
CueCat, but neither will recognize the codes created by the generator.

This isn't an issue for me as Code 3 of 9 will work better for my situation but 
I thought it worth 
reporting.


Original issue reported on code.google.com by [email protected] on 29 Oct 2008 at 4:36

Attachments:

Build error on 10.6

What steps will reproduce the problem?
1. Attempt build on 10.6

What is the expected output? What do you see instead?
Response:
  Check dependencies
  Jam is deprecated and has been removed; targets that use Jam must be upgraded to native targets. For more information on doing this, consult the Xcode documentation.


I'm simply providing the feedback, since the source was available (thank you).

I'm a novice with cocoa so I may have the xcode settings wrong.

Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 12:42

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.