I know in the UK you have to register with
http://www.e-centre.org.uk. Once registered you enter your product details and you get your own barcode number which goes into the database. Give the numbers to your printer and they will generate the correct barcode for you.