Bar Code Labels

Hello everyone.

I need to print a range of bar code labels for stock locations. An example would be “W-00001” to “W-00050”

Ax system already has the correct fonts installed.

My thinking on how to do this would be to have a checkbox to specify a single location or a range. there the user would enter the data.

Then click a button where the labels are sent to a report then the printed.

Can anyone offer suggestions or assistance with sample code or xpo.