Click here to Skip to main content
15,888,239 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I am using Code 128 but its reading only 12 characters but i need it should read 14 characters and if i am using 14 characters its size is increase and barcode do not scan.

Please advise...

What I have tried:

Hi,
I am using Code 128 but its reading only 12 characters but i need it should read 14 characters and if i am using 14 characters its size is increase and barcode do not scan.

Please advise...
Posted
Updated 10-Jun-18 23:31pm
Comments
Mohibur Rashid 11-Jun-18 2:03am    
sample?

This isn't a question we can answer without being able to see your code - both Bar and source - and knowing exactly what you are trying to encode.
Code128 is a variable length code, which can contain a huge amount of information in a mixture of three code sets: so it's a complicated beastie, especially compared to simpler codes such as ITF14.

I'd start by finding a "working" Code128 barcode of the right length and reading it's data, then using your code to encode that into a "new" barcode. Are they the same? Are the quiet zones valid at both ends of the new code?

You need to read up on them - Code 128 - Wikipedia[^] is a start, but you will probably need to learn a lot more to diagnose this problem!
 
Share this answer
 
In a short: the size of barcode (image) depends on scan mode, scan settings. When OCR software is used to scan text, it normally uses 300dpi, but when the portion of small text is scanned, it needs 400dpi and more.

For further details, please see: Recommended Scan Settings for the Best OCR Accuracy - Dynamsoft Document Imaging Blog[^]
Optimal scanning settings for OCR[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900