# CODE128 Barcode..always decoding a D when scanned?

**URL:** <https://forum.inductiveautomation.com/t/code128-barcode-always-decoding-a-d-when-scanned/4299>\
**Category:** Ignition\
**Created:** [April 16, 2012, 1:46pm UTC](https://forum.inductiveautomation.com/t/code128-barcode-always-decoding-a-d-when-scanned/4299 "2012-04-16T13:46:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cswett](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@cswett](https://forum.inductiveautomation.com/u/cswett)\
**Post date:** [April 16, 2012, 1:46pm UTC](https://forum.inductiveautomation.com/t/code128-barcode-always-decoding-a-d-when-scanned/4299/1 "2012-04-16T13:46:14Z")

</div>

When printing a CODE 128 barcode, everytime we scan the printed labels the very first digit is decoded as a D?

Are we missing something or is this normal?

For example, I input the data for the CODE128 barcode 1234

When scanned, we get D1234

Perhaps we are missing a setting on our scanner itself?

Thoughts?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [April 17, 2012, 1:52pm UTC](https://forum.inductiveautomation.com/t/code128-barcode-always-decoding-a-d-when-scanned/4299/2 "2012-04-17T13:52:29Z")

</div>

I’m not seeing the same thing, so I’m guessing there’s something in the scanner.

I’d check to make sure that the scanner is set up for a straight CODE 128 and not a variant, like GS1-128

Some scanners can send a “prefix” string ahead of whatever it reads.

There was something else in the back of my brain, but I can’t quite get it to the front of my brain to tell you what it was. ![:scratch:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/76d1620bec252bfac07050c889ff5a91dc8a9c25.gif ":scratch:")

---

<div class="post-metadata">

**Author:** ![nathan](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@nathan](https://forum.inductiveautomation.com/u/nathan)\
**Post date:** [April 17, 2012, 2:02pm UTC](https://forum.inductiveautomation.com/t/code128-barcode-always-decoding-a-d-when-scanned/4299/3 "2012-04-17T14:02:03Z")

</div>

The Yellow Jacket USB scanner I was playing with had a “programming” bar code book that would allow things like automatic prefixes and suffixes (like typing “enter” or “tab” after each scan). It might be a matter of programming or resetting the scanner itself.
