Rumah  >  Artikel  >  pembangunan bahagian belakang  >  php实现在线生成条形码示例分享(条形码生成器)_php实例

php实现在线生成条形码示例分享(条形码生成器)_php实例

WBOY
WBOYasal
2016-05-17 08:51:491740semak imbas
php实现在线生成条形码示例分享(条形码生成器)_php实例

复制代码 代码如下:

                 define('IN_CB',true);
include('header.php');

$keys = array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','-','.',' ','$','/','+','%');

$n = $table->numRows();
$table->insertRows($n, 3);
$table->addRowAttribute($n,'class','table_title');
$table->addCellAttribute($n,0,'align','center');
$table->addCellAttribute($n,0,'colspan','2');
$table->setText($n,0,'Specifics Configs');
$table->setText($n+1,0,'Keys');
$text2display = '';
$c = count($keys);
for($i=0;$i    $text2display .= ' ';
$table->setText($n+1,1,$text2display);
$table->setText($n+2,0,'Explanation');
$table->setText($n+2,1,'
  • Known also as USS Code 93.
  • Code 93 was designed to provide a higher density and data security enhancement to Code39.
  • Used primarily by Canadian postal office to encode supplementary delivery information.
  • Similar to Code 39, Code 93 has the same 43 characters plus 5 special ones.
  • This symbology composed of 2 check digits ("C" and "K").
');
$table->draw();

echo '';

include('footer.php');
?>
Kenyataan:
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn