2D矩阵条形码在cakephp中的tcpdf供应商中为动态字符串生成错误的条形码
I need to generate 2D Matrix Barcode using TCPDF vendor in cakephp. But write2DBarcode generate wrong barcode.
I have generate string dynamically for it, and passing it to write2DBarcode function. my string is
A|3720001373|372aaaadS0|CC|826|B33 8TH|001|001||Chetan|Panchal||Abu Dhabi||Ballingarry|123456|20130508170546-863|229894|4000|
|
string have 304 fix characters, so i have add spaces and last character '|' after '229894|4000|' for complete 304 characters as per the requirement. TCPDF generate matrix code but when i decode that Matrix code using Barcode Reader, its display only below string without spaces and last '|'
A|3720001373|372aaaadS0|CC|826|B33 8TH|001|001||Chetan|Panchal||Abu Dhabi||Ballingarry|123456|20130508170546-863|229894|4000|
If i pass string static then its generate perfect barcode. can anyone suggest me what is the issue with Barcode generator? or issue with my string?
我需要在cakephp中使用TCPDF供应商生成2D Matrix条形码。 但 write2DBarcode strong>会生成错误的条形码。 p>
我已为其动态生成字符串,并将其传递给write2DBarcode函数。 我的字符串是 p>
A | 3720001373 | 372aaaadS0 | CC | 826 | B33 8TH | 001 | 001 || Chetan | Panchal || Abu
Dhabi || Ballingarry | 123456 | 20130508170546-863 | 229894 | 4000 | 字符串有304个固定字符,所以我添加空格和最后一个字符'|' 在'229894 | 4000 |'之后 根据要求提供完整的304个字符。 TCPDF生成矩阵代码,但是当我使用条形码阅读器解码矩阵代码时,它只显示在没有空格的字符串下面并且最后“|” p>
A | 3720001373 | 372aaaadS0 | CC | 826 | B33 8TH | 001 | 001 || Chetan | Panchal || Abu
Dhabi || Ballingarry | 123456 | 20130508170546-863 | 229894 | 4000 | p>
blockquote>
如果我传递字符串静态,那么它会生成完美的条形码。 任何人都可以建议我条形码生成器的问题是什么? 或者问我的字符串? p>
div>
| p>
blockquote>
Sometimes some barcode reader not working proper. you have to use another barcode reader for that. write2DBarcode generate always perfect barcode. try another barcode reader.