Menu

#9 Code 128 - disabling type C

closed
nobody
None
5
2009-02-18
2008-05-20
No

Hi,

First of all, thanks for making this wonderful library.

There's however 1 feature I'd like to see added: The application I'm working on requires the generated bar codes to be Code 128B, even if the bar code could be reduced in size by using 128C. In my local copy of the source I just commented out the 128C section, but this isn't a very nice solution. Some kind of XML attribute to disable the 128C generation would be a nice new addition to the project.

Kind regards,

Michiel Weggen
Minihouse, The customs company

Discussion

  • Nobody/Anonymous

    I do need the same feature: The possibility of choosing one specific codeset.
    I implemented it for myself, but I would love to see it in the official release! (otherwise it will be a little problematic for me if you release new versions). If you wish I can post the code I used.

     
  • Jeremias Märki

    Jeremias Märki - 2009-02-18
    • status: open --> closed
     
  • Jeremias Märki

    Jeremias Märki - 2009-02-18

    With the changes based on work by Thomas Jost, this is now possible in the code from CVS HEAD.

    On the Code128Bean: code128Bean.setCodeset(Code128Constants.CODESET_B);

    In XML: <codesets>B</codesets>

     

Log in to post a comment.