I recommended kbarcode.
kbarcode uses a mySQL DB, so in theory it should be possible to do this
with a script. But you're the 1st to have this idea, so the script does
not exist :-)
I apologize for the delayed response... I was out of town all week. :-)
Might I ask how you are using KBarcode? Do you have some kind of template
setup? Is there any chance I could have a copy?
I will have to play with the db at some point, but for now...
In fact, I use kbarcode 100% independantly from Koha, so I use a
"standard" kbarcode.