I have a school project in which i am creating a barcode scanning system. I now want to add the ability to create and print a barcode. As far as i can see there is three ways of going about it, firstly creating an individual image of the numbers 0 - 9 and it is assembled depending upon the barcode numbers. And seconding using a barcode font (Self explanatory). And finally hard coding widths of lines etc to create the barcode/ image.
Am i right with any of them and which would seem possible? As its a school related project i don't require any code being produced just need to check / get advice on how i should approach this problem.
Thanks in advance :)