How to print barcode label

Thank you @fkardame

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/JsBarcode.all.min.js"></script>

Can you please help, if I need to download JsBarcode.all.min.js and place it locally, for example if I placed it under the custom application of the following path:
home/frappe/frappe/apps/collection/collection/public/js/JsBarcode.all.min.js so how it will be the link to be used for src?

Anyway, this is for printing and thank you @fkardame

But have you tried to use the barcode field type which is existed in erpnext?
I hope that @JoEz or @pratu16x7 can help in advising how to set the value field of the barcode field because they are the owner andn contributor for this field type from this topic:

Regards
Bilal

1 Like