# Pibarcode implementation

**URL:** <https://www.dolibarr.org/forum/t/pibarcode-implementation/11698>\
**Category:** Using my Dolibarr\
**Created:** [January 27, 2015, 11:33am UTC](https://www.dolibarr.org/forum/t/pibarcode-implementation/11698 "2015-01-27T11:33:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gianjj](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/gianjj/32/362_2.png) [@gianjj](https://www.dolibarr.org/forum/u/gianjj)\
**Post date:** [January 27, 2015, 11:33am UTC](https://www.dolibarr.org/forum/t/pibarcode-implementation/11698/1 "2015-01-27T11:33:06Z")

</div>

Hi there…  
I have installed this helpful module for generate personalized barcode, but …I want insert more information like Name product (label) and price of product…

in substance I need to print label of my products, I ask to this forum, in particular to Eldy, if is possible do it?

many thanks to help me

---

<div class="post-metadata">

**Author:** ![gianjj](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/gianjj/32/362_2.png) [@gianjj](https://www.dolibarr.org/forum/u/gianjj)\
**Post date:** [January 27, 2015, 10:39pm UTC](https://www.dolibarr.org/forum/t/pibarcode-implementation/11698/2 "2015-01-27T22:39:11Z")

</div>

I found where insert some text, at this file  
“C:\inetpub\wwwroot\Dolibarr\pibarcode\includes\barcode\pi\_barcode”  
after code line 938 just insert this code

`
imagestring($this->IH, 1, 0, $this->HEIGHT -15, "blabla", $color[2]); `  
when barcode will generate I have “blabla” text  
:sunglasses:

now the problems are:  
–\> how to pass “label” information from product …and  
–\> setup the height of bar code, not the image, but the black line

any one have some helps? :woohoo:

In attached some examples

![esempio1.png](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/1X/e36bc254d0a11a4c12856c7d19038c4f23942204.png)

![esempio2.png](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/1X/dfbfcf2994d0a8de1f72113b11fadf2b13020337.png)

![esempio3.png](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/1X/5f08d708c9ca6b923244638840b5bb4c578497ac.png)
