Under Review
Last Updated: 10 Mar 2025 16:00 by Matthew
Matthew
Created on: 28 Feb 2025 18:23
Category: Barcode
Type: Feature Request
1
Support for Code128 characters greater than code 127 in RadBarcode

The current implementation of the Code128 symbology class used with RadBarcode throws an InvalidSymbolException for characters with codes greater than 127.

As you can see from this table, there are many special characters in Code128 that have larger codes:

https://en.wikipedia.org/wiki/Code_128#Bar_code_widths

It would be useful to have these in applications which need to modify a reader device's behavior with barcode control characters in order to communicate properly.

6 comments
Matthew
Posted on: 10 Mar 2025 16:00
Yes, I think updating the documentation would be very helpful. And I agree, the title should change because this is not really a problem with the control itself.
ADMIN
Petar Mladenov
Posted on: 10 Mar 2025 11:29

Hi Matthew,

All right, can we agree we need to update our WPF documentation with more examples/table on these special control characters ? If yes, I am bout to change the title/description of the request here or close this one and log another one - emphasizing it is more related to documentational update that we need.

Regards,
Petar Mladenov
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Matthew
Posted on: 06 Mar 2025 16:49

Your example code is basically what I ended up doing. As far as I'm concerned, this works as-is.

However, I initially confused because I was attempting to use the wrong hex codes:

  • The hex codes for the control characters don't match anything else I can find (for example, the Wikipedia article I linked).
  • The documentation for the codes is in the "reporting" section of the site, not the documentation for the control. The actual RadBarcode documentation just cryptically notes that code 128 has "Control characters: ASCII 1-31,127".
ADMIN
Petar Mladenov
Posted on: 06 Mar 2025 10:02

Hi Matthew,

Can we have an example scenario for this request ?
For example if I set special character (FNC3) in code:

          this.barcode.Value = "\u00F9ABC123";
  <telerik:RadBarcode Height="100"
              Margin="5"                    
              HorizontalAlignment="Center" x:Name="barcode">
      <telerik:RadBarcode.Symbology>
          <telerik:Code128 SizingMode="Manual" />
      </telerik:RadBarcode.Symbology>
  </telerik:RadBarcode>
This will produce:

Can you post here a similar example ?

Regards,
Petar Mladenov
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Matthew
Posted on: 28 Feb 2025 19:44

I found this in documentation for a different part of the Telerik framework:

https://docs.telerik.com/reporting/report-items/barcode/1d-barcodes/1d-specifications

These codes seem to do what I want,are completely different from what I expect. I'm not going to think too hard about this discrepancy, but I'll leave this feature request here in case someone who knows more about barcodes than I do wants to figure out what's the correct behavior.

Matthew
Posted on: 28 Feb 2025 18:34
(The Code128 class also supports 244-255, which still excludes some characters in the linked table.)