What Does [Barcode type not match content] Mean?
Route: FAQ - [ What Does [Barcode type not match content] Mean? ]If DoingLabel prompts [Barcode type not match content], it indicates that the input text content cannot be used to generate a barcode with the specified type.
For example, each of the types listed in the diagram below has distinct generation rules.

Possible Causes
1. The input content does not comply with the type’s requirements
Different types have strict rules for acceptable content.
- For instance: The Code128 type only supports characters within the ASCII encoding range. If you input Chinese characters (which are outside this range), the barcode cannot be generated.
- Another example: The EAN-13 type requires exactly 13 standard digits, and the 13th digit has a mathematical relationship with the first 12 digits. Any deviation from this will result in a generation error.
DoingLabel has observed that most [Barcode type not match content] errors occur when users select Code128 but include Chinese characters, full-width symbols, or other non-compliant characters in the barcode text.
For specific encoding ranges, you can refer to the character set specifications of common barcode types.
2. The barcode text contains hidden characters
During the copying process of barcode text, invisible hidden characters may be accidentally inserted. For example, copying from a Word document might add a line break at the end of the text.
These hidden characters are not within the allowed range and will prevent barcode generation.
DoingLabel has implemented a feature to replace such hidden characters with "▯" as much as possible, making it easier for users to edit and delete them.
Additional Note DoingLabel enables the auto-filter special characters function by default, which automatically removes non-compliant characters (as shown in the diagram below). If you are unsure about the settings, DoingLabel recommends keeping this function enabled.

If you encounter the [Barcode type not match content] error and it is not caused by the above reasons, please provide feedback to DoingLabel.
- Kindly refrain from reposting this article unless you have obtained permission.
- This is a translated article. Should you find any translation mistakes or content errors, please refer to the Original Article (Chinese), which takes precedence.
- Due to ongoing version iterations, the feature details and interface screenshots included in this article may not be updated in a timely manner, leading to potential discrepancies between the article content and the actual product. For the most accurate information, please refer to the features of the latest version.