The best way to generate barcodes will probably look a little different depending on your workflow. After doing a little investigation it looks like there are a few free APIs that offers free barcode generation that could be used with the Scripting App.
If you’d like to use a formula field instead—here is a Community post for how one user went around u....
Let me know if I can help provide any more information, and if this helped answer your question please mark it as the solution :white_check_mark: .
EDIT: Oh geeze I just saw your comment at the end of this thread, you were way ahead of me! :joy: