Reputation: 746
I have code like this
<div class='testbarcode' style="width:22%"></div>
<script>
$('.testbarcode').barcode('1234567', "code128");
</script>
When I set style it's break line, so how i can set width this barcode smaller than it ?
Upvotes: 0
Views: 2601
Reputation: 746
By this case, I answer my own for share to someone if meet problem as me
1 -> barWidth: 1,
2 -> barHeight: 50,
3 -> moduleSize: 5,
4 -> showHRI: true,
5 -> addQuietZone: true,
6 -> marginHRI: 5,
7 -> bgColor: "#FFFFFF",
8 -> color: "#000000",
9 ->fontSize: 10
Reference there
Upvotes: 1