Problem

The layout printout with the barcode can no longer be scanned. The barcode itself is generated using barcode font in Word.

Solution

Word can easily generate trailing characters after the barcode that are not even from the original numbers. 



Try adding some characters before and after the barcode to prevent this situation. Only change the text field in the barcode field to barcode font, not the whole line or text box.
To do this, follow these steps:
  1. Delete the original text barcode textbox.
  2. Create a text like  **A**
  3. Highlight *A* in the middle, and use "Developer" > "XML Mapping Pane" to insert your barcode field as plain text.
  4. As a result, you will get a line that looks like *[BarcodeField]*
  5. Highlight ONLY [BarcodeField], and change it to barcode font so that it displays like the barcode.
  6. In this case, it will be very clear that there are no leading or trailing tabs, spaces, or hidden characters.
  7. Save the layout and try again.