I think you can sell them by typing /item info while holding the book. That code at the end is what you should put on your sign.