Pthakar,
I'm making a lot of assumptions in this reply, so if they are incorrect, just try to apply the suggestions to your situation:
1. Don't try to build intelligence into the barcode.
2. Since this if for library books, you'll probably want to print the bar-codes on-demand from Access.
3. Purchase bar code fonts for your version of access from a vendor - you may can find them for free somewhere, but I bought the ones I used on the first app that I had to print the bar tags from Access.
4. Research a printer that will print the type of tags that you need. There are several good small bar code label makers on the internet. You can set up the app to allow you to enter the information for a book:
i.e. Author, title, year published, dewey decimal system number, etc and then print a bar code. Unless you want the dewey number to be the bar code - I'd probably just let the system generate a number for me. But in your case, the dewey number may be the way to go.
5. Design a report in access that is the correct size and try to print it. If it doesn't work at first, keep at it - you may have to fiddle with the page size settings, columns, etc. to make it work.
It shouldn't take too long to research, order, and integrate this. You basically just have to make a decision to move forward and move forward with the confidence in yourself to make it work. The integration of the report may take a day or two. I had to work pretty hard at finding a font that would print from access in under 5 seconds. I think the Swiss Mono font is the one that I ended up using.
hope all these suggestions help. There's just no way to give specifics on something like this.