EAN-13 for retail
The 13-digit EAN appears on almost every product in the supermarket. The first digits point to the country of the issuing agency, not the product's country of origin. If you sell through retailers, you get your numbers from GS1 and just generate the barcode here.
Code 128 for your own numbers
No registration is needed for warehouse locations, inventory numbers, membership cards or serial numbers. Code 128 handles letters, digits and symbols while staying compact. Any standard scanner reads it.
Printing it legibly
Black bars on a white background scan most reliably. Keep a light margin on both sides of the code, the quiet zone. Choose "Actual size" in the print dialog so the code isn't scaled down. A quick test scan with your phone before the big print run saves trouble.
Labels on a sheet
The PDF is set up for A4 label sheets with 24 fields of 70 × 37 mm, three across and eight down. This size is available without a border from many manufacturers. Several codes fill the fields in order, and more than 24 codes create extra pages.