Barcode Generator for PHP
Barcode Generator for ASP.NET
Barcode Generator for C#.NET / VB.NET
Aztec Barcode - Demonstration


* For this demo, no more than 200 characters
Rune #
Aztec Barcode
Configurations

* For the demo you can only set 1 to 4

















Code Result
<?php
require('BCGColor.php');
require('BCGDrawing.php');
require('BCGaztec.barcode2d.php');

$colorfg = new BCGColor(0, 0, 0);
$colorbg = new BCGColor(255, 255, 255);

// Aztec Part
$code = new BCGaztec();
$code->setScale(4);
$code->setErrorLevel(23);
$code->setSize(BCGaztec::AZTEC_SIZE_SMALLEST);
$code->setColor($colorfg, $colorbg);
$code->setTilde(true);
$code->parse('Code 2D!');

// Drawing Part
$drawing = new BCGDrawing('', $colorbg);
$drawing->setBarcode($code);
$drawing->draw();

header('Content-Type: image/png');

$drawing->finish(BCGDrawing::IMG_FORMAT_PNG);
?>
Select Language: Français