zhangyu9050 / cocoabarcodes Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/cocoabarcodes
Automatically exported from code.google.com/p/cocoabarcodes
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
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
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
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
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
With the updates from issue #2 I am still getting an error that the
Info-Barcode_Generator__Upgraded_.plist
file does not exist. What should be put in this file?
Original issue reported on code.google.com by [email protected]
on 31 Jan 2011 at 1:38
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
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
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
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:
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.