The product barcodes will be generated based on what you have in the "Barcodes" field on your Variants in the Shopify admin.
If you haven't set them up yet, you can do it directly from your products information, as illustrated in the screenshot below:
Note: The barcodes won't show up until after 4 hours after configured. The app imports all barcodes on a 4 hour cycle, so they'll show up automatically as soon as the app has detected them.
Once you have them all set up, you can include barcodes in your templates by doing the following:
Login to OrderlyPrint (Shopify admin -> Apps)
Go the Settings -> Document design page
Go into the Options and formats section of the editor
Scroll all the way to the bottom to the "BARCODES" section, and enable the check-mark for the barcode options you want.
Note: The template cannot control what happens when you scan that barcode, as it's essentially just a way to "read/type" the barcode text quickly. Any actions you want to happen when you scan the barcode would depend on where you are scanning the barcode into.