Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of GuinuX  >  PDF Barcode128 generation  >  example.php  >  Download  
File: example.php
Role: ???
Content type: text/plain
Description: Example file
Class: PDF Barcode128 generation
A Barcode128 generator
Author: By
Last change:
Date: 12 years ago
Size: 300 bytes
 

Contents

Class file image Download
<?php
require_once('pdfbarcode128.inc');

	$pdf = new fpdf();
	$code = new pdfbarcode128('FR5975', 6 );
	$pdf->Open();
	$pdf->AddPage();
	$code->set_pdf_document($pdf);
	$width = $code->get_width();
	$code->draw_barcode(10, 2, 15, true );
	$pdf->Output();
	unset($code);
	unset($pdf);
?>