You are here: Writing Barcodes « PHP Programming Language « IT news, forums, messages
Writing Barcodes

Posted by KDawg44 on 05/01/07 21:09

Hi,

I am trying to write a page that creates some barcodes using the PEAR
Image_Barcode module. I am getting one barcode to write just fine
but it will not print out any more than one and will not print any
text on the page.

What I would like is to pass in the information to be barcoded, and a
category for each barcode, then have a page displayed that groups the
barcodes by category.

Category A
Product 1a barcode
product 2a barcode
..
..
product N barcode

Category B
Product 1b barcode
product 2b barcode

etc...

How do I get it so I can write HTML to the same page as my barcode? I
am writing something very simple to play with this to start and only
one barcode is printing.

<?php
require("Image/Barcode.php");

$bc = new Image_Barcode;

$bc->draw("BE1029", "Code39", "png");
$bc->draw("BE1020", "Code39", "png");
echo "hello"
?>

ultimately, I would like something like

<table>
<tr><td>Category A</td><td>Category B</td><td>Category C</td></tr>
<tr><td>Product Barcode1a</td><td>Product Barcode 1b</td><td>Product
Barcode 1c</td></tr>
etc....

(obviously the code would contain php code for processing and looping,
i am just trying to give an idea of my goal)


Thanks very much for your help.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация