This might help? It’s a bit old – I originally did this stuff in Notes 4.x – but the principles and code snippets are the same. One of the templates I use in the export / mailmerge code is a labels one:
We have a product called “SWING InOffice” that you can try. It creates mailing labels using MS Word templates and Notes data. The transfer of data is done through predefined templates that you will set up with the help of the product. InOffice does not require any programming nor modifications to your existing Notes databases.
Besides the NAB, our product can work with any Notes database.