i want to generate barcode for each bill.

any one can help me.

barcode will be alphanumeric(dynamic).

Recommended Answers

All 5 Replies

download php-tcpdf libraries, it has feature to build barbodes with pdf report.

You can find a random generator function that uses both letters and numbers and the length of the final string.If you still struggling just post.

Hi Vibhadevit

Thanks for your link.

Hi Friends

Thanks for your support

I have solved my Barcode generation script with help of the below code

<img src="barcode.php?codetype=Code39&size=50&text=<?php echo $var;?>" alt="<?php echo $var;?>" />
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.