Bug 28106 - Problem with EAN13 type barcodes
Summary: Problem with EAN13 type barcodes
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Label/patron card printing (show other bugs)
Version: 20.11
Hardware: PC Linux
: P1 - high minor (vote)
Assignee: Chris Nighswonger
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-07 10:03 UTC by braun.kamilla
Modified: 2022-06-06 20:24 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description braun.kamilla 2021-04-07 10:03:05 UTC
The barcode search (accessed from kaha main page --> extended search) ist nont working. Error: nothing found in the database
Comment 1 braun.kamilla 2021-04-07 10:04:35 UTC
The barcode search option (accessed from the Koha main page --> extended search) is not working.
Error: nothing found in the database
Comment 2 Katrin Fischer 2021-04-07 10:27:28 UTC
Hi Kamilla,
there is no extended search - do you mean the item search or the advanced search? It works for me on both forms with a full barcode.
If you copied the barcode from another page, make sure you remove the whitespace before and after, especially for item search. Could this be issue?

Otherwise: Is your Koha set up for using Zebra or with Elasticsearch?
Comment 3 braun.kamilla 2021-04-07 14:06:52 UTC
I'm searching via advanced search (sorry for that as I'm using the german translation start/erweiterte suche). In the browser address line appears: http://bibliothek.speedport.ip/cgi-bin/koha/opac-search.pl

Barcode can be put in via keyboard or USB-Barcodereader from a koha-made barcode-label-printout (Etikettendruck). It is definitely without any whitespace. And I also tested with or without leading zeros. (EAN13-code) The problem stays the same. "nothing found in database"

How can I check whether it is set up with Zebra or Elasticsearch? I have a basic installation on a Raspberry-Pi under Debian.
Comment 4 braun.kamilla 2021-04-07 14:08:54 UTC
Just found: SearchEngine=Zebra
Comment 5 braun.kamilla 2021-04-08 14:10:24 UTC
In the meanwhile I found the origin of the problem.

The EAN13-barcodes produced and printed by Koha, are wrong! My professional USB-barcodereader (type Manhattan 177665) is reading only 12 instead of 13 digits! On some reason the first digit is missing. This is reproducable. I've checked it many times also with a plain text-document where the numbers are typed in as if they are coming from a keyboard.

Standard ISBN-barcodes on book-labels are read correctly.

This my also relates to my last reported error, also dealing with USB-barcode-readers.
Comment 6 Katrin Fischer 2021-04-18 08:43:07 UTC
(In reply to braun.kamilla from comment #5)
> In the meanwhile I found the origin of the problem.
> 
> The EAN13-barcodes produced and printed by Koha, are wrong! My professional
> USB-barcodereader (type Manhattan 177665) is reading only 12 instead of 13
> digits! On some reason the first digit is missing. This is reproducable.
> I've checked it many times also with a plain text-document where the numbers
> are typed in as if they are coming from a keyboard.
> 
> Standard ISBN-barcodes on book-labels are read correctly.
> 
> This my also relates to my last reported error, also dealing with
> USB-barcode-readers.

Hi Kamilla,

I think at this point this would be better discussed on the mailing list to figure out if this is a configuration issue or a bug and to make use of the experience of many more Koha users. 

I could imagine various things going wrong:

- Could the barcode labels be cut off on the left on the printout?
- Do other barcode types print correctly?
- Could it be that the check digit (Prüfziffer) is not read? Some scanners can be programmed with different settings for reading barcodes, including different handling of the check digit.
- Are you using AutoBarcode with the EAN13 options to generate the numbers in the first place? Or reading them from the books?

Include as much information as you can, like your exact Koha version and which config settings were used for generating barcodes and the labels. Maybe also some sample numbers?