SourceForge has been redesigned. Learn more.
Close

#4 How do I specify different Code128 formats?

v1.0
closed
nobody
5
2005-09-06
2005-09-01
No

In a project I am trying to implement the requirements
are to use Code128B for Alpha Numeric data and Code128C
for a serial numbers. Is there a way to specify which
one to use? Or are they not supported yet?

Discussion

  • Jeremias Märki

    Jeremias Märki - 2005-09-01

    Logged In: YES
    user_id=225352

    They are both supported but they are selected automatically
    based on the message that comes in. If you supply an even
    number of digits the encoder will automatically choose
    Code128C as this produces the smallest possible barcode. If
    there are alphanumeric characters in the message the encoder
    will use the B codeset as long as possible and only switch
    to codeset A if necessary. The only problem is when you have
    longer numbers intermingled with alphanumeric characters,
    then the encoder may switch between codesets B and C to
    minimize barcode size. There is currently no way to force
    the encoder to stay with a specified codeset.

    I hope that helps.

     
  • Robert Deeken

    Robert Deeken - 2005-09-06
    • status: open --> closed
     

Log in to post a comment.