Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

swapnilmanew's avatar

printed labeled barcode is not working on client side

I have used a javascript barcode generator library to generate barcodes. (Library Link )

Barcodes are being printed very well and when I scan it worked perfectly. but on the client's computer. Barcodes are not getting scanned and opening the developer's tool

Client's Barcode Scanner = fingers 2d quickscan w5

What can be causing this ? Can we handle this programmatically?

Barcode Code

HTML CODE

 <svg id="barcode"></svg>

*javascript code

  <script>
        JsBarcode("#barcode", {{$barcode->barcode}}, {
  width: 1,
  height: 40,
});
    </script>
0 likes
10 replies
Tray2's avatar

Not sure what you are meaning, but there are different kinds of barcode encodings, (Code-39, Code-128, Code-11, and a shitload of other encodings), and depending on the scanner used by the client, it might not support the one you chosen to encode you barcode with.

You can analyse the generated barcode here https://online-barcode-reader.inliteresearch.com/

And you can create barcodes here https://barcode.tec-it.com/en

1 like
swapnilmanew's avatar

@Tray2 I want to say sir that the barcode works on my side and not working on the client side.

Tray2's avatar

@swapnilmanew That is why you need to know what kind of barcode encoding you have used and if that is supported by the client's scanner.

1 like
swapnilmanew's avatar

How can I check which barcode encoding supports the client's barcode?

Snapey's avatar

is the barcode unscanable, or the right thing does not happen when it is scanned ?

What is in the barcode and what should it do?

swapnilmanew's avatar

@snapey Actually sir, barcodes are getting scanned and giving outputs on our side. but the client they're neither getting scan nor giving outputs.

Tray2's avatar

@swapnilmanew ask the client to take a screenshot of the generated barcode and then upload it to

https://online-barcode-reader.inliteresearch.com/

And it will tell you what code is used and what the data is.

My guess is that it either doesn't support the code used or that it is misconfigured.

I can't find any Honeywell HH44 so I guess you mean a HH4400.

https://support.honeywellaidc.com/servlet/fileField?entityId=ka02K000000Lm63QAC&field=File_1__Body__s

Please or to participate in this conversation.