i want to print a barcode on pos receipt with order ID as the barcode number. Point of sale receipt was found on addons/point_of_sale/static/src/xml/pos.xml. How do i easily add a barcode at the end of the receipt?
You can use jquery.barcode.js file.
And in xml, you can do like this in bottom of receipt where you want to print barcode.
<table id="barcode_table" style="width:100%">
and from JS, you have to generate dynamic body part.
and following code will print barcode,
Happy to help you if you do not understand.
Acespritech Solutions Pvt. Ltd.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 1/3/14, 5:40 AM|
|Seen: 2752 times|
|Last updated: 9/4/15, 2:14 AM|