Re: Drawing barcodes
Re: Drawing barcodes
- Subject: Re: Drawing barcodes
- From: Jeff LaMarche <email@hidden>
- Date: Mon, 26 May 2008 23:58:41 -0400
Rick:
Several years back, I wrote an open source set of Objective-C classes
for generating barcodes. You don't specify what symbology you need,
but if it's one of the following:
Code 3 of 9
Extended Code 3 of 9
Code 128
Interleaved 2 of 5
Industrial 2 of 5
Codabar
PostNet
Modified Plessey
Modified Plessey (hexadecimal)
UPC-A
UPC-E
EAN-13
EAN-8
Royal Mail Barcode (also known as RM4SCC or CBC)
Planet Barcode
Japan Post Barcode
Then you should be able to use use these classes, and they're pretty
straightforward. I haven't worked with these in a while, but I just
compiled and tested the test application and it appears to work. The
font support for several of the barcodes is not strictly compliant,
since OCR-A is not available and I didn't feel like licensing a font
for an open source project, but if you have OCR-A or another font
you'd rather use, it's a relatively easy change.
Anyway, you can find the source code here:
http://innerloop.biz/code/Barcode Generator Project.zip
There are no limitations on using these classes in your apps. There is
a fully functional Cocoa program that should get you started, and
there is also a moderately complete set of headerdoc-generated
documentation in the /doc folder.
Let me know if you have any problems using it.
Jeff
On May 26, 2008, at 11:27 PM, Rick Mann wrote:
Hi. I need to add barcodes to my app's printed output. I figure
there are a couple ways to do this (at least), one being using a
barcode font, the other being drawing the bars directly.
Does anyone have any suggestions?
TIA,
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden