Spelt / ZXing.Delphi

ZXing Barcode Scanning object Pascal Library for Delphi VCL and Delphi Firemonkey
Apache License 2.0
479 stars 204 forks source link

Codabar support #54

Closed fiiQ closed 7 years ago

fiiQ commented 7 years ago

Hi Spelt

could you add one more barcode type support plz! its 'Codabar' there was app i made use this codabar barcode and to read it i use barcode reader device. and next, i want to make another barcode reader from smartphone

thanks alot

fiiq

Spelt commented 7 years ago

Hi

You have to translate it yourself, add tests and do a pull request so I can review it. This is how it works.

If you serious about it, I can supply you the raw automatic .net to pascal translation.

2017-04-26 14:39 GMT+02:00 fiiQ notifications@github.com:

Hi Spelt

could you add one more barcode type support plz! its 'Codabar' there was app i made use this codabar barcode and to read it i use barcode reader device. and next, i want to make another barcode reader from smartphone

thanks alot

fiiq

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Spelt/ZXing.Delphi/issues/54, or mute the thread https://github.com/notifications/unsubscribe-auth/AMEt1SW8hDqIH9Jl9_Bp_vz8E2nxJF0Oks5rzzrygaJpZM4NIzPq .

fiiQ commented 7 years ago

yup.. I'd like to try it :)

and the page you provide for C# source is not there anymore or moved

Spelt commented 7 years ago

Ok I will post the code in a couple of days.

2017-05-02 4:10 GMT+02:00 fiiQ notifications@github.com:

yup.. I'd like to try it :)

and the page you provide for C# source is not there anymore or moved

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Spelt/ZXing.Delphi/issues/54#issuecomment-298480244, or mute the thread https://github.com/notifications/unsubscribe-auth/AMEt1SqMehF2MP3701Xv9W_j_mjx0lB4ks5r1pCbgaJpZM4NIzPq .

Spelt commented 7 years ago

codabar.pascal.net.txt

Hi, here it is.

Take a good look at its base class so you can see some naming differences with this file. For example: DecodeHintType must be TDecodeHintType.

Anyway, success !

Spelt commented 7 years ago

And don't forget to add plenty of unit tests !

eugene4bond commented 5 years ago

Everyone who needs CodaBar in ZXing.Delphi. I builded new class library and attached them to Reader. Work fine in my projects.

ZXing.OneD.CodaBarReader.zip