PHP Classes

HTML Bar Codes: Display bar codes using only HTML with CSS

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 2,409 All time: 1,617 This week: 455Up
Version Licenses PHP version Categories
htmlbarcodes 1Freely Distributable5HTML, PHP 5, Graphics


This package can be used to display bar codes using only HTML with CSS styles.

It takes a code to represent and generates CSS style definitions and HTML tags to render that code in an HTML page.

There are two classes that can render bar codes using the Code39 and Interleave 2 of 5 standards respectively.

Innovation Award
PHP Programming Innovation award nominee
January 2007
Number 4

Prize: One book of choice by O'Reilly
Bar codes are very important for applications that need to generate documents with bar codes to identify products or other items that may be scanned with bar code readers.

Traditional solutions generate bar codes as graphic images. However, document pages with bar code images may not be appear correctly when they are printed, due to graphic rescaling distortions.

This class provides an alternative solution that uses only plain HTML and CSS, and so it may achieve better results, as the generated HTML uses accurate dimensions of the code bars.

Manuel Lemos
Picture of Mark W Ryan
Name: Mark W Ryan is available for providing paid consulting. Contact Mark W Ryan .
Classes: 1 package by
Country: United States United States
Age: 66
All time rank: 1286188 in United States United States
Week rank: 298 Up37 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file BaseBarcode_class.php Class Base Barcode class
Plain text file C39Barcode_class.php Class Code 39 Barcode class
Plain text file I25Barcode_class.php Class Interleave 2 of 5 Barcode class
Accessible without login Plain text file readme.txt Example Read Me

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,617
This week:455Up
User Ratings User Comments (3)
 All time