# Report Designer GS1-128 Barcodes

**URL:** <https://forum.inductiveautomation.com/t/report-designer-gs1-128-barcodes/60444>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [June 7, 2022, 11:51am UTC](https://forum.inductiveautomation.com/t/report-designer-gs1-128-barcodes/60444 "2022-06-07T11:51:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Duffanator](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/duffanator/32/3560_2.png) [@Duffanator](https://forum.inductiveautomation.com/u/Duffanator)\
**Post date:** [June 7, 2022, 11:51am UTC](https://forum.inductiveautomation.com/t/report-designer-gs1-128-barcodes/60444/1 "2022-06-07T11:51:41Z")

</div>

In the Vision report designer, is there any way to make the barcode component GS1 compliant? If I try and put FNC1 at the beginning of the barcode data the component says Invalid Data. FNC1 at the end of variable length application identifiers also does not work.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 7, 2022, 3:31pm UTC](https://forum.inductiveautomation.com/t/report-designer-gs1-128-barcodes/60444/2 "2022-06-07T15:31:01Z")

</div>

You mention both Vision and reporting, so I’m not sure which one you meant, but I believe both are backed by the same open-source library, which has some escape characters mentioned here:

> <https://github.com/zxing/zxing/blob/master/core/src/main/java/com/google/zxing/oned/Code128Writer.java#L44>

The equivalent text representations would be:

```auto
    private static final char ESCAPE_FNC_1 = 'ñ';
    private static final char ESCAPE_FNC_2 = 'ò';
    private static final char ESCAPE_FNC_3 = 'ó';
    private static final char ESCAPE_FNC_4 = 'ô';

```

They appear to be incorrectly reflected in the text output, but I believe the actual barcode is correct:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/0/806891226ab4975fd5584a9893afdb1969799022.png)

---

<div class="post-metadata">

**Author:** ![Duffanator](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/duffanator/32/3560_2.png) [@Duffanator](https://forum.inductiveautomation.com/u/Duffanator)\
**Post date:** [June 7, 2022, 4:32pm UTC](https://forum.inductiveautomation.com/t/report-designer-gs1-128-barcodes/60444/3 "2022-06-07T16:32:44Z")

</div>

Awesome, that worked! Thank you very much, I could not figure out which character to put at the start of the barcode but this worked great:

```auto
SELECT *, 'ñ' + '01' + GTIN + '11' + PODate + '10' + SBDate as BarcodeData

```

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/5/7586c6c1ef3e86fcc757b6ce13b8fe3a88ac8b48.png)

---

<div class="post-metadata">

**Author:** ![tyler.smith](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@tyler.smith](https://forum.inductiveautomation.com/u/tyler.smith)\
**Post date:** [June 23, 2023, 6:54pm UTC](https://forum.inductiveautomation.com/t/report-designer-gs1-128-barcodes/60444/4 "2023-06-23T18:54:37Z")

</div>

I was able to get the barcode scanning correctly but the human readable still shows the 'ñ'. Can I ask how you overcame this?

---

<div class="post-metadata">

**Author:** ![Duffanator](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/duffanator/32/3560_2.png) [@Duffanator](https://forum.inductiveautomation.com/u/Duffanator)\
**Post date:** [June 26, 2023, 12:53pm UTC](https://forum.inductiveautomation.com/t/report-designer-gs1-128-barcodes/60444/5 "2023-06-26T12:53:54Z")

</div>

I turned off the human readable on the barcode component and just put a text component underneath that built out the same message WITHOUT the special character in front.

---

<div class="post-metadata">

**Author:** ![tyler.smith](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@tyler.smith](https://forum.inductiveautomation.com/u/tyler.smith)\
**Post date:** [June 26, 2023, 2:23pm UTC](https://forum.inductiveautomation.com/t/report-designer-gs1-128-barcodes/60444/6 "2023-06-26T14:23:10Z")

</div>

Thank you. After messing with it for a while - I determined this was likely what you did. Thanks for confirming.
