This project has moved. For the latest updates, please go here.

Code 128B

Jun 2, 2013 at 10:16 AM
Is it possibile generate a 128B code?
Thanks.
Coordinator
Jun 2, 2013 at 9:23 PM
Do you mean Code 128 with codeset B?
The codeset is automatically selected. If the value, which should be encoded, contains only digits, then the codeset C will be used, otherwise B.
Jun 3, 2013 at 6:20 PM
Edited Jun 3, 2013 at 6:21 PM
Yes
Ok.... but it is possible to force at codeset B with a value that contains only digits?
Thanks
Coordinator
Jun 3, 2013 at 6:45 PM
Not at the moment. It needs some modification at the sources.
What is your use case for such a requirement? Why can't you use codeset C?
Jun 3, 2013 at 7:08 PM
Hi,
the customer use barcode with codeset B on his sales recipient.
I am working on the mobile app that have to generate the same kind of barcode so I can not use the codeset C.
Thanks
Coordinator
Jun 6, 2013 at 5:48 AM
Ok, I understand. I will look into it and I think I can implement an encoding hint which gives you the ability to set a fixed codeset.
Jun 6, 2013 at 7:13 AM
Hi,
thanks a lot.
Coordinator
Jun 10, 2013 at 9:20 PM
Revision 86461 implements a new encoding hint which gives you the ability to force the use of codeset B for Code128.
Use EncodeHintType.CODE128_FORCE_CODESET_B or better use the class ZXing.OneD.Code128EncodingOptions with the BarcodeWriter.
Set the hint or the property "ForceCodesetB" to true.
Jun 11, 2013 at 5:17 PM
This revision is perfect for my aim :)…thanks!!!
Have you in mind to build the package on nuget?
Coordinator
Jun 11, 2013 at 5:27 PM
Like every previous version will the next release be available on nuget. Next release will include this changes, too.